//清除条件 private void clearCondition() { DropDownListFatherLogic.ClearSelection(); DropDownListFatherLogic.Items[0].Selected = true; DropDownListwarehouse.ClearSelection(); DropDownListwarehouse.Items[0].Selected = true; DropDownListposition.ClearSelection(); DropDownListposition.Items[0].Selected = true; TextBoxattribute.Text = string.Empty; TextBoxcgmode.Text = string.Empty; TextBoxconfirmtime.Text = string.Empty; TextBoxeng.Text = string.Empty; TextBoxgb.Text = string.Empty; TextBoxmarterialid.Text = string.Empty; TextBoxmarterialname.Text = string.Empty; TextBoxnum.Text = string.Empty; TextBoxpmode.Text = string.Empty; TextBoxprj.Text = string.Empty; TextBoxptc.Text = string.Empty; TextBoxstandard.Text = string.Empty; TextBoxtaskid.Text = string.Empty; }
//清除条件 private void clearCondition() { //审核状态 DropDownListState.ClearSelection(); DropDownListState.Items[0].Selected = true; DropDownListFatherLogic.ClearSelection(); DropDownListFatherLogic.Items[0].Selected = true; DropDownListColour.ClearSelection(); DropDownListColour.Items[0].Selected = true; //入库单编号 TextBoxCodeWG.Text = string.Empty; TextBoxMCodeWG.Text = string.Empty; TextBoxMNameWG.Text = string.Empty; TextBoxMStandardWG.Text = string.Empty; TextBoxDateWG.Text = string.Empty; TextBoxZDR.Text = string.Empty; TextBoxCAIZHI.Text = string.Empty; TextBoxSum.Text = string.Empty; TextBoxSHnum.Text = string.Empty; TextBoxUprice.Text = string.Empty; drp_xposition.SelectedIndex = 0; drp_Warhouse.SelectedIndex = 0; TextBoxVerifier.Text = string.Empty; TextBoxPTC.Text = string.Empty; TextBoxNote.Text = string.Empty; TextBoxStartDate.Text = string.Empty; TextBoxEndDate.Text = string.Empty; TextBoxLotNum.Text = string.Empty; }
//清除条件 private void clearCondition() { //领料单编号 TextBoxOrderCode.Text = string.Empty; //加工单位 TextBoxSupplier.Text = string.Empty; TextBoxClerk.Text = string.Empty; TextBoxDate.Text = string.Empty; TextBoxCode.Text = string.Empty; TextBoxName.Text = string.Empty; TextBoxStandard.Text = string.Empty; TextBoxPTC.Text = string.Empty; TextBoxAnum.Text = string.Empty; TextBoxBSHNUM.Text = string.Empty; TextBoxcaizhi.Text = string.Empty; TextBoxJhuo.Text = string.Empty; TextBoxPlanTyple.Text = string.Empty; TextBoxDep.Text = string.Empty; TextBoxDnum.Text = string.Empty; TextBoxgb.Text = string.Empty; DropDownListOrderState.ClearSelection(); DropDownListOrderState.Items[1].Selected = true; DropDownListPushState.ClearSelection(); DropDownListPushState.Items[1].Selected = true; DropDownListFatherLogic.ClearSelection(); DropDownListFatherLogic.Items[0].Selected = true; DropDownListQCResult.ClearSelection(); DropDownListQCResult.Items[0].Selected = true; }
//清除条件 private void clearCondition() { //审核状态 DropDownListState.ClearSelection(); DropDownListState.Items[0].Selected = true; //超额数量 DropDownListcesl.ClearSelection(); DropDownListcesl.Items[0].Selected = true; //红蓝字 DropDownListColour.ClearSelection(); DropDownListColour.Items[0].Selected = true; DropDownListGJ.ClearSelection(); DropDownListGJ.Items[0].Selected = true; DropDownListHX.ClearSelection(); DropDownListHX.Items[0].Selected = true; DropDownListFatherLogic.ClearSelection(); DropDownListFatherLogic.Items[0].Selected = true; //入库单编号 TextBoxCodeWG.Text = string.Empty; //供应商 TextBoxSupplierWG.Text = string.Empty; TextBoxDateWG.Text = string.Empty; TextBoxStartDate.Text = string.Empty; // TextBoxMCodeWG.Text = string.Empty; TextBoxMNameWG.Text = string.Empty; TextBoxMStandardWG.Text = string.Empty; TextBoxCZ.Text = string.Empty; TextBoxTH.Text = string.Empty; TextBoxMPTCWG.Text = string.Empty; TextBoxPH.Text = string.Empty; TextBoxMType.Text = string.Empty; TextBoxZDR.Text = string.Empty; TextBoxClerkWG.Text = string.Empty; TextBoxHDBH.Text = string.Empty; CheckBoxPrint.Checked = false; }