BIP异常信息接口:采购订单删除,修改接口
This commit is contained in:
@@ -147,7 +147,8 @@ namespace Tnb.WarehouseMgr
|
||||
|
||||
DictionaryDataEntity tranType = await _db.Queryable<DictionaryDataEntity>().Where(x=>x.DictionaryTypeId=="25043925951909" && x.EnCode== wmsOutsourceH.transaction_type).FirstAsync();
|
||||
string tranTypeId = tranType?.Id ?? "";
|
||||
string supplierId = wmsPurchaseOrderH?.supplier_id ?? "";
|
||||
//string supplierId = wmsPurchaseOrderH?.supplier_id ?? "";
|
||||
string supplierId = wmsOutsourceH?.supplier_id ?? "";
|
||||
List<string> tableIds = new List<string>();
|
||||
// tableIds.Add(_userManager.UserId);
|
||||
// tableIds.Add(wmsPurchaseH.create_id);
|
||||
@@ -305,7 +306,7 @@ namespace Tnb.WarehouseMgr
|
||||
["csourcetype"] = item.source_type ?? null, //来源单据类型
|
||||
["csourcetranstype"] = erpExtendFields.Find(x => x.table_id == tranTypeId)?.transaction_type_id ?? null, //来源单据交易类型
|
||||
["vsourcebillcode"] = wmsOutsourceH?.outsource_order ?? null, //来源单据号
|
||||
["vsourcerowno"] = null, //来源单据行号
|
||||
["vsourcerowno"] = (allInstockDetails.FindIndex(x => x.id == item.id) + 1) * 10, //来源单据行号
|
||||
["nnum"] = item.qty, //实收主数量
|
||||
|
||||
["nshouldnum"] = item.pr_qty, //应收主数量
|
||||
|
||||
Reference in New Issue
Block a user