| MES.Service/service/BasicData/MesCgthSqManager.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| MES.Service/service/BasicData/ProductionOrderManager.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
MES.Service/service/BasicData/MesCgthSqManager.cs
@@ -235,9 +235,9 @@ // 通过供应商ID查找供应商 if (!string.IsNullOrEmpty(erpMain.FSupplierID)) { var supp = Convert.ToInt32(erpMain.FSupplierID); // var supp = Convert.ToInt32(erpMain.FSupplierID); var suppId = Db.Queryable<MesSupplier>() .Where(d => d.Id == supp) .Where(d => d.SuppNo == erpMain.FSupplierID) .Select(d => d.Id) .First(); mesCgthSq.SuppId = (int)suppId; MES.Service/service/BasicData/ProductionOrderManager.cs
@@ -161,7 +161,8 @@ ClosingType = erpDto.FCloseType, Remarks = erpDto.FDescription, ErpId = erpDto.FID, ErpProductionEntryCode = erpDto.FSUBENTRYID, // ErpProductionEntryCode = erpDto.FSUBENTRYID, ErpProductionEntryCode = SUBBOM, Purchaseorderno = erpDto.FPurOrderNo, Purchaseorderentryseq = Convert.ToInt32(erpDto.FPurOrderEntrySeq), Stockinqty = Convert.ToDecimal(erpDto.FBaseStockInQty), @@ -275,7 +276,8 @@ Freservetype = erpDto.FRESERVETYPE, Fmemo = erpDto.FMEMO, Typeb = erpDto.TypeB, ErpProductionEntryCode = erpDto.FSUBENTRYID // ErpProductionEntryCode = erpDto.FSUBENTRYID ErpProductionEntryCode = erpDto.FBILLNO }; var single = _productionOrderSubManager.GetSingle(it =>