bug
This commit is contained in:
@@ -1693,19 +1693,19 @@ namespace Tnb.ProductionMgr
|
||||
report.material_box_code = input.material_box_code;
|
||||
if (prdMoTask.schedule_type == 2)
|
||||
{
|
||||
if (dic.TryGetValue(prdMoTask.workline_id, out string value))
|
||||
{
|
||||
// if (dic.TryGetValue(prdMoTask.workline_id, out string value))
|
||||
// {
|
||||
materialBoxCode = await _redisData.GetHash("value", "WBZX_x1_take_tp");
|
||||
if (materialBoxCode == null || materialBoxCode.IsEmpty())
|
||||
{
|
||||
throw Oops.Bah("托盘条码信息未空");
|
||||
}
|
||||
report.material_box_code = materialBoxCode;
|
||||
}
|
||||
else
|
||||
{
|
||||
throw Oops.Bah("未找到对应产线");
|
||||
}
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// throw Oops.Bah("未找到对应产线");
|
||||
// }
|
||||
|
||||
report.warehouse_id = WmsWareHouseConst.WAREHOUSE_JXK_ID;
|
||||
Dictionary<string, string> worklineWarehouseDic = new Dictionary<string, string>()
|
||||
|
||||
Reference in New Issue
Block a user