..
This commit is contained in:
		| @@ -1329,7 +1329,13 @@ namespace FEQ0000 | ||||
|                 foreach (var idx in f.chklist) | ||||
|                 { | ||||
|                     var dr = newlist.Where(t => t.idx == idx).FirstOrDefault(); | ||||
|                     if (dr != null) { cnt += 1; dr.chk2 = true; dr.EndEdit(); } | ||||
|                     if (dr != null) | ||||
|                     { | ||||
|                         cnt += 1; | ||||
|                         dr.chk2 = true; | ||||
|                         if (dr.IspumqtyNull() || dr.pumqty == 0) dr.pumqty = dr.pumqtyReq; | ||||
|                         dr.EndEdit(); | ||||
|                     } | ||||
|                 } | ||||
|                 FCOMMON.Util.MsgI($"{cnt}건의 자료가 [구매담당확인] 되었습니다\n저장을 눌러야 최종 적용 됩니다"); | ||||
|             } | ||||
|   | ||||
| @@ -29,7 +29,7 @@ namespace FEQ0000.Purchase | ||||
|                 newdr.pumname = item.pumname; | ||||
|                 newdr.pumscale = item.pumscale; | ||||
|                 newdr.pumunit = item.pumunit; | ||||
|                 newdr.pumqty = item.pumqty; | ||||
|                 newdr.pumqty = item.pumqtyReq; | ||||
|                 newdr.pumprice = item.pumprice; | ||||
|                 newdr.pumamt = item.pumamt; | ||||
|                 newdr.supply = item.supply; | ||||
| @@ -60,7 +60,7 @@ namespace FEQ0000.Purchase | ||||
|                 newdr.pumname = item.pumname; | ||||
|                 newdr.pumscale = item.pumscale; | ||||
|                 newdr.pumunit = item.pumunit; | ||||
|                 newdr.pumqty = item.pumqty; | ||||
|                 newdr.pumqty = item.pumqtyReq; | ||||
|                 newdr.pumprice = item.pumprice; | ||||
|                 newdr.pumamt = item.pumamt; | ||||
|                 newdr.supply = item.supply; | ||||
|   | ||||
| @@ -1220,7 +1220,7 @@ namespace FEQ0000 | ||||
|                     return; | ||||
|                 } | ||||
|             } | ||||
|             var f = new FEQ0000.Purchase.fPurchaseCR_Ipgo(dr.idx,string.Empty); | ||||
|             var f = new FEQ0000.Purchase.fPurchaseCR_Ipgo(dr.idx, string.Empty); | ||||
|             if (f.ShowDialog() == DialogResult.OK) | ||||
|             { | ||||
|                 refreshData(); | ||||
| @@ -1277,7 +1277,7 @@ namespace FEQ0000 | ||||
|                 } | ||||
|  | ||||
|                 data[0] = sid; | ||||
|                 data[3-1] = qty.ToString(); | ||||
|                 data[3 - 1] = qty.ToString(); | ||||
|                 data[8 - 1] = plant; | ||||
|                 data[12 - 1] = requestname; | ||||
|                 data[13 - 1] = eecode; | ||||
| @@ -1329,7 +1329,13 @@ namespace FEQ0000 | ||||
|                 foreach (var idx in f.chklist) | ||||
|                 { | ||||
|                     var dr = newlist.Where(t => t.idx == idx).FirstOrDefault(); | ||||
|                     if (dr != null) { cnt += 1; dr.chk2 = true; dr.EndEdit(); } | ||||
|                     if (dr != null) | ||||
|                     { | ||||
|                         cnt += 1; | ||||
|                         dr.chk2 = true; | ||||
|                         if(dr.IspumqtyNull() || dr.pumqty == 0) dr.pumqty = dr.pumqtyReq; | ||||
|                         dr.EndEdit(); | ||||
|                     } | ||||
|                 } | ||||
|                 FCOMMON.Util.MsgI($"{cnt}건의 자료가 [구매담당확인] 되었습니다\n저장을 눌러야 최종 적용 됩니다"); | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 chi
					chi