提交所有文件
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Collections;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.UI.HtmlControls;
|
||||
using GThinking.N_MODEL.Page;
|
||||
using GThinking.N_MISPRO.Utility;
|
||||
using GThinking.N_MISPRO.Data;
|
||||
using GThinking.N_MODEL.Dialog;
|
||||
|
||||
namespace GThinking.N_XLXSBJ
|
||||
{
|
||||
public partial class TBYS_ZDFXQuery : SingleQueryBase
|
||||
{
|
||||
TBYS_ZDFX_M queryentity = new TBYS_ZDFX_M();
|
||||
private string sBZSPDH = "";
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
this.UMID = 100860168;
|
||||
this.UMName = "投标预审";
|
||||
this.CurMaster = Master;
|
||||
this.CurQueryEntity = queryentity;
|
||||
this.CurQueryTable = QueryTalbe;
|
||||
|
||||
if (!IsPostBack)
|
||||
{
|
||||
InitControls();
|
||||
}
|
||||
base.InitPage();
|
||||
HiddenField querycontrol = (HiddenField)this.CurMaster.FindControl("DefaultCondition");
|
||||
string querycondition = querycontrol.Value.ToString();
|
||||
if (querycondition != "")
|
||||
{
|
||||
queryentity.UnSerializeCondition(querycondition);
|
||||
}
|
||||
|
||||
if (!IsPostBack)
|
||||
{
|
||||
txtBZSPDH.Text = queryentity.FieldByName("BZSPDH").Value;
|
||||
sBZSPDH = txtBZSPDH.Text;
|
||||
}
|
||||
cbxZDLX.SelectedValue = "2,3";
|
||||
CurQueryEntity.FieldByName("ZDLX").Value = "2,3";
|
||||
}
|
||||
protected override bool QueryLogicValid()
|
||||
{
|
||||
if (txtBZSPDH.Text.Trim().Equals(""))
|
||||
{
|
||||
ShowMessage("审批单号(被撞)不允许为空!");
|
||||
return false;
|
||||
}
|
||||
return base.QueryLogicValid();
|
||||
}
|
||||
protected override void SetControlState()
|
||||
{
|
||||
base.SetControlState();
|
||||
if (!sBZSPDH.Trim().Equals(""))
|
||||
{
|
||||
txtBZSPDH.Text = sBZSPDH;
|
||||
}
|
||||
}
|
||||
private void InitControls()
|
||||
{
|
||||
WorkFlowUtils.SetCheckedDropDownList_WFPROC("XSBJ_TBYS", cbxWFState);
|
||||
|
||||
cbxZDLX.ClearItems();
|
||||
cbxZDLX.Items.Add(new ListItem("客户名称重复", "2"));
|
||||
cbxZDLX.Items.Add(new ListItem("项目名称重复", "3"));
|
||||
cbxZDLX.ShowValue = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user