bug
This commit is contained in:
@@ -21,6 +21,8 @@ using Tnb.BasicData;
|
||||
using Tnb.ProductionMgr.Entities.Entity;
|
||||
using ModuleConst = Tnb.ProductionMgr.ModuleConst;
|
||||
using JNPF.Common.Dtos.VisualDev;
|
||||
using JNPF.Common.Extension;
|
||||
using JNPF.FriendlyException;
|
||||
using JNPF.VisualDev.Entitys;
|
||||
|
||||
namespace Tnb.WarehouseMgr
|
||||
@@ -211,7 +213,7 @@ namespace Tnb.WarehouseMgr
|
||||
["vsourcebillcode"] = wmsPurchaseH?.bill_code ?? "",
|
||||
["lineno"] = wmsPurchaseOrderDs?.lineno ?? "",
|
||||
["vfree1"] = erpExtendFields.Find(x => x.table_id == supplierId)?.supplier_id ?? "",
|
||||
["bpresent"] = wmsPurchaseD.gift==1,
|
||||
["flargess"] = wmsPurchaseD.gift==1,
|
||||
["ntaxprice"] = wmsPurchaseD.price,
|
||||
|
||||
});
|
||||
@@ -240,6 +242,11 @@ namespace Tnb.WarehouseMgr
|
||||
// .SetColumns(x => x.is_check == isCheck)
|
||||
// .Where(x => carryIds.Contains(x.id))
|
||||
// .ExecuteCommandAsync();
|
||||
|
||||
if (requestData.IsEmpty())
|
||||
{
|
||||
throw Oops.Bah("没有请求数据");
|
||||
}
|
||||
|
||||
BasFactoryConfig config = await _db.Queryable<BasFactoryConfig>().FirstAsync(x => x.enabled == 1 && x.key == FactoryConfigConst.BIPURL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user