/// <summary> /// 数据初始化(填写表名、绑定控制、初始化界面属性等) /// </summary> public override void IniData() { this.HTDataTableName = "WO_FabricWHOutForm"; this.HTDataDts = gridView1; this.HTCheckDataField = new string[] { "ItemCode" };//数据明细校验必须录入字段 ,"Qty" //Common.BindVendor2(drpVendorID, (int)EnumVendorType.客户, true); //new VendorProc(drpVendorID); Common.BindWHByItemType(drpWHID, m_WHItemTypeID, true); Common.BindCLS(restxtGoodsLevel, "WH_IOFormDts", "GoodsLevel", true); //Common.BindSubType(drpSubType, m_WHFormListAID, true); Common.BindCLS(RestxtUnit, "Data_Item", "ItemUnitYarn", true); ParamSetRule psrule = new ParamSetRule(); saveNoLoadCheckDayNum = psrule.RShowIntByCode((int)ParamSetEnum.未加载数据比对天数); this.ToolBarItemAdd(28, "btnLoadStorge", "加载库存", false, btnLoadStorge_Click); gridViewBaseRowChangedA2 += new gridViewBaseRowChangedA(gridViewRowChanged2); gridViewBindEventA2(gridView1); PreRowID = gridView1.FocusedRowHandle; CurRowID = gridView1.FocusedRowHandle; if (m_PackFlag) { groupControl2.Visible = true; ucFabView1.Visible = true; } else { groupControl2.Visible = false; ucFabView1.Visible = false; } SetIniFormStatus(); }
/// <summary> /// 数据初始化(填写表名、绑定控制、初始化界面属性等) /// </summary> public override void IniData() { this.HTDataTableName = "Buy_ItemBuyForm"; this.HTDataList = gridView1; this.HTQryContainer = groupControlQuery; txtOrderDateS.DateTime = DateTime.Now.AddMonths(-1).Date; txtOrderDateE.DateTime = DateTime.Now.Date; txtReqDateS.DateTime = DateTime.Now.AddMonths(-1).Date; txtReqDateE.DateTime = DateTime.Now.Date; if (ItemBuyStatusProc.ColorIniFlag) { //ItemBuyStatusProc.ColorIniTextBox(new TextBox[] { txtColorSOStatus1, txtColorSOStatus2, txtColorSOStatus3, txtColorSOStatus4, txtColorSOStatus5 }); ucStatusBarStand1.UCDataSource = ItemBuyStatusProc.ColorStatusDt; ucStatusBarStand1.UCAct(); } Common.BindVendor(drpVendorID, new int[] { (int)EnumVendorType.供应商 }, true); ParamSetRule psrule = new ParamSetRule(); saveNoLoadCheckDayNum = psrule.RShowIntByCode((int)ParamSetEnum.未加载数据比对天数); this.ToolBarItemAdd(32, "btnUpdateOrderStatus", "修改合同状态", true, UpdateOrderStatusToolStripMenuItem_Click, eShortcut.F9); if (ProductParamSet.GetIntValueByID(5020) == (int)YesOrNo.Yes)//组织结构体系启用 { Common.BindOPID(drpSaleOPID, "Sale_SaleOrder", "SaleOPID", true); } else { Common.BindOPID(drpSaleOPID, true); } }
/// <summary> /// 修改 /// </summary> public override void EntityUpdate() { ParamSetRule rule = new ParamSetRule(); ParamSet entity = EntityGet(); rule.RUpdate(entity); }
/// <summary> /// 数据初始化(填写表名、绑定控制、初始化界面属性等) /// </summary> public override void IniData() { this.HTDataTableName = "Buy_ItemBuyForm"; this.HTDataList = gridView1; this.HTQryContainer = groupControlQuery; txtOrderDateS.DateTime = DateTime.Now.AddMonths(-1).Date; txtOrderDateE.DateTime = DateTime.Now.Date; txtReqDateS.DateTime = DateTime.Now.AddMonths(-1).Date; txtReqDateE.DateTime = DateTime.Now.Date; txtBuyMakeDateS.DateTime = DateTime.Now.AddMonths(-3).Date; txtBuyMakeDateE.DateTime = DateTime.Now.Date; //Common.BindVendor(drpDyeFactorty, new int[] { (int)EnumVendorType.加工户 }, true); //drpDyeFactorty.Tag = (int)EnumVendorType.工厂; new VendorProc(drpDyeFactorty); Common.BindVendor(drpGridDVendorID, new int[] { (int)EnumVendorType.客户 }, true); if (ItemBuyStatusProc.ColorIniFlag) { ucStatusBarStand1.UCDataSource = ItemBuyStatusProc.ColorStatusDt; ucStatusBarStand1.UCAct(); } ParamSetRule psrule = new ParamSetRule(); saveNoLoadCheckDayNum = psrule.RShowIntByCode((int)ParamSetEnum.未加载数据比对天数); //this.ToolBarItemAdd(32, "btnUpdateOrderStatus", "修改合同状态", true, UpdateOrderStatusToolStripMenuItem_Click, eShortcut.F9); }
/// <summary> /// 数据初始化(填写表名、绑定控制、初始化界面属性等) /// </summary> public override void IniData() { this.HTDataTableName = "WO_FabricProcess"; this.HTDataList = gridView1; this.HTDataDtsAttach = new DevExpress.XtraGrid.Views.Grid.GridView[] { gridView2 }; txtMakeDateS.DateTime = DateTime.Now.AddMonths(-1).Date; txtMakeDateE.DateTime = DateTime.Now.Date; txtReqDateS.DateTime = DateTime.Now.AddMonths(-1).Date; txtReqDateE.DateTime = DateTime.Now.Date; txtBuyMakeDateS.DateTime = DateTime.Now.AddMonths(-3).Date; txtBuyMakeDateE.DateTime = DateTime.Now.Date; //Common.BindVendor(drpDyeFactorty, new int[] { (int)EnumVendorType.工厂 }, true);//放到IniRefreshData drpDyeFactorty.Tag = (int)EnumVendorType.工厂; new VendorProc(drpDyeFactorty); if (ItemBuyStatusProc.ColorIniFlag) { ItemBuyStatusProc.ColorIniTextBox(new TextBox[] { txtColorSOStatus1, txtColorSOStatus2, txtColorSOStatus3, txtColorSOStatus4, txtColorSOStatus5 }); } ParamSetRule psrule = new ParamSetRule(); saveNoLoadCheckDayNum = psrule.RShowIntByCode((int)ParamSetEnum.未加载数据比对天数); this.ToolBarItemAdd(32, "btnUpdateOrderStatus", "修改合同状态", true, UpdateOrderStatusToolStripMenuItem_Click, eShortcut.F9); }
/// <summary> /// 绑定Grid /// </summary> public override void BindGrid() { ParamSetRule rule = new ParamSetRule(); gridView1.GridControl.DataSource = rule.RShow(HTDataConditionStr, ProcessGrid.GetQueryField(gridView1)); gridView1.GridControl.Show(); }
/// <summary> /// 预警类型改变 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void drpQAlarmType_EditValueChanged(object sender, EventArgs e) { try { string sql = "SELECT WHID,WHTypeID FROM WH_WHAlarm WHERE ID=" + SysConvert.ToInt32(drpQWHAlarmID.EditValue); DataTable dt = SysUtils.Fill(sql); if (dt.Rows.Count != 0) { saveWHID = dt.Rows[0][0].ToString(); saveWHTypeID = SysConvert.ToInt32(dt.Rows[0][1]); } else { saveWHID = ""; saveWHTypeID = 0; } ParamSetRule rule = new ParamSetRule(); //saveAlarmPer = SysConvert.ToInt32(rule.RShowStrByCode((int)ParamSetEnum.安全库存预警百分比)); GetCondtion(); BindGrid(); } catch (Exception E) { this.ShowMessage(E.Message); } }
/// <summary> /// 数据初始化(填写表名、绑定控制、初始化界面属性等) /// </summary> public override void IniData() { this.HTDataTableName = "Buy_ItemBuyForm"; this.HTDataDts = gridView1; this.HTCheckDataField = new string[] { "ItemCode", "Qty" };//数据明细校验必须录入字段 //Common.BindPayMethod(drpPayMothodFlag, true); //Common.BindVendor(drpVendorID, new int[] { (int)EnumVendorType.工厂,(int)EnumVendorType.供应商 }, true); new VendorProc(drpVendorID); //Common.BindEnumUnit(restxtunit, true); //Common.BindCLS(restxtunit, "Data_Item", "ItemUnitFab", true); //Common.BindOP(drpSaleOPID, true); //Common.BindOP(drpCGOPID, true); //this.ToolBarItemAdd(28, ToolButtonName.btnLoad.ToString(), "加载", false, btnLoad_Click); this.ToolBarItemAdd(29, ToolButtonName.btnLoad.ToString(), "加载产品", false, btnDevItemLoad_Click); ParamSetRule psrule = new ParamSetRule(); saveNoLoadCheckDayNum = psrule.RShowIntByCode((int)ParamSetEnum.未加载数据比对天数); this.ToolBarItemAdd(28, ToolButtonName.btnLoad.ToString(), "加载订单", false, btnLoadSO_Click); //this.ToolBarItemAdd(28, ToolButtonName.btnLoad.ToString(), "加载订单算料", false, btnLoad_Click); if (SysConvert.ToBoolean(ProductParamSet.GetIntValueByID(5009)))//面料的坯布启用可替换坯布功能,影响到订单坯布算料、坯布采购、织造等 { gridView1.Columns["ItemCode"].ColumnEdit = drpGridItemCode; gridViewBaseRowChangedA1 += new gridViewBaseRowChangedA(gridViewRowChanged1);//绑定GridView1事件 gridViewBindEventA1(gridView1); this.gridView1.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.gridView1_CellValueChanged); } }
/// <summary> /// 新增 /// </summary> public override int EntityAdd() { ParamSetRule rule = new ParamSetRule(); ParamSet entity = EntityGet(); rule.RAdd(entity); return(entity.ID); }
/// <summary> /// 初始化 /// </summary> public static void PIni() { ParamSetRule psrule = new ParamSetRule(); //ParamConfig.WHIDRightFlag= SysConvert.ToBoolean( psrule.RShowIntByID((int)ParamSetEnum.仓库开启库别权限校验)); //ParamConfig.WHMLMDCheckQtyFlag = SysConvert.ToBoolean(psrule.RShowIntByID((int)ParamSetEnum.面料仓库单据验证码单和单据明细数量一致性)); }
/// <summary> /// 新增单据初始化控件数据(哪些值需要设置的设定一下) /// </summary> public override void IniInsertSet() { // txtFormDate.DateTime = DateTime.Now.Date; txtMakeDate.DateTime = DateTime.Now.Date; txtFormNo_DoubleClick(null, null); txtMakeOPName.Text = FParamConfig.LoginName; ParamSetRule psrule = new ParamSetRule(); txtReqDate.DateTime = DateTime.Now.Date.AddDays(psrule.RShowIntByCode((int)ParamSetEnum.采购合同交期自动延后天数)).Date; }
public void IniInsertSet() { txtMakeDate.DateTime = DateTime.Now.Date; txtFormDate.DateTime = DateTime.Now.Date; txtFormNo_DoubleClick(null, null); txtMakeOPName.Text = FParamConfig.LoginName; ParamSetRule psrule = new ParamSetRule(); txtReqDate.DateTime = DateTime.Now.Date.AddDays(psrule.RShowIntByCode((int)ParamSetEnum.采购合同交期自动延后天数)).Date; drpPayMothodFlag.EditValue = Common.GetPayMethodByProcessType((int)EnumProcessType.染整加工单); GridDtsSet(); }
private void btnSetPDDate_Click(object sender, EventArgs e) { try { ParamSetRule rule = new ParamSetRule(); rule.RUpdatePDDate(); this.ShowInfoMessage("已处理成功,查看库存数据"); } catch (Exception E) { this.ShowMessage(E.Message); } }
/// <summary> /// 数据初始化(填写表名、绑定控制、初始化界面属性等) /// </summary> public override void IniData() { this.HTDataTableName = "WH_IOForm"; this.HTDataDts = gridView1; this.HTCheckDataField = new string[] { "ItemCode" };//数据明细校验必须录入字段 ,"Qty", "SectionID" DevMethod.BindOP(drpSaleOPID, new int[] { (int)EnumOPDep.业务部, (int)EnumOPDep.仓库 }, true); Common.BindWHByFormList(drpWH, this.FormListAID, true); Common.BindCLS(restxtGoodsLevel, "WH_IOFormDts", "GoodsLevel", true); Common.BindSubType(drpSubType, this.FormListAID, true); //入库类型绑定 ParamSetRule psrule = new ParamSetRule(); Common.BindCLS(RestxtUnit, "Data_Item", "ItemUnitFab", true); gridViewBaseRowChangedA2 += new gridViewBaseRowChangedA(gridViewRowChanged2); gridViewBindEventA2(gridView1); this.ToolBarItemAdd(28, ToolButtonName.btnLoad.ToString(), "加载单据", false, btnLoad_Click); }
/// <summary> /// 数据初始化(填写表名、绑定控制、初始化界面属性等) /// </summary> public override void IniData() { this.HTDataTableName = "WH_IOForm"; this.HTDataDts = gridView1; this.HTCheckDataField = new string[] { "ItemCode", "Qty" };//数据明细校验必须录入字段 this.HTDataDtsAttach = new DevExpress.XtraGrid.Views.Grid.GridView[1] { gridView2 }; if (ProductParamSet.GetIntValueByID(5020) == (int)YesOrNo.Yes)//组织结构体系启用 { Common.BindOPID(drpSaleOPID, "Sale_SaleOrder", "SaleOPID", true); } else { Common.BindOPID(drpSaleOPID, true); } Common.BindVendor2(drpVendorID, (int)EnumVendorType.工厂, true); //new VendorProc(drpVendorID); if (this.FormListAID == 13 || this.FormListAID == 10)//10、期初 { new ItemProcResLookUP(this.BaseFocusLabel, gridView1, new string[] { "ItemCode", "ItemName", "ItemStd", "Unit" }, drpItemCode, txtItemName, new int[] { (int)EnumItemType.纱线 }, "", "ItemModel", true, true); } else if (this.FormListAID == 17) { new ItemProcResLookUP(this.BaseFocusLabel, gridView1, new string[] { "ItemCode", "ItemName", "ItemStd", "Unit" }, drpItemCode, txtItemName, new int[] { (int)EnumItemType.辅料 }, "", "ItemModel", true, true); } Common.BindCLS(cmbYarnType, "WH_IOFormDts", "YarnType", true); //纱线类型 Common.BindWHByFormList(drpWH, this.FormListAID, true); Common.BindCLS(restxtGoodsLevel, "WH_IOFormDts", "GoodsLevel", true); Common.BindSubType(drpSubType, this.FormListAID, true); //入库类型绑定 ParamSetRule psrule = new ParamSetRule(); saveNoLoadCheckDayNum = psrule.RShowIntByCode((int)ParamSetEnum.未加载数据比对天数); // Common.BindWHByFormList(drp, SysConvert.ToInt32(drpSubType.EditValue), true); Common.BindCLS(drpXZ, "WH_IOForm", "XZ", true); //Common.BindEnumUnit(RestxtUnit, true); Common.BindCLS(RestxtUnit, "Data_Item", "ItemUnitYarn", true); this.ToolBarItemAdd(28, ToolButtonName.btnLoad.ToString(), "加载单据", false, btnLoad_Click); gridViewBaseRowChangedA2 += new gridViewBaseRowChangedA(gridViewRowChanged2); gridViewBindEventA2(gridView1); PreRowID = gridView1.FocusedRowHandle; CurRowID = gridView1.FocusedRowHandle; gridView2.OptionsBehavior.ShowEditorOnMouseUp = false; }
/// <summary> /// 数据初始化(填写表名、绑定控制、初始化界面属性等) /// </summary> public override void IniData() { this.HTDataTableName = "WH_IOForm"; this.HTDataDts = gridView1; this.HTCheckDataField = new string[] { "ItemCode" };//数据明细校验必须录入字段 ,"Qty" DevMethod.BindOP(drpSaleOPID, new int[] { (int)EnumOPDep.业务部 }, true); Common.BindWHByFormList(drpWH, this.FormListAID, true); Common.BindCLS(restxtGoodsLevel, "WH_IOFormDts", "GoodsLevel", true); Common.BindSubType(drpSubType, this.FormListAID, true); Common.BindCLS(RestxtUnit, "Data_Item", "ItemUnitFab", true); ParamSetRule psrule = new ParamSetRule(); //saveNoLoadCheckDayNum = psrule.RShowIntByCode((int)ParamSetEnum.未加载数据比对天数); //this.ToolBarItemAdd(28, "btnLoadStorge", "加载库存", false, btnLoadStorge_Click); this.ToolBarItemAdd(29, ToolButtonName.btnLoad.ToString(), "加载单据", false, btnLoad_Click); //this.ToolBarItemAdd(28, "btnUpdateAmount", "修改单价", false, btnUpdateAmount_Click); gridViewBaseRowChangedA2 += new gridViewBaseRowChangedA(gridViewRowChanged2); gridViewBindEventA2(gridView1); }
/// <summary> /// 币种改变自动带出汇率和合同条款 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void drpCurrencyID_EditValueChanged(object sender, EventArgs e) { try { ParamSetRule rule = new ParamSetRule(); if (SysConvert.ToInt32(drpCurrencyID.EditValue) == (int)EnumCurrency.人民币) { //txtTerms.Text = rule.RShowStrByCode((int)ParamSetEnum.中文合同条款); } else { //txtTerms.Text = rule.RShowStrByCode((int)ParamSetEnum.英文合同条款); } } catch (Exception E) { this.ShowMessage(E.Message); } }
/// <summary> /// 数据初始化(填写表名、绑定控制、初始化界面属性等) /// </summary> public override void IniData() { this.HTDataTableName = "Att_GoodsTrans"; this.HTDataDts = gridView1; this.HTCheckDataField = new string[] { "ItemCode", "GoodsCode" };//数据明细校验必须录入字段 Common.BindVendor(drpTransComID, new int[] { (int)EnumVendorType.快递公司 }, true); new VendorProc(drpTransComID); Common.BindVendor(drpVendorID, new int[] { (int)EnumVendorType.客户, (int)EnumVendorType.工厂 }, true); new VendorProc(drpVendorID); this.ToolBarItemAdd(28, ToolButtonName.btnLoad.ToString(), "加载", false, btnLoad_Click); //Common.BindEnumUnit(txtResUnit, true); Common.BindCLS(txtResUnit, "Data_Item", "ItemUnitFab", true); ParamSetRule psrule = new ParamSetRule(); saveNoLoadCheckDayNum = psrule.RShowIntByCode((int)ParamSetEnum.未加载数据比对天数); drpVendorID_EditValueChanged(null, null); }
/// <summary> /// 数据初始化(填写表名、绑定控制、初始化界面属性等) /// </summary> public override void IniData() { this.HTDataTableName = "Buy_ItemBuyForm"; this.HTDataDts = gridView1; this.HTCheckDataField = new string[] { "ItemCode", "Qty" };//数据明细校验必须录入字段 //Common.BindPayMethod(drpPayMothodFlag, true); //Common.BindVendor(drpVendorID, new int[] { (int)EnumVendorType.工厂,(int)EnumVendorType.供应商 }, true); new VendorProc(drpVendorID); //Common.BindEnumUnit(restxtunit, true); //Common.BindCLS(restxtunit, "Data_Item", "ItemUnitAtt", true); //Common.BindOP(drpSaleOPID, true); //Common.BindOP(drpCGOPID, true); //new ItemProcResLookUP(BaseFocusLabel, gridView1, new string[4] { "ItemCode", "ItemName", "ItemStd", "Unit" }, drpItemCode, txtItemName, new int[] { (int)EnumItemType.辅料 }, "", "ItemStd", true, true); //Common.BindSOContext(drpSOContext, true); ParamSetRule psrule = new ParamSetRule(); saveNoLoadCheckDayNum = psrule.RShowIntByCode((int)ParamSetEnum.未加载数据比对天数); this.ToolBarItemAdd(28, ToolButtonName.btnLoad.ToString(), "加载订单号", false, btnLoad_Click); }
/// <summary> /// 数据初始化(填写表名、绑定控制、初始化界面属性等) /// </summary> public override void IniData() { ProcessGrid.BindGridColumn(gridView1, this.FormID); //绑定列 ProcessGrid.SetGridColumnUI(gridView1, FormListAID, FormListBID); //设置列UI this.HTDataTableName = "Buy_ItemBuyFollow"; this.HTDataDts = gridView1; this.HTCheckDataField = new string[] { "ProcStepID", "CheckItem" };//数据明细校验必须录入字段 Common.BindVendor(drpShopID, new int[] { (int)EnumVendorType.工厂 }, true); Common.BindCLS(txtPackReq, "Buy_ItemBuyFollow", "PackReq", true); new VendorProc(drpShopID); txtOrderFormNo.ToolTip = "请双击加载采购单"; Common.BindFollow(drpFollow, true); this.ToolBarItemAdd(28, ToolButtonName.btnLoad.ToString(), "加载", false, txtOrderFormNo_DoubleClick); ParamSetRule psrule = new ParamSetRule(); saveNoLoadCheckDayNum = psrule.RShowIntByCode((int)ParamSetEnum.未加载数据比对天数); }
/// <summary> /// 数据初始化(填写表名、绑定控制、初始化界面属性等) /// </summary> public override void IniData() { ProcessGrid.BindGridColumn(gridView1, this.FormID); //绑定列 ProcessGrid.SetGridColumnUI(gridView1, FormListAID, FormListBID); //设置列UI Common.BindVendor(drpQVendorID, new int[] { (int)EnumVendorType.工厂 }, true); new VendorProc(drpQVendorID); this.HTDataTableName = "Buy_ItemBuyFollow"; this.HTDataList = gridView1; this.HTDataDtsAttach = new DevExpress.XtraGrid.Views.Grid.GridView[] { gridView2 }; txtQMakeDateS.DateTime = DateTime.Now.AddMonths(-3).Date; txtQMakeDateE.DateTime = DateTime.Now; txtBuyDateS.DateTime = DateTime.Now.AddMonths(-3).Date; txtBuyDateE.DateTime = DateTime.Now.Date; txtFactFinishDateS.DateTime = DateTime.Now.AddMonths(-1).Date; txtFactFinishDateE.DateTime = DateTime.Now.Date; ParamSetRule psrule = new ParamSetRule(); saveNoLoadCheckDayNum = psrule.RShowIntByCode((int)ParamSetEnum.未加载数据比对天数); }
/// <summary> /// 数据初始化(填写表名、绑定控制、初始化界面属性等) /// </summary> public override void IniData() { this.HTDataTableName = "Buy_ItemBuyForm"; this.HTDataDts = gridView1; this.HTCheckDataField = new string[] { "ItemCode", "Qty" };//数据明细校验必须录入字段 //Common.BindPayMethod(drpPayMothodFlag, true); //Common.BindVendor(drpVendorID, new int[] { (int)EnumVendorType.工厂,(int)EnumVendorType.供应商 }, true); new VendorProc(drpVendorID); //Common.BindEnumUnit(restxtunit, true); //Common.BindCLS(restxtunit, "Data_Item", "ItemUnitFab", true); //Common.BindOP(drpSaleOPID, true); //Common.BindOP(drpCGOPID, true); //this.ToolBarItemAdd(28, ToolButtonName.btnLoad.ToString(), "加载", false, btnLoad_Click); this.ToolBarItemAdd(29, ToolButtonName.btnLoad.ToString(), "加载产品信息", false, btnDevItemLoad_Click); //this.ToolBarItemAdd(32, "btnUpdateItemBuyPay", "合同付款方式", true, btnUpdateItemBuyPay_Click, eShortcut.F9); //Common.BindSOContext(drpSOContext, true); ParamSetRule psrule = new ParamSetRule(); saveNoLoadCheckDayNum = psrule.RShowIntByCode((int)ParamSetEnum.未加载数据比对天数); this.ToolBarItemAdd(28, ToolButtonName.btnLoad.ToString(), "加载订单号", false, btnLoad_Click); }
/// <summary> /// 数据初始化(填写表名、绑定控制、初始化界面属性等) /// </summary> public override void IniData() { this.HTDataTableName = "WH_Storge"; this.HTDataList = gridView1; ParamSetRule rule = new ParamSetRule(); // iLKParamSet = SysConvert.ToInt32(rule.RShowIntByCode((int)ParamSetEnum.留库天数)); Common.BindVendor(drpQVendorID, new int[] { (int)EnumVendorType.客户, (int)EnumVendorType.工厂 }, true);//客户 Common.BindWHType(drpQWHTypeID, false); Common.BindWH(drpQWHID, true); new ItemProcLookUp(drpQItemCode, new int[] { 1 }, true, true);//(int)ItemType.纱线 DeviationStatus.ProcCondition("WH_Storge"); DeviationStatus.ColorIniTextBox(groupControlSOColor); SetTabIndex(0, groupControlQuery); }