From be02cd78719168e0717b9e4f1df0db580d5eaa16 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期四, 27 四月 2023 14:55:03 +0800
Subject: [PATCH] 生产订单维护: 增加  多行下推 按钮,  根据选中的行 批量下推生成流转卡(工艺路线取物料默认的,没工艺路线的 则不生成。) 。

---
 WebAPI/Controllers/SCGL/日计划管理/Sc_JIT_ComplementGoodBillController.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git "a/WebAPI/Controllers/SCGL/\346\227\245\350\256\241\345\210\222\347\256\241\347\220\206/Sc_JIT_ComplementGoodBillController.cs" "b/WebAPI/Controllers/SCGL/\346\227\245\350\256\241\345\210\222\347\256\241\347\220\206/Sc_JIT_ComplementGoodBillController.cs"
index 1ae15f5..87870f3 100644
--- "a/WebAPI/Controllers/SCGL/\346\227\245\350\256\241\345\210\222\347\256\241\347\220\206/Sc_JIT_ComplementGoodBillController.cs"
+++ "b/WebAPI/Controllers/SCGL/\346\227\245\350\256\241\345\210\222\347\256\241\347\220\206/Sc_JIT_ComplementGoodBillController.cs"
@@ -697,13 +697,13 @@
         {
             omodelNeedsub = Newtonsoft.Json.JsonConvert.DeserializeObject<List<JIT_NeedMaterPlanConfigBillSub>>(msg3);
 
-            foreach (Models.Cg_PODemandPlanConfigBillSub oSub in omodelPODsub)
+            foreach (Models.JIT_NeedMaterPlanConfigBillSub oSub in omodelNeedsub)
             {
-                if (oSub.HSupplierID == 0 || oSub.HSupplierID == null)
+                if (oSub.HWorkShopID == 0 || oSub.HWorkShopID == null)
                 {
                     objJsonResult.code = "0";
                     objJsonResult.count = 0;
-                    objJsonResult.Message = "渚涘簲鍟嗕笉鑳戒负绌�";
+                    objJsonResult.Message = "鐢熶骇杞﹂棿涓嶈兘涓虹┖";
                     objJsonResult.data = null;
                     return objJsonResult;
                 }

--
Gitblit v1.9.1