This commit is contained in:
FanLian
2023-06-21 15:28:48 +08:00

View File

@@ -228,6 +228,8 @@ namespace Tnb.WarehouseMgr
var b = items.Find(x => x.material_code == materialCode && x.code_batch == codeBatch);
if (b != null)
{
b.id = SnowflakeIdHelper.NextId();
b.bill_d_id = instockDetails.Find(x => x.material_code == materialCode && x.code_batch == codeBatch)?.id!;
b.barcode = jo.Value<string>(nameof(WmsInstockCode.barcode))!;
b.barcode_qty = jo.Value<int>(nameof(WmsInstockCode.barcode_qty));
instockCOdes.Add(b);