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

---
 src/main/webapp/static/js/pakStore/pakStore.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/static/js/pakStore/pakStore.js b/src/main/webapp/static/js/pakStore/pakStore.js
index f9f16a1..89543cc 100644
--- a/src/main/webapp/static/js/pakStore/pakStore.js
+++ b/src/main/webapp/static/js/pakStore/pakStore.js
@@ -7,10 +7,12 @@
 
     tableIns = table.render({
         elem: '#chooseData',
+        data: [],
         even: true,
+        limit: 500,
         cellMinWidth: 50,
         cols: [[
-            {type: 'checkbox', fixed: 'left'},
+            {type: 'checkbox'},
             {field: 'matNo', align: 'center', title: '鐗╂枡缂栫爜', sort: 'true'},
             {field: 'barcode', align: 'center', title: '鏉$爜'},
             {field: 'matName', align: 'center', title: '鐗╂枡鍚嶇О'},
@@ -27,6 +29,7 @@
 // 鎻愬彇鐗╂枡
 var matCodeLayerIdx;
 function getMat() {
+    tableIns.reload({data: []})
     matCodeLayerIdx = layer.open({
         type: 2,
         title: '搴撲綅鐗╂枡',

--
Gitblit v1.9.1