111
tjx
2025-11-26 949f77af1da12b69fc4d3b273062abd0b2b2c7c0
111
已修改2个文件
10 ■■■■■ 文件已修改
MES.Service/service/BasicData/MesCgthSqManager.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
MES.Service/service/BasicData/ProductionOrderManager.cs 6 ●●●●● 补丁 | 查看 | 原始文档 | 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 =>