69 lines
1.7 KiB
C#
69 lines
1.7 KiB
C#
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.TableCache;
|
|
|
|
namespace GThinking.U20261363_N_XLXSBJ
|
|
{
|
|
public class XLBJD_CLCB_M : TBaseNamedQuery
|
|
{
|
|
public XLBJD_CLCB_M()
|
|
{
|
|
AddFieldDefs("XSFBJYY", "显示负表价原因");
|
|
AddFieldDefs("ZSBJZC", "展示表价组成");
|
|
AddFieldDefs("ZSJJZC", "展示基价组成");
|
|
AddFieldDefs("ISJGE", "是否是JGE价格表");
|
|
AddFieldDefs("XSCLCB", "显示材料成本");
|
|
AddFieldDefs("GYBZ", "显示工艺备注");
|
|
}
|
|
}
|
|
public partial class XLBJD_CLCBQuery : SingleQueryBase
|
|
{
|
|
XLBJD_CLCB_M queryentity = new XLBJD_CLCB_M();
|
|
|
|
#region Page_Load
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
this.UMID = 100860174;
|
|
this.UMName = "线缆销售报价单表价 ";
|
|
this.CurMaster = Master;
|
|
this.CurQueryTable = QueryTalbe;
|
|
this.CurQueryEntity = queryentity;
|
|
|
|
|
|
base.InitPage();
|
|
|
|
if (!IsPostBack)
|
|
{
|
|
InitControl();
|
|
}
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region 私有函数
|
|
|
|
private void InitControl()
|
|
{
|
|
if (txtJGBLX.Text.Trim().Equals("N"))
|
|
{
|
|
lblZSJJZC.Visible = false;
|
|
chkZSJJZC.Visible = false;
|
|
}
|
|
if (!DSActiveModule.IsActiveModule(102109001))
|
|
{
|
|
tbrXSGYBZ.Visible = false;
|
|
}
|
|
}
|
|
#endregion
|
|
}
|
|
}
|