From 53d5d2fb91c6dd33eece3a92590a553ebfef521c Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期三, 27 十二月 2023 10:10:48 +0800
Subject: [PATCH] #
---
src/main/webapp/views/pakStore/matQuery.html | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/src/main/webapp/views/pakStore/matQuery.html b/src/main/webapp/views/pakStore/matQuery.html
index 299d087..96be64f 100644
--- a/src/main/webapp/views/pakStore/matQuery.html
+++ b/src/main/webapp/views/pakStore/matQuery.html
@@ -30,7 +30,12 @@
<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="matnr" placeholder="鍟嗗搧缂栧彿" autocomplete="off">
+ </div>
+ </div>
+ <div class="layui-inline">
+ <div class="layui-input-inline">
+ <input class="layui-input" type="text" name="maktx" placeholder="鍟嗗搧鍚嶇О" autocomplete="off">
</div>
</div>
<!-- 鏃ユ湡鑼冨洿 -->
@@ -52,7 +57,7 @@
</fieldset>
<div class="layui-form">
- <table class="layui-hide" id="matCode" lay-filter="matCode"></table>
+ <table class="layui-hide" id="mat" lay-filter="mat"></table>
</div>
</div>
@@ -72,7 +77,7 @@
<script>
function getCol() {
let cols = [
- {type: 'checkbox', fixed: 'left'}
+ {type: 'checkbox',width: 50, fixed: 'left'}
];
cols.push.apply(cols, matCols);
cols.push(
@@ -94,9 +99,9 @@
// 鐗╂枡鏌ヨ鏁版嵁琛�
matQueryTable = table.render({
- elem: '#matCode',
+ elem: '#mat',
headers: {token: localStorage.getItem('token')},
- url: baseUrl + '/matCode/list/auth',
+ url: baseUrl + '/mat/list/auth',
page: true,
limit: 7,
limits: [7, 10, 30,50,100],
@@ -127,7 +132,7 @@
});
// 鐩戝惉澶村伐鍏锋爮浜嬩欢
- table.on('toolbar(matCode)', function (obj) {
+ table.on('toolbar(mat)', function (obj) {
let checkStatus = table.checkStatus(obj.config.id);
let data = checkStatus.data;
switch(obj.event) {
--
Gitblit v1.9.1