Merge branch 'dev' of https://git.tuotong-tech.com/tnb/tnb.server into dev
This commit is contained in:
@@ -1693,19 +1693,19 @@ namespace Tnb.ProductionMgr
|
|||||||
report.material_box_code = input.material_box_code;
|
report.material_box_code = input.material_box_code;
|
||||||
if (prdMoTask.schedule_type == 2)
|
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");
|
materialBoxCode = await _redisData.GetHash("value", "WBZX_x1_take_tp");
|
||||||
if (materialBoxCode == null || materialBoxCode.IsEmpty())
|
if (materialBoxCode == null || materialBoxCode.IsEmpty())
|
||||||
{
|
{
|
||||||
throw Oops.Bah("托盘条码信息未空");
|
throw Oops.Bah("托盘条码信息未空");
|
||||||
}
|
}
|
||||||
report.material_box_code = materialBoxCode;
|
report.material_box_code = materialBoxCode;
|
||||||
}
|
// }
|
||||||
else
|
// else
|
||||||
{
|
// {
|
||||||
throw Oops.Bah("未找到对应产线");
|
// throw Oops.Bah("未找到对应产线");
|
||||||
}
|
// }
|
||||||
|
|
||||||
report.warehouse_id = WmsWareHouseConst.WAREHOUSE_JXK_ID;
|
report.warehouse_id = WmsWareHouseConst.WAREHOUSE_JXK_ID;
|
||||||
Dictionary<string, string> worklineWarehouseDic = new Dictionary<string, string>()
|
Dictionary<string, string> worklineWarehouseDic = new Dictionary<string, string>()
|
||||||
|
|||||||
Reference in New Issue
Block a user