盘点物料库存查询和数量提交

This commit is contained in:
2024-10-31 18:11:49 +08:00
parent b750f2a981
commit 55d79652ba
6 changed files with 369 additions and 1 deletions

View File

@@ -2769,6 +2769,7 @@ namespace Tnb.WarehouseMgr
wmsInventorycheckH.erp_bill_code = input.erp_bill_code;
wmsInventorycheckH.erp_pk = input.erp_pk;
wmsInventorycheckH.check_date = input.check_date;
wmsInventorycheckH.check_status = "0";
await db.Insertable(wmsInventorycheckH).ExecuteCommandAsync();
@@ -2822,6 +2823,8 @@ namespace Tnb.WarehouseMgr
throw new AppFriendlyException($@"表体明细中组织{detail.auxprop_gys}在wms系统中未找到", 500);
}
wmsInventorycheckD.auxprop_xph = detail.auxprop_xph;
wmsInventorycheckD.check_status = "0";
wmsInventorycheckDs.Add(wmsInventorycheckD);
}