From cedcb836da53948de688e04539786d88904d5bd4 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 10 六月 2020 15:56:45 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/pakStore/matQuery.html |   25 +------------------------
 1 files changed, 1 insertions(+), 24 deletions(-)

diff --git a/src/main/webapp/views/pakStore/matQuery.html b/src/main/webapp/views/pakStore/matQuery.html
index d43a665..de737e1 100644
--- a/src/main/webapp/views/pakStore/matQuery.html
+++ b/src/main/webapp/views/pakStore/matQuery.html
@@ -79,7 +79,7 @@
             toolbar: '#toolbar',
             cols: [[
                 {type: 'checkbox', fixed: 'left'},
-                {field: 'matNo', align: 'center', title: '鐗╂枡缂栫爜', sort: 'true'},
+                {field: 'matNo', align: 'center', title: '鐗╂枡缂栫爜'},
                 {field: 'barcode', align: 'center', title: '鏉$爜'},
                 {field: 'matName', align: 'center', title: '鐗╂枡鍚嶇О'},
                 {field: 'str1', align: 'center', title: '鐗╂枡鍗曚綅'},
@@ -106,29 +106,6 @@
                 }
 
             }
-        });
-
-        // 鐩戝惉鎺掑簭浜嬩欢
-        table.on('sort(matCode)', function (obj) {
-            var searchData = {};
-            $.each($('#search-box [name]').serializeArray(), function() {
-                searchData[this.name] = this.value;
-            });
-            searchData['orderByField'] = obj.field;
-            searchData['orderByType'] = obj.type;
-            matQueryTable.reload({
-                where: searchData,
-                page: {
-                    curr: 1
-                },
-                done: function (res, curr, count) {
-                    if (res.code === 403) {
-                        top.location.href = baseUrl+"/";
-                    }
-                    pageCurr=curr;
-                    limit();
-                }
-            });
         });
 
         // 鐩戝惉澶村伐鍏锋爮浜嬩欢

--
Gitblit v1.9.1