From cb2fc709d4e2aec6bbea3e6f4e8ccc24f3d27756 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期日, 06 十月 2024 17:27:08 +0800
Subject: [PATCH] 工艺路线工价

---
 WebTM/views/Baseset/基础资料/Gy_StockPlaceList.html |   21 +++++++++++++--------
 1 files changed, 13 insertions(+), 8 deletions(-)

diff --git "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockPlaceList.html" "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockPlaceList.html"
index b297037..0ac71fe 100644
--- "a/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockPlaceList.html"
+++ "b/WebTM/views/Baseset/\345\237\272\347\241\200\350\265\204\346\226\231/Gy_StockPlaceList.html"
@@ -29,7 +29,7 @@
             </div>
         </div>
     </div>
-    <table class="layui-hide" id="ck-table"></table>
+    <table class="layui-hide" id="mainTable"></table>
     <script src="../../../layuiadmin/layui/layui.js"></script>
     <script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script>
     <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
@@ -55,12 +55,12 @@
             , layer = layui.layer;
 
             form.on('submit(HQuery)', function () {//閫夋嫨浠撳簱
-                //var sMainStr = JSON.stringify(table.cache['ck-table']);
+                //var sMainStr = JSON.stringify(table.cache['mainTable']);
                 RoadQuery($('#Value').val(), 0);
             });
             form.on('submit(FH)', function () {//閫夋嫨浠撳簱
-                //var sMainStr = JSON.stringify(table.cache['ck-table']);
-                var checkStatus = table.checkStatus('ck-table')
+                //var sMainStr = JSON.stringify(table.cache['mainTable']);
+                var checkStatus = table.checkStatus('mainTable')
                  , data = checkStatus.data;
                 switch (Type) {
                     case "HSpID":  //杩斿洖璋冨叆浠撲綅
@@ -76,7 +76,7 @@
             });
             RoadQuery($('#Value').val(), 0);   //鍙傛暟0鏀瑰彉閲�
             table.render({
-                elem: '#ck-table'
+                elem: '#mainTable'
                 // , url: '/demo/table/user/'
                , data: []
               , cellMinWidth: 80 //鍏ㄥ眬瀹氫箟甯歌鍗曞厓鏍肩殑鏈�灏忓搴︼紝layui 2.2.1 鏂板
@@ -84,9 +84,14 @@
                   { type: 'radio' }
                 , { field: 'HItemID', width: 150, title: '浠撲綅ID', hide: true }
                 , { field: 'HNumber', width: 150, title: '浠撲綅浠g爜' }
-                , { field: 'HName', width: 150, title: '浠撲綅鍚嶇О', sort: true }
+                  , { field: 'HName', width: 150, title: '浠撲綅鍚嶇О', sort: true }
+                  , { field: 'HWHID', width: 150, title: '浠撳簱ID' }
+                  , { field: 'HWhNumber', width: 150, title: '浠撳簱浠g爜', sort: true }
+                  , { field: 'HWhName', width: 150, title: '浠撳簱鍚嶇О', sort: true }
               ]]
-              , page: true
+                , page: true
+                , limits: [50, 500, 5000, 50000],
+                limit: 50
             });
             ///鍔犺浇鏄剧ず鏁版嵁
             function RoadQuery(Where, HWhID) {
@@ -107,7 +112,7 @@
                     //data: { "Value": Value },
                     success: function (result) {
                         ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
-                        table.reload('ck-table', {
+                        table.reload('mainTable', {
                             data: ajaxReturnData
                             , height: 'full-10'
                             , loading: false

--
Gitblit v1.9.1