From 33d5a36fb7c250fd1fa0a46bc9730914ab95d9d0 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期三, 01 六月 2022 08:47:25 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MESWMS-LayUI

---
 WebTM/views/车间管理/委外工序接收单/Cj_StationEntrustOutBill.html |   21 +++++
 WebTM/views/车间管理/委外工序发出单/Cj_StationEntrustInBill.html  |    8 +
 WebTM/views/Baseset/基础资料/Gy_SupplierList.html          |   21 ++++
 WebTM/views/生产管理/生产任务单/Sc_ICMOBillList.html            |  142 +++++++++++++++++++++++++++--------
 4 files changed, 155 insertions(+), 37 deletions(-)

diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_SupplierList.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_SupplierList.html"
index 203a906..a678a17 100644
--- "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_SupplierList.html"
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_SupplierList.html"
@@ -35,6 +35,20 @@
     <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
     <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
     <script>
+        function getUrlVars() {
+            var vars = [], hash;
+            var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
+            for (var i = 0; i < hashes.length; i++) {
+                hash = hashes[i].split('=');
+                vars.push(hash[0]);
+                vars[hash[0]] = hash[1];
+            }
+            return vars;
+        }
+        var params = getUrlVars();
+        var HOtherOrgID = params[params[0]];
+
+
         layui.use(['table', 'form', 'layer'], function () {
             var table = layui.table
             , form = layui.form
@@ -67,17 +81,20 @@
               , page: true
             });
             ///鍔犺浇鏄剧ず鏁版嵁
-            function RoadQuery(Where) {
+            function RoadQuery(Where, HOrgID) {
                 var Value = Where;
                 if (Value == null) {
                     Value = '';
+                }
+                if (HOrgID == null) {
+                    HOrgID = 0;
                 }
                 $.ajax({
                     type: "get",
                     //url: "http://61.130.49.162:9090/WMSAPI///Web/GetSupplierList_Json",
                     url: GetWEBURL() + "/Web/GetSupplierList_Json",
                     async: true,
-                    data: { "Supplier": Value },
+                    data: { "Supplier": Value, "HOrgID": HOtherOrgID },
                     //data: { "Value": Value },
                     success: function (result) {
                         ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
diff --git "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html" "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html"
index 893e3eb..cbe28d0 100644
--- "a/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html"
+++ "b/WebTM/views/\347\224\237\344\272\247\347\256\241\347\220\206/\347\224\237\344\272\247\344\273\273\345\212\241\345\215\225/Sc_ICMOBillList.html"
@@ -225,6 +225,87 @@
             //#endregion
 
 
+            option_YQN = {
+                elem: '#mainTable'
+                , toolbar: '#toolbarDemo'
+                , height: 'full-50'
+                , page: true
+                , cellMinWidth: 90
+                , limit: 50
+                , limits: [50, 500, 5000, 20000]
+                , cols: [[
+                    { type: 'checkbox', fixed: 'left' }
+                    , { field: 'hmainid', title: 'hmainid', sort: true, width: 165, hide: true }
+                    , { field: 'HEntryID', title: 'HEntryID', sort: true, width: 165, hide: true }
+
+                    , { field: '鏃ユ湡', title: '鏃ユ湡', sort: true, width: 120, hide: true }
+                    , { field: '閿�鍞鍗曟棩鏈�', title: '閿�鍞鍗曟棩鏈�', sort: true, width: 120, hide: true }
+                    , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true, width: 170, hide: true }
+
+                    , { field: '閿�鍞鍗曟棩鏈�', title: '閿�鍞鍗曟棩鏈�', sort: true, width: 200 }
+                    , { field: '閿�鍞鍗曠紪鍙�', title: '閿�鍞鍗曠紪鍙�', sort: true, width: 200 }
+                    , { field: '閿�鍞墿鏂欏悕绉�', title: '閿�鍞墿鏂欏悕绉�', sort: true, width: 200 }
+                    , { field: '鍖呰鏂瑰紡', title: '鍖呰鏂瑰紡', sort: true, width: 150 }
+                    , { field: '閿�鍞暟閲�', title: '閿�鍞暟閲�', sort: true, width: 150 }
+                    , { field: '閿�鍞鍗曡仈绯讳汉', title: '閿�鍞鍗曡仈绯讳汉', sort: true, width: 150 }
+                    , { field: '涓氬姟鐘舵��', title: '涓氬姟鐘舵��', sort: true, width: 150 }
+
+                    , { field: '璁㈠崟璺熻釜鍙�', title: '璁㈠崟璺熻釜鍙�', sort: true, width: 120, hide: true }
+                    , { field: 'HDeptID', title: 'HDeptID', hide: true }
+                    , { field: '鐢熶骇杞﹂棿浠g爜', title: '鐢熶骇杞﹂棿浠g爜', width: 115, hide: true }
+                    , { field: '鐢熶骇杞﹂棿', title: '鐢熶骇杞﹂棿', width: 115, hide: true }
+                    , { field: 'HMaterID', title: 'HMaterID', hide: true }
+                    , { field: '浜у搧浠g爜', title: '浜у搧浠g爜', width: 160, hide: true }
+                    , { field: '浜у搧鍚嶇О', title: '浜у搧鍚嶇О', width: 160, hide: true }
+                    , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', width: 215, hide: true }
+                    , { field: 'hunitid', title: 'hunitid', hide: true }
+                    , { field: '璁¢噺鍗曚綅浠g爜', title: '璁¢噺鍗曚綅浠g爜', width: 115, hide: true }
+                    , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅', hide: true }
+
+                    , { field: 'hempid', title: 'hempid', hide: true }
+                    , { field: '涓氬姟鍛樹唬鐮�', title: '涓氬姟鍛樹唬鐮�', width: 100, hide: true }
+                    , { field: '涓氬姟鍛�', title: '涓氬姟鍛�', hide: true }
+                    , { field: 'hcusid', title: 'hcusid', hide: true }
+                    , { field: '瀹㈡埛浠g爜', title: '瀹㈡埛浠g爜', hide: true }
+                    , { field: '瀹㈡埛', title: '瀹㈡埛', hide: true }
+                    , { field: 'HCenterID', title: 'HCenterID', hide: true }
+                    , { field: '宸ヤ綔涓績浠g爜', title: '宸ヤ綔涓績浠g爜', hide: true }
+                    , { field: '宸ヤ綔涓績', title: '宸ヤ綔涓績', hide: true }
+                    , { field: 'hbomid', title: 'hbomid', hide: true }
+                    , { field: 'BOM鍗曠紪鐮�', title: 'BOM鍗曠紪鐮�', hide: true }
+                    , { field: 'HRoutingInterID', title: 'HRoutingInterID', hide: true }
+                    , { field: '宸ヨ壓璺嚎浠g爜', title: '宸ヨ壓璺嚎浠g爜', hide: true }
+                    , { field: '宸ヨ壓璺嚎', title: '宸ヨ壓璺嚎', hide: true }
+                    , { field: '璁″垝寮�宸ユ棩鏈�', title: '璁″垝寮�宸ユ棩鏈�', hide: true }
+                    , { field: '璁″垝瀹屽伐鏃ユ湡', title: '璁″垝瀹屽伐鏃ユ湡', hide: true }
+                    , { field: '鏈�杩熷紑宸ユ棩鏈�', title: '鏈�杩熷紑宸ユ棩鏈�', hide: true }
+                    , { field: '鏈�杩熷畬宸ユ棩鏈�', title: '鏈�杩熷畬宸ユ棩鏈�', hide: true }
+                    , { field: '榻愬鏁伴噺', title: '榻愬鏁伴噺', hide: true }
+                    , { field: '璁″垝鐢熶骇鏁伴噺', title: '璁″垝鐢熶骇鏁伴噺', hide: true }
+                    , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', hide: true }
+                    , { field: '鏈叧鑱旀暟閲�', title: '鏈叧鑱旀暟閲�', hide: true }
+                    , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞', hide: true }
+                    , { field: 'hsubid', title: 'hsubid', hide: true }
+                    , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿', hide: true }
+                    , { field: '婧愬崟涓诲唴鐮�', title: '婧愬崟涓诲唴鐮�', hide: true }
+                    , { field: '婧愬崟瀛愬唴鐮�', title: '婧愬崟瀛愬唴鐮�', hide: true }
+                    , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', hide: true }
+                    , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', hide: true }
+                    , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', hide: true }
+                    , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡', hide: true }
+                    , { field: '淇敼浜�', title: '淇敼浜�', hide: true }
+                    , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡', hide: true }
+                    , { field: '鍏抽棴浜�', title: '鍏抽棴浜�', hide: true }
+                    , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', hide: true }
+                    , { field: '浣滃簾浜�', title: '浣滃簾浜�', hide: true }
+                    , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', hide: true }
+                    , { field: '琛屽叧闂汉', title: '琛屽叧闂汉', hide: true }
+                    , { field: '鍏抽棴绫诲瀷', title: '鍏抽棴绫诲瀷', hide: true }
+                    , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', hide: true }
+                    , { field: '璁″垝璺熻釜鍙�', title: '璁″垝璺熻釜鍙�', hide: true }
+                ]]
+            };
+
             function set_InitGrid() {
                 $("#HDate").val(Format(new Date(new Date() - 1000 * 60 * 60 * 24 * 30), "yyyy-MM-dd"));
                 $("#HDate1").val(Format(new Date(), "yyyy-MM-dd"));
@@ -240,11 +321,36 @@
                         { type: 'checkbox', fixed: 'left' }
                         , { field: 'hmainid', title: 'hmainid', sort: true, width: 165, hide: true }
                         , { field: 'HEntryID', title: 'HEntryID', sort: true, width: 165, hide: true }
-                        
-                        , { field: '鏃ユ湡', title: '鏃ユ湡', sort: true, width: 120, hide: true }
+                        , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true, width: 170 }
+                        , { field: '鏃ユ湡', title: '鏃ユ湡' }
+                        , { field: '浜у搧浠g爜', title: '浜у搧浠g爜', width: 160 }
+                        , { field: '浜у搧鍚嶇О', title: '浜у搧鍚嶇О', width: 160 }
+                        , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', width: 215 }
+                        , { field: '鐢熶骇杞﹂棿浠g爜', title: '鐢熶骇杞﹂棿浠g爜', width: 115 }
+                        , { field: '鐢熶骇杞﹂棿', title: '鐢熶骇杞﹂棿', width: 115 }
+                        , { field: '璁¢噺鍗曚綅浠g爜', title: '璁¢噺鍗曚綅浠g爜', width: 115 }
+                        , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅' }
+                        , { field: '璁″垝寮�宸ユ棩鏈�', title: '璁″垝寮�宸ユ棩鏈�' }
+                        , { field: '璁″垝瀹屽伐鏃ユ湡', title: '璁″垝瀹屽伐鏃ユ湡' }
+                        , { field: '鏈�杩熷紑宸ユ棩鏈�', title: '鏈�杩熷紑宸ユ棩鏈�' }
+                        , { field: '鏈�杩熷畬宸ユ棩鏈�', title: '鏈�杩熷畬宸ユ棩鏈�' }
+                        , { field: '榻愬鏁伴噺', title: '榻愬鏁伴噺' }
+                        , { field: '璁″垝鐢熶骇鏁伴噺', title: '璁″垝鐢熶骇鏁伴噺' }
+                        , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺' }
+                        , { field: '鏈叧鑱旀暟閲�', title: '鏈叧鑱旀暟閲�' }
+                        , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞' }
+                        , { field: '鍒跺崟浜�', title: '鍒跺崟浜�' }
+                        , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡' }
+                        , { field: '瀹℃牳浜�', title: '瀹℃牳浜�' }
+                        , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡' }
+                        , { field: '淇敼浜�', title: '淇敼浜�' }
+                        , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡' }
+                        , { field: '鍏抽棴浜�', title: '鍏抽棴浜�' }
+                        , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡' }
+                        , { field: '浣滃簾浜�', title: '浣滃簾浜�', hide: true }
+                        , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', hide: true }
                         , { field: '閿�鍞鍗曟棩鏈�', title: '閿�鍞鍗曟棩鏈�', sort: true, width: 120, hide: true }
-                        , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true, width: 170, hide: true }
-
+                       
                         , { field: '閿�鍞鍗曟棩鏈�', title: '閿�鍞鍗曟棩鏈�', sort: true, width: 200 }
                         , { field: '閿�鍞鍗曠紪鍙�', title: '閿�鍞鍗曠紪鍙�', sort: true, width: 200 }
                         , { field: '閿�鍞墿鏂欏悕绉�', title: '閿�鍞墿鏂欏悕绉�', sort: true, width: 200 }
@@ -252,19 +358,10 @@
                         , { field: '閿�鍞暟閲�', title: '閿�鍞暟閲�', sort: true, width: 150 }
                         , { field: '閿�鍞鍗曡仈绯讳汉', title: '閿�鍞鍗曡仈绯讳汉', sort: true, width: 150 }
                         , { field: '涓氬姟鐘舵��', title: '涓氬姟鐘舵��', sort: true, width: 150 }
-
                         , { field: '璁㈠崟璺熻釜鍙�', title: '璁㈠崟璺熻釜鍙�', sort: true, width: 120, hide: true }
                         , { field: 'HDeptID', title: 'HDeptID', hide: true}
-                        , { field: '鐢熶骇杞﹂棿浠g爜', title: '鐢熶骇杞﹂棿浠g爜', width: 115, hide: true }
-                        , { field: '鐢熶骇杞﹂棿', title: '鐢熶骇杞﹂棿', width: 115, hide: true}
                         , { field: 'HMaterID', title: 'HMaterID', hide: true }
-                        , { field: '浜у搧浠g爜', title: '浜у搧浠g爜', width: 160, hide: true}
-                        , { field: '浜у搧鍚嶇О', title: '浜у搧鍚嶇О', width: 160, hide: true}
-                        , { field: '瑙勬牸鍨嬪彿', title: '瑙勬牸鍨嬪彿', width: 215, hide: true}
                         , { field: 'hunitid', title: 'hunitid', hide: true }
-                        , { field: '璁¢噺鍗曚綅浠g爜', title: '璁¢噺鍗曚綅浠g爜', width: 115, hide: true}
-                        , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅', hide: true}
-                        
                         , { field: 'hempid', title: 'hempid' , hide: true}
                         , { field: '涓氬姟鍛樹唬鐮�', title: '涓氬姟鍛樹唬鐮�', width: 100, hide: true}
                         , { field: '涓氬姟鍛�', title: '涓氬姟鍛�', hide: true}
@@ -279,29 +376,10 @@
                         , { field: 'HRoutingInterID', title: 'HRoutingInterID' , hide: true}
                         , { field: '宸ヨ壓璺嚎浠g爜', title: '宸ヨ壓璺嚎浠g爜', hide: true }
                         , { field: '宸ヨ壓璺嚎', title: '宸ヨ壓璺嚎', hide: true}
-                        , { field: '璁″垝寮�宸ユ棩鏈�', title: '璁″垝寮�宸ユ棩鏈�', hide: true}
-                        , { field: '璁″垝瀹屽伐鏃ユ湡', title: '璁″垝瀹屽伐鏃ユ湡', hide: true}
-                        , { field: '鏈�杩熷紑宸ユ棩鏈�', title: '鏈�杩熷紑宸ユ棩鏈�', hide: true}
-                        , { field: '鏈�杩熷畬宸ユ棩鏈�', title: '鏈�杩熷畬宸ユ棩鏈�', hide: true}
-                        , { field: '榻愬鏁伴噺', title: '榻愬鏁伴噺', hide: true}
-                        , { field: '璁″垝鐢熶骇鏁伴噺', title: '璁″垝鐢熶骇鏁伴噺', hide: true }
-                        , { field: '鍏宠仈鏁伴噺', title: '鍏宠仈鏁伴噺', hide: true}
-                        , { field: '鏈叧鑱旀暟閲�', title: '鏈叧鑱旀暟閲�', hide: true}
-                        , { field: '琛ㄥご澶囨敞', title: '琛ㄥご澶囨敞', hide: true}
                         , { field: 'hsubid', title: 'hsubid' , hide: true}
                         , { field: '婧愬崟鍗曞彿', title: '婧愬崟鍗曞彿', hide: true}
                         , { field: '婧愬崟涓诲唴鐮�', title: '婧愬崟涓诲唴鐮�', hide: true}
                         , { field: '婧愬崟瀛愬唴鐮�', title: '婧愬崟瀛愬唴鐮�', hide: true}
-                        , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', hide: true}
-                        , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', hide: true }
-                        , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', hide: true }
-                        , { field: '瀹℃牳鏃ユ湡', title: '瀹℃牳鏃ユ湡', hide: true}
-                        , { field: '淇敼浜�', title: '淇敼浜�', hide: true }
-                        , { field: '淇敼鏃ユ湡', title: '淇敼鏃ユ湡', hide: true}
-                        , { field: '鍏抽棴浜�', title: '鍏抽棴浜�', hide: true}
-                        , { field: '鍏抽棴鏃ユ湡', title: '鍏抽棴鏃ユ湡', hide: true }
-                        , { field: '浣滃簾浜�', title: '浣滃簾浜�', hide: true}
-                        , { field: '浣滃簾鏃ユ湡', title: '浣滃簾鏃ユ湡', hide: true }
                         , { field: '琛屽叧闂汉', title: '琛屽叧闂汉', hide: true}
                         , { field: '鍏抽棴绫诲瀷', title: '鍏抽棴绫诲瀷', hide: true}
                         , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', hide: true}
diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\345\217\221\345\207\272\345\215\225/Cj_StationEntrustInBill.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\345\217\221\345\207\272\345\215\225/Cj_StationEntrustInBill.html"
index d48e1eb..c4b9204 100644
--- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\345\217\221\345\207\272\345\215\225/Cj_StationEntrustInBill.html"
+++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\345\217\221\345\207\272\345\215\225/Cj_StationEntrustInBill.html"
@@ -670,7 +670,8 @@
             //鎻愪氦
             form.on('submit(Saver)', function (data) {//鎻愪氦
                 //var tableData = data.field;
-                var oMain = data.field + ";" + sessionStorage["HUserName"];
+                //var oMain = data.field + ";" + sessionStorage["HUserName"];
+                var oMain = JSON.stringify(data.field) + ";" + sessionStorage["HUserName"];
                 var index = layer.load();
                 $.ajax({
                     type: "POST",
@@ -727,6 +728,7 @@
 
             //閫夋嫨渚涘簲鍟�
             form.on('submit(HSupID-BT)', function () {
+                var HStockInOrgID = sessionStorage["OrganizationID"];
                 layer.open({
                     type: 2
                     , area: ['80%', '80%']
@@ -734,7 +736,7 @@
                     , shade: 0.6 //閬僵閫忔槑搴�
                     , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
                     , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
-                    , content: ['../../Baseset/鍩虹璧勬枡/Gy_SupplierList.html', 'yes']
+                    , content: ['../../Baseset/鍩虹璧勬枡/Gy_SupplierList.html?HOrgID=' + HStockInOrgID + '', 'yes']
                     , resize: false
                     , cancel: function () {
                         //$(".layui-btn").removeClass("layui-btn-disabled");
@@ -742,6 +744,8 @@
                 })
             });
 
+
+
             //閫夋嫨浜у搧
             form.on('submit(HMateriaID-BT)', function () {//閫夋嫨浜у搧
                 layer.open({
diff --git "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\216\245\346\224\266\345\215\225/Cj_StationEntrustOutBill.html" "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\216\245\346\224\266\345\215\225/Cj_StationEntrustOutBill.html"
index d699cf2..ba3c1ef 100644
--- "a/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\216\245\346\224\266\345\215\225/Cj_StationEntrustOutBill.html"
+++ "b/WebTM/views/\350\275\246\351\227\264\347\256\241\347\220\206/\345\247\224\345\244\226\345\267\245\345\272\217\346\216\245\346\224\266\345\215\225/Cj_StationEntrustOutBill.html"
@@ -851,6 +851,7 @@
             form.on('submit(Saver)', function (data) {//鎻愪氦
                 //var tableData = data.field;
                 var oMain = data.field;
+                var oMain = JSON.stringify(data.field) + ";" + sessionStorage["HUserName"];
                 var index = layer.load();
                 $.ajax({
                     type: "POST",
@@ -888,8 +889,26 @@
             }
             //#endregion
 
+            ////閫夋嫨渚涘簲鍟�
+            //form.on('submit(HSupID-BT)', function () {
+            //    layer.open({
+            //        type: 2
+            //        , area: ['80%', '80%']
+            //        , title: '渚涘簲鍟嗗垪琛�'
+            //        , shade: 0.6 //閬僵閫忔槑搴�
+            //        , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
+            //        , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
+            //        , content: ['../../Baseset/鍩虹璧勬枡/Gy_SupplierList.html', 'yes']
+            //        , resize: false
+            //        , cancel: function () {
+            //            //$(".layui-btn").removeClass("layui-btn-disabled");
+            //        }
+            //    })
+            //});
+
             //閫夋嫨渚涘簲鍟�
             form.on('submit(HSupID-BT)', function () {
+                var HStockInOrgID = sessionStorage["OrganizationID"];
                 layer.open({
                     type: 2
                     , area: ['80%', '80%']
@@ -897,7 +916,7 @@
                     , shade: 0.6 //閬僵閫忔槑搴�
                     , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲
                     , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚�
-                    , content: ['../../Baseset/鍩虹璧勬枡/Gy_SupplierList.html', 'yes']
+                    , content: ['../../Baseset/鍩虹璧勬枡/Gy_SupplierList.html?HOrgID=' + HStockInOrgID + '', 'yes']
                     , resize: false
                     , cancel: function () {
                         //$(".layui-btn").removeClass("layui-btn-disabled");

--
Gitblit v1.9.1