暂存仓呼叫其它入库

This commit is contained in:
2024-08-27 11:12:04 +08:00
parent a989fc13c5
commit e0680e12fd
6 changed files with 119 additions and 93 deletions

View File

@@ -704,7 +704,8 @@ namespace Tnb.WarehouseMgr
string transfer_type = "";
// 中储仓到暂存仓
if (warehouse_outstock.id == WmsWareHouseConst.WAREHOUSE_ZC_ID && warehouse_instock.id == WmsWareHouseConst.WAREHOUSE_ZCC_ID)
if (warehouse_outstock.id == WmsWareHouseConst.WAREHOUSE_ZC_ID
&& (warehouse_instock.id == WmsWareHouseConst.WAREHOUSE_ZCC_ID || warehouse_instock.id == WmsWareHouseConst.WAREHOUSE_HCC_ID))
{
int count = input.details.Where(r => string.IsNullOrEmpty(r.station_code)).Count();
if (count > 0)