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_WORKFLOW; using GThinking.N_PUBLIC; using GThinking.N_MODEL.Dialog; using GThinking.N_CONTROL; using System.Text; namespace GThinking.N_XLXSBJ { public partial class XLBJD_BDBJSelQuery : SingleQueryBase { XLBJD_BDBJSel_M queryentity = new XLBJD_BDBJSel_M(); protected void Page_Load(object sender, EventArgs e) { this.UMID = 100860000; this.UMName = "线缆销售报价单"; this.CurMaster = Master; this.CurQueryTable = QueryTalbe; this.CurQueryEntity = queryentity; if (!IsPostBack) { InitControl(); } base.InitPage(); } #region 私有函数 private void InitControl() { TComboBox.SetComboBox("DBERP", cbxBJFLID, string.Format("select XLXSBJFL_BJFLID,case isnull(XLXSBJFL_TYBZ,' ') when 'Y' then rtrim(XLXSBJFL_BJFLMC)||'(停用)' else XLXSBJFL_BJFLMC end as Name from XLXSBJFL order by XLXSBJFL_XSXH,XLXSBJFL_BJFLID "), true); } #endregion } }