齐套等
This commit is contained in:
@@ -71,7 +71,10 @@ namespace Tnb.WarehouseMgr
|
||||
WmsPurchaseD wmsPurchaseD = await _db.Queryable<WmsPurchaseD>().SingleAsync(x => x.id == id);
|
||||
string purchaseHId = wmsPurchaseD?.bill_id ?? "";
|
||||
WmsPurchaseH wmsPurchaseH = await _db.Queryable<WmsPurchaseH>().SingleAsync(x => x.id == purchaseHId);
|
||||
|
||||
if (wmsPurchaseH.make_method == "自制")
|
||||
{
|
||||
throw Oops.Bah("自制采购收货单不需要操作此按钮");
|
||||
}
|
||||
#region 插入质检记录
|
||||
|
||||
string? create_id = _userManager.User.Id;
|
||||
@@ -273,6 +276,7 @@ namespace Tnb.WarehouseMgr
|
||||
{
|
||||
await _db.Ado.RollbackTranAsync();
|
||||
Log.Error(e.Message,e);
|
||||
throw Oops.Bah(e.Message);
|
||||
}
|
||||
|
||||
return "保存成功";
|
||||
|
||||
Reference in New Issue
Block a user