Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
2024-08-28 17:19:08 +08:00
16 changed files with 485 additions and 14 deletions

View File

@@ -113,6 +113,21 @@ namespace Tnb.WarehouseMgr
}
List<WmsPrdInstockD> WmsPrdInstockDs = new List<WmsPrdInstockD>();
#region bip仓库
string scwarehouse_id = "";
if (type == DictConst.PrdMoTypeZS)
{
scwarehouse_id = "0201010402";
}
else if (type == DictConst.PrdMoTypeJC)
{
scwarehouse_id = "0202010202";
}
else if (type == DictConst.PrdMoTypeBZ)
{
}
#endregion
foreach (WmsPrdInstockDInput prdInstockDInput in input.prdInstockDs)
{
WmsPrdInstockDs.Add(new WmsPrdInstockD()
@@ -124,7 +139,8 @@ namespace Tnb.WarehouseMgr
create_id = input.create_id,
create_time = DateTime.Now,
prd_instock_id = prd_instock_code_id,
status = WmsWareHouseConst.TASK_BILL_STATUS_YXD_ID
status = WmsWareHouseConst.TASK_BILL_STATUS_YXD_ID,
scwarehouse_id = scwarehouse_id
});
}