bug
This commit is contained in:
@@ -496,6 +496,21 @@ namespace Tnb.ProductionMgr
|
|||||||
.ExecuteCommandAsync();
|
.ExecuteCommandAsync();
|
||||||
|
|
||||||
|
|
||||||
|
if (carry.carrystd_id == WmsWareHouseConst.CARRY_ZYXCSTD_ID || carry.carrystd_id == WmsWareHouseConst.CARRY_ZYLJSTD_ID)
|
||||||
|
{
|
||||||
|
Tnb.WarehouseMgr.Entities.Dto.Outputs.Result result = await _wmsCarryUnbindService.CarryCodeUnbind(new CarryCodeUnbindInput()
|
||||||
|
{
|
||||||
|
carry_id = carry.id
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
if (result.code != JNPF.Common.Enums.HttpStatusCode.OK)
|
||||||
|
{
|
||||||
|
throw Oops.Bah(result.msg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
Tnb.WarehouseMgr.Entities.Dto.Outputs.Result result = await _wmsCarryUnbindService.CarryCodeUnbind(new CarryCodeUnbindInput()
|
Tnb.WarehouseMgr.Entities.Dto.Outputs.Result result = await _wmsCarryUnbindService.CarryCodeUnbind(new CarryCodeUnbindInput()
|
||||||
{
|
{
|
||||||
carry_id = detail.member_carry_id
|
carry_id = detail.member_carry_id
|
||||||
@@ -507,6 +522,9 @@ namespace Tnb.ProductionMgr
|
|||||||
throw Oops.Bah(result.msg);
|
throw Oops.Bah(result.msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user