From c9622b5f25aafa1fab7586764958fc9e36b00420 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期二, 03 一月 2023 08:58:44 +0800
Subject: [PATCH] 日计划平台维护

---
 WebTM/views/生产管理/日计划基础资料/Gy_WorkWarehouseBill_Add.html        |    1 +
 WebTM/views/生产管理/要料计划/JIT_NeedMaterPlanBillEdit.html          |    5 ++++-
 WebTM/views/生产管理/提料计划/JIT_LiftMaterPlanBillEdit.html          |    4 +++-
 WebTM/views/生产管理/日计划基础资料/Cg_PODemandPlanConfigBill_Add.html   |    1 +
 WebTM/views/生产管理/日计划基础资料/JIT_NeedMaterPlanConfigBill_Add.html |    1 +
 5 files changed, 10 insertions(+), 2 deletions(-)

diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\217\220\346\226\231\350\256\241\345\210\222/JIT_LiftMaterPlanBillEdit.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\217\220\346\226\231\350\256\241\345\210\222/JIT_LiftMaterPlanBillEdit.html"
index dff7126..b63c1ab 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\217\220\346\226\231\350\256\241\345\210\222/JIT_LiftMaterPlanBillEdit.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\217\220\346\226\231\350\256\241\345\210\222/JIT_LiftMaterPlanBillEdit.html"
@@ -630,7 +630,9 @@
                                 Organization += '<option  style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>';
                             }
                             $("#HPURCHASEORGID").append(Organization);
+                            $("#HPURCHASEORGID").val(sessionStorage["OrganizationID"]);
                             $("#HSubORGID").append(Organization);
+                            $("#HSubORGID").val(sessionStorage["OrganizationID"]);
                             form.render('select');
                         }
                         layer.closeAll("loading");
@@ -1008,7 +1010,7 @@
                             , "HInterID": d.data[0].hmainid
                             , "HSubORGID": d.data[0].濮斿缁勭粐
                             , "HAddress": d.data[0].浜よ揣鍦扮偣
-                            , "HPURCHASEORGID": d.data[0].涓昏〃閲囪喘缁勭粐
+                            , "HPURCHASEORGID": d.data[0].HPURCHASEORGID
                             , "HSupplierID": d.data[0].HSupplierID
                             , "HSupplierIDName": d.data[0].渚涘簲鍟嗗悕绉�
                             , "HSettleCurrId": d.data[0].HSettleCurrId
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\345\237\272\347\241\200\350\265\204\346\226\231/Cg_PODemandPlanConfigBill_Add.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\345\237\272\347\241\200\350\265\204\346\226\231/Cg_PODemandPlanConfigBill_Add.html"
index 73a3da2..cce1f71 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\345\237\272\347\241\200\350\265\204\346\226\231/Cg_PODemandPlanConfigBill_Add.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\345\237\272\347\241\200\350\265\204\346\226\231/Cg_PODemandPlanConfigBill_Add.html"
@@ -295,6 +295,7 @@
                                 Organization += '<option  style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>';
                             }
                             $("#HPRDORGID").append(Organization);
+                            $("#HPRDORGID").val(sessionStorage["OrganizationID"]);
                             form.render('select');
                         }
                         layer.closeAll("loading");
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkWarehouseBill_Add.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkWarehouseBill_Add.html"
index d81f4b0..989d883 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkWarehouseBill_Add.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\345\237\272\347\241\200\350\265\204\346\226\231/Gy_WorkWarehouseBill_Add.html"
@@ -283,6 +283,7 @@
                                 Organization += '<option  style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>';
                             }
                             $("#HPRDORGID").append(Organization);
+                            $("#HPRDORGID").val(sessionStorage["OrganizationID"]);
                             form.render('select');
                         }
                         layer.closeAll("loading");
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\345\237\272\347\241\200\350\265\204\346\226\231/JIT_NeedMaterPlanConfigBill_Add.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\345\237\272\347\241\200\350\265\204\346\226\231/JIT_NeedMaterPlanConfigBill_Add.html"
index 687202a..1772ea7 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\345\237\272\347\241\200\350\265\204\346\226\231/JIT_NeedMaterPlanConfigBill_Add.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\346\227\245\350\256\241\345\210\222\345\237\272\347\241\200\350\265\204\346\226\231/JIT_NeedMaterPlanConfigBill_Add.html"
@@ -295,6 +295,7 @@
                                 Organization += '<option  style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>';
                             }
                             $("#HPRDORGID").append(Organization);
+                            $("#HPRDORGID").val(sessionStorage["OrganizationID"]);
                             form.render('select');
                         }
                         layer.closeAll("loading");
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\350\246\201\346\226\231\350\256\241\345\210\222/JIT_NeedMaterPlanBillEdit.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\350\246\201\346\226\231\350\256\241\345\210\222/JIT_NeedMaterPlanBillEdit.html"
index 0052abf..9fde80b 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\350\246\201\346\226\231\350\256\241\345\210\222/JIT_NeedMaterPlanBillEdit.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\350\246\201\346\226\231\350\256\241\345\210\222/JIT_NeedMaterPlanBillEdit.html"
@@ -348,6 +348,7 @@
                 });
             }
             else {//濡傛灉淇敼鍒欒蛋涓嬮潰 new
+                //$("#HProdORGID").attr("disabled", true);
                 RoadBillMain(linterid);
                 //RoadBillSub(linterid);
             }
@@ -607,6 +608,7 @@
                 $.ajax({
                     type: "get",
                     url: GetWEBURL() + "/Web/GetOrganizations",
+                    async:false,
                     success: function (result) {
                         if (result.count == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
                             var data = result.data;
@@ -614,6 +616,7 @@
                                 Organization += '<option  style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>';
                             }
                             $("#HProdORGID").append(Organization);
+                            $("#HProdORGID").val(sessionStorage["OrganizationID"]);
                             form.render('select');
                         }
                         layer.closeAll("loading");
@@ -968,7 +971,7 @@
                             "HBillNo": d.data[0].鍗曟嵁鍙�
                             , "HInterID": d.data[0].hmainid
                             , "HAddress": d.data[0].浜よ揣鍦扮偣
-                            , "HProdORGID": d.data[0].涓荤敓浜х粍缁�
+                            , "HProdORGID": d.data[0].HProdORGID
                             , "HDeptID": d.data[0].HDeptID
                             , "HDeptIDName": d.data[0].杞﹂棿鍚嶇О
                             , "HSettleCurrId": d.data[0].HSettleCurrId

--
Gitblit v1.9.1