Conflicts:
	ProductionMgr/Tnb.ProductionMgr/PrdFeedingService.cs
This commit is contained in:
2024-06-27 11:22:26 +08:00
2 changed files with 20 additions and 1 deletions

View File

@@ -426,6 +426,22 @@ namespace Tnb.ProductionMgr
status = "0",
use_num = 0,
});
Tnb.WarehouseMgr.Entities.Dto.Outputs.Result result = await _wmsCarryUnbindService.CarryUnbind(new CarryBindInput()
{
org = prdFeedingH.org_id,
create_id = prdFeedingH.create_id,
carry_id = prdFeedingH.carry_id,
carry_code = prdFeedingH.carry_code,
carrystd_id = carry.carrystd_id,
membercarry_code = detail.member_carry_code,
membercarry_id = detail.member_carry_id,
});
if (result.code != JNPF.Common.Enums.HttpStatusCode.OK)
{
throw Oops.Bah(result.msg);
}
if (detail != null)
{
@@ -451,6 +467,7 @@ namespace Tnb.ProductionMgr
{
throw new Exception("没有签收单,无法投料");
}
}
}
else