From f66b98a1be56a35e4fc46c22c46fd126657becb9 Mon Sep 17 00:00:00 2001
From: 王佳豪 <g675230687@126.com>
Date: 星期四, 03 六月 2021 14:22:59 +0800
Subject: [PATCH] 补仓功能

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

diff --git a/src/main/webapp/views/pakStore/matQuery.html b/src/main/webapp/views/pakStore/matQuery.html
index f929872..530de5b 100644
--- a/src/main/webapp/views/pakStore/matQuery.html
+++ b/src/main/webapp/views/pakStore/matQuery.html
@@ -27,7 +27,7 @@
     <div id="search-box" class="layui-form layui-card-header">
         <div class="layui-inline">
             <div class="layui-input-inline">
-                <input class="layui-input" type="text" name="mat_no" placeholder="鐗╂枡缂栫爜" autocomplete="off">
+                <input class="layui-input" type="text" name="mat_no" placeholder="鍟嗗搧缂栧彿" autocomplete="off">
             </div>
         </div>
         <!-- 鏃ユ湡鑼冨洿 -->
@@ -67,7 +67,17 @@
 
 </body>
 <script>
-
+    function getCol() {
+        var cols = [
+            {type: 'checkbox', fixed: 'left'}
+        ];
+        cols.push.apply(cols, matCols);
+        cols.push(
+            {field: 'modiUser$', align: 'center',title: '淇敼浜哄憳', hide: true},
+            {field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿'}
+        )
+        return cols;
+    }
     var pageCurr;
     layui.use(['table','laydate', 'form'], function() {
         var table = layui.table;
@@ -86,16 +96,7 @@
             even: true,
             cellMinWidth: 50,
             toolbar: '#toolbar',
-            cols: [[
-                {type: 'checkbox', fixed: 'left'},
-                {field: 'matNo', align: 'center', title: '鐗╂枡缂栫爜'},
-                {field: 'barcode', align: 'center', title: '鏉$爜'},
-                {field: 'matName', align: 'center', title: '鐗╂枡鍚嶇О'},
-                {field: 'str1', align: 'center', title: '鐗╂枡鍗曚綅'},
-                {field: 'str2', align: 'center', title: '鐗╂枡瑙勬牸'},
-                {field: 'modiUser$', align: 'center',title: '淇敼浜哄憳', hide: true},
-                {field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿'}
-            ]],
+            cols: [getCol()],
             request: {
                 pageName: 'curr',
                 pageSize: 'limit'

--
Gitblit v1.9.1