长管投料不解绑父载具
This commit is contained in:
@@ -18,6 +18,7 @@ using Tnb.ProductionMgr.Entities.Dto;
|
||||
using Tnb.ProductionMgr.Interfaces;
|
||||
using Tnb.WarehouseMgr;
|
||||
using Tnb.WarehouseMgr.Entities;
|
||||
using Tnb.WarehouseMgr.Entities.Consts;
|
||||
using Tnb.WarehouseMgr.Entities.Dto.Inputs;
|
||||
using Tnb.WarehouseMgr.Interfaces;
|
||||
using Tnb.WarehouseMgr.Entities.Enums;
|
||||
@@ -511,8 +512,13 @@ namespace Tnb.ProductionMgr
|
||||
|
||||
_ = await db.Insertable<PrdFeedingH>(prdFeedingH).ExecuteCommandAsync();
|
||||
_ = await db.Insertable<PrdFeedingD>(list).ExecuteCommandAsync();
|
||||
|
||||
if (prdMaterialReceiptH == null)
|
||||
{
|
||||
throw Oops.Bah("未找到投料记录");
|
||||
}
|
||||
|
||||
if (prdMaterialReceiptH.first_feed)
|
||||
if (prdMaterialReceiptH.first_feed && carry.carrystd_id==WmsWareHouseConst.CARRY_LXSTD_ID)
|
||||
{
|
||||
await db.Updateable<PrdMaterialReceiptH>()
|
||||
.SetColumns(x => x.first_feed == false)
|
||||
|
||||
Reference in New Issue
Block a user