전자실메일양식 통일 및 정리 작업
This commit is contained in:
		| @@ -98,29 +98,18 @@ namespace FEQ0000 | ||||
|             this.cmbState.ValueMember = "Value"; | ||||
|             this.cmbState.DataSource = stateList; | ||||
|  | ||||
|             ////costcenter | ||||
|             //var LstCost = FCOMMON.DBM.getCodeTable("68"); | ||||
|             //this.tbCostCenter.DisplayMember = "Value"; | ||||
|             //this.tbCostCenter.ValueMember = "Value"; | ||||
|             //this.tbCostCenter.DataSource = LstCost; | ||||
|             //전자실분류 | ||||
|             var LstCost = FCOMMON.DBM.getCodeTable("71"); | ||||
|             this.cmbDept.DisplayMember = "Value"; | ||||
|             this.cmbDept.ValueMember = "Value"; | ||||
|             this.cmbDept.DataSource = LstCost; | ||||
|  | ||||
|             ////line | ||||
|             //var LstLine = FCOMMON.DBM.getCodeTable("67"); | ||||
|             //this.tbLineCode.DisplayMember = "Value"; | ||||
|             //this.tbLineCode.ValueMember = "Value"; | ||||
|             //this.tbLineCode.DataSource = LstLine; | ||||
|             //SITE | ||||
|             var LstLine = FCOMMON.DBM.getCodeTable("23"); | ||||
|             this.cmbSite.DisplayMember = "Value"; | ||||
|             this.cmbSite.ValueMember = "Value"; | ||||
|             this.cmbSite.DataSource = LstLine; | ||||
|  | ||||
|             ////구매-담당 | ||||
|             //var LstMan = FCOMMON.DBM.getCodeTable("65"); | ||||
|             //this.tbManager.DisplayMember = "Value"; | ||||
|             //this.tbManager.ValueMember = "Value"; | ||||
|             //this.tbManager.DataSource = LstMan; | ||||
|  | ||||
|             ////구매-승인 | ||||
|             //var LstAdm = FCOMMON.DBM.getCodeTable("66"); | ||||
|             //this.tbAdmin.DisplayMember = "Value"; | ||||
|             //this.tbAdmin.ValueMember = "Value"; | ||||
|             //this.tbAdmin.DataSource = LstAdm; | ||||
|  | ||||
|             //통화 | ||||
|             var LstCur = FCOMMON.DBM.getCodeTable("69"); | ||||
| @@ -242,7 +231,7 @@ namespace FEQ0000 | ||||
|             tbSupplyIndex.Text = dr.supplyidx.ToString(); | ||||
|  | ||||
|             cmbState.Text = dr.state; | ||||
|             tbStorage.Text = dr.place; | ||||
|             cmbSite.Text = dr.site; | ||||
|             tbSC.Text = dr.sc; | ||||
|             tbPO.Text = dr.po; | ||||
|        | ||||
| @@ -401,7 +390,7 @@ namespace FEQ0000 | ||||
|                     this.tbSID.Text = f.SID; | ||||
|                     this.tbSID.Tag = f.SID; | ||||
|                     this.tbPumUnit.Text = f.itemUnit; //181214 | ||||
|                     this.tbStorage.Text = f.Storage; | ||||
|                     //''this.tbSite.Text = f.tbsi; | ||||
|                     this.tbPumModel.Enabled = this.tbPumModel.Text.isEmpty(); | ||||
|                      | ||||
|                     this.tbPumUnit.Enabled = false; | ||||
| @@ -508,11 +497,11 @@ namespace FEQ0000 | ||||
|             } | ||||
|  | ||||
|              | ||||
|             if (tbStorage.Text.Equals("SPR")) | ||||
|             { | ||||
|                 if (FCOMMON.Util.MsgQ("SPR 항목입니다. 저장할까요?") != DialogResult.Yes) | ||||
|                     return false; | ||||
|             } | ||||
|             //if (tbSite.Text.Equals("SPR")) | ||||
|             //{ | ||||
|             //    if (FCOMMON.Util.MsgQ("SPR 항목입니다. 저장할까요?") != DialogResult.Yes) | ||||
|             //        return false; | ||||
|             //} | ||||
|  | ||||
|             if (chkInDate.Checked) | ||||
|             { | ||||
| @@ -591,6 +580,7 @@ namespace FEQ0000 | ||||
|             dr.pumqtyReq = vqtyreq;// int.Parse(tbpumqtyReq.Text); | ||||
|             dr.pumprice = vpumprice;// decimal.Parse(tbPumPrice.Text); | ||||
|             dr.currency = cmbCurrency.Text.Trim(); | ||||
|             dr.place = "전자실"; | ||||
|  | ||||
|             if (decimal.TryParse(tbPumPriceD.Text.Replace(",", ""), out decimal priced)) | ||||
|             { | ||||
| @@ -628,7 +618,7 @@ namespace FEQ0000 | ||||
|             dr.pumunit = tbPumUnit.Text; | ||||
|  | ||||
|             dr.supply = tbSupply.Text; | ||||
|             dr.place = tbStorage.Text; | ||||
|             dr.site = cmbSite.Text; | ||||
|            | ||||
|  | ||||
|             if (tbSupplyIndex.Text == "") dr.SetsupplyidxNull(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 chi
					chi