This commit is contained in:
chi
2024-01-04 15:09:43 +09:00
parent e26efda0fc
commit aca27c5484
9 changed files with 695 additions and 629 deletions

View File

@@ -75,6 +75,40 @@ namespace FEQ0000.Purchase
this.dsPurchase.PurchaseCheck.AcceptChanges();
this.Text = $"CR구매품목 SID재고 검사";
}
public fSIDCheckNR(List<dsPurchase.EETGW_PurchaseEBRow> items)
{
InitializeComponent();
//자료를 추가한다
this.dsPurchase.PurchaseCheck.Clear();
foreach (var item in items)
{
var newdr = dsPurchase.PurchaseCheck.NewPurchaseCheckRow();
newdr.idx = item.idx;
newdr.pdate = item.pdate;
newdr.sid = item.sid;
newdr.pumname = item.pumname;
newdr.pumscale = item.pumscale;
newdr.pumunit = item.pumunit;
newdr.pumqty = item.pumqtyReq;
newdr.pumprice = item.pumprice;
newdr.pumamt = item.pumamt;
newdr.supply = item.supply;
newdr.project = item.project;
newdr.bigo = item.bigo;
newdr.gcode = item.gcode;
newdr.requestName = item.requestName;
newdr.chk1 = item.chk1;
newdr.chk2 = item.chk2;
newdr.EndEdit();
this.dsPurchase.PurchaseCheck.AddPurchaseCheckRow(newdr);
}
this.dsPurchase.PurchaseCheck.AcceptChanges();
this.Text = $"EB구매품목 SID재고 검사";
}
private void fSIDCheckNR_Load(object sender, EventArgs e)
{
dv1.AutoResizeColumns();