This commit is contained in:
2025-05-13 13:51:53 +08:00
parent 16fc0304f3
commit 29c83dd9da
11 changed files with 45 additions and 5 deletions

View File

@@ -334,6 +334,7 @@ namespace MyCode.Project.Services.Implementation
NewInvoiceOrder.Sheet = DateTime.Now.ToString("yyMMddhhmmssfff");
NewInvoiceOrder.PurchaseOrderId = 0;
NewInvoiceOrder.F_VHUB_Text = act.F_VHUB_Text;
NewInvoiceOrder.F_URXD_Date = act.F_URXD_Date;
NewInvoiceOrder.FPurchaseOrgId = orderHeadList.FirstOrDefault().FPurchaseOrgId;
NewInvoiceOrder.FPurchaseOrgName = orderHeadList.FirstOrDefault().FPurchaseOrgName;
List<InvoiceOrderItem> invoiceOrderItems = new List<InvoiceOrderItem>();
@@ -402,6 +403,7 @@ namespace MyCode.Project.Services.Implementation
tempUpdate.FSupplierLot = temp.FSupplierLot;
billPush.CustomParams.ScanEntry.Add(tempUpdate);
billPush.CustomParams.FPH= act.F_VHUB_Text;
billPush.CustomParams.F_URXD_Date = act.F_URXD_Date;
t.FReceiveQty = t.FReceiveQty.SafeValue() + temp.Qty;
t.FRemainReceiveQty = t.FRemainReceiveQty.SafeValue() - temp.Qty;