From 82bcd0328dddbaad65933e2fada22bc68e82b3d5 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期六, 26 八月 2023 10:07:46 +0800 Subject: [PATCH] # 导入订单增加单据类型 --- src/main/webapp/static/js/stoMan/stoQue.js | 35 +++++++++++++++++++---------------- 1 files changed, 19 insertions(+), 16 deletions(-) diff --git a/src/main/webapp/static/js/stoMan/stoQue.js b/src/main/webapp/static/js/stoMan/stoQue.js index bfbe5d5..0f20b49 100644 --- a/src/main/webapp/static/js/stoMan/stoQue.js +++ b/src/main/webapp/static/js/stoMan/stoQue.js @@ -19,25 +19,28 @@ headers: {token: localStorage.getItem('token')}, url: baseUrl+'/locMast/list/auth', page: true, - limit: 10, + limit: 16, + limits: [16, 30, 50, 100, 200, 500], even: true, toolbar: '#toolbar', cellMinWidth: 50, cols: [[ {type: 'checkbox'} ,{field: 'locNo', align: 'center',title: '搴撲綅鍙�'} - ,{field: 'locType$', align: 'center',title: '搴撲綅鐘舵��', width: 180, style: 'color: #8E2323'} - ,{field: 'whsType$', align: 'center',title: '搴撲綅绫诲瀷'} + ,{field: 'locSts$', align: 'center',title: '搴撲綅鐘舵��', width: 180, style: 'color: #8E2323'} + // ,{field: 'whsType$', align: 'center',title: '搴撲綅绫诲瀷'} ,{field: 'crnNo', align: 'center',title: '鍫嗗灈鏈哄彿'} - ,{field: 'row1', align: 'center',title: '鎺�'} - ,{field: 'bay1', align: 'center',title: '鍒�'} - ,{field: 'lev1', align: 'center',title: '灞�'} - ,{field: 'fullPlt', align: 'center',title: '婊℃澘', templet:function(row){ - var html = "<input value='fullPlt' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'"; - if(row.fullPlt === 'Y'){html += " checked ";} - html += "disabled='disabled' >"; - return html; - },width:80} + // ,{field: 'row1', align: 'center',title: '鎺�'} + // ,{field: 'bay1', align: 'center',title: '鍒�'} + // ,{field: 'lev1', align: 'center',title: '灞�'} + // ,{field: 'fullPlt', align: 'center',title: '婊℃澘', templet:function(row){ + // var html = "<input value='fullPlt' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'"; + // if(row.fullPlt === 'Y'){html += " checked ";} + // html += "disabled='disabled' >"; + // return html; + // },width:80} + ,{field: 'frozen$', align: 'center',title: '鍐荤粨鐘舵��'} + ,{field: 'locType2$', align: 'center',title: '搴撲綅绫诲瀷'} ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳'} ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', width: 180} ,{ fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate'} @@ -156,10 +159,10 @@ // 鏌ョ湅鏄庣粏 case 'locDetl': // locDetl(data.locNo); - if (data.locType.trim() === '' - || data.locType.trim() === 'S' - || data.locType.trim() === 'D' - || data.locType.trim() === 'O') { + if (data.locSts.trim() === '' + || data.locSts.trim() === 'S' + || data.locSts.trim() === 'D' + || data.locSts.trim() === 'O') { layer.msg("姝ゅ簱浣嶇殑鐘舵�佷笉瀛樺湪鐗╂枡"); return; } -- Gitblit v1.9.1