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