From c0547152938bb9d0a2a1eeed55ed5ce2431b9166 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期一, 22 五月 2023 12:46:04 +0800
Subject: [PATCH] 页面优化
---
src/main/webapp/static/wms/js/wrkMast/wrkMast.js | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/main/webapp/static/wms/js/wrkMast/wrkMast.js b/src/main/webapp/static/wms/js/wrkMast/wrkMast.js
index 700a342..597c68c 100644
--- a/src/main/webapp/static/wms/js/wrkMast/wrkMast.js
+++ b/src/main/webapp/static/wms/js/wrkMast/wrkMast.js
@@ -1,5 +1,6 @@
var pageCurr;
var wrkNo;
+var wmsWrkNo;
layui.config({
base: baseUrl + "/static/wms/layui/lay/modules/"
}).extend({
@@ -12,12 +13,14 @@
var form = layui.form;
$('#wrkNo').val(parent.wrkNo);
+ $('#wmsWrkNo').val(parent.wmsWrkNo);
+
// 鏁版嵁娓叉煋
tableIns = table.render({
elem: '#wrkMast',
headers: {token: localStorage.getItem('token')},
url: baseUrl + '/wrkMast/list/auth',
- where: {wrk_no: parent.wrkNo},
+ where: {wrk_no: parent.wrkNo, wms_wrk_no: parent.wmsWrkNo},
page: true,
limit: 16,
limits: [16, 30, 50, 100, 200, 500],
@@ -26,11 +29,12 @@
cellMinWidth: 50,
cols: [[
{type: 'checkbox'}
+ , {field: 'wmsWrkNo', align: 'center', title: 'WMS浠诲姟鍙�', sort: true, width: 85}
, {field: 'wrkNo', align: 'center', title: '浠诲姟鍙�', sort: true, width: 85}
, {field: 'ioTime$', align: 'center', title: '浠诲姟鏃堕棿', sort: true, width: 160}
, {field: 'durationTime', align: 'center', title: '鎸佺画鏃堕暱', width: 160}
, {field: 'wrkSts$', align: 'center', title: '浠诲姟鐘舵��'}
- , {field: 'ioType$', align: 'center', title: '鍏ュ嚭搴撶被鍨�'}
+ , {field: 'ioType$', align: 'center', title: '浠诲姟绫诲瀷'}
, {field: 'ioPri', align: 'center', title: '浼樺厛绾�'}
, {field: 'crnNo$', align: 'center', title: '鍫嗗灈鏈�'}
, {field: 'sourceStaNo$', align: 'center', title: '婧愮珯'}
@@ -73,7 +77,7 @@
// return html;
// }}
- , {fixed: 'right', title: '鎿嶄綔', align: 'left', toolbar: '#operate', width: 120}
+ , {fixed: 'right', title: '鎿嶄綔', align: 'center', toolbar: '#operate', width: 110}
]],
request: {
pageName: 'curr',
--
Gitblit v1.9.1