From 15d69d9f596a7529ce5a8b8d5a38b94e5c50b6b6 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期五, 18 六月 2021 09:21:56 +0800 Subject: [PATCH] # 库存跳转上报erp --- 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