From bcb19e8c93c3cabf0d8eb3ee34ed819b3c5a10ef Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期一, 25 十一月 2024 13:14:11 +0800 Subject: [PATCH] #优化地图 --- src/main/webapp/static/js/agvStoMan/stoQue.js | 23 ++++++++++++++--------- 1 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/main/webapp/static/js/agvStoMan/stoQue.js b/src/main/webapp/static/js/agvStoMan/stoQue.js index 25dd1e5..0ab255f 100644 --- a/src/main/webapp/static/js/agvStoMan/stoQue.js +++ b/src/main/webapp/static/js/agvStoMan/stoQue.js @@ -17,7 +17,7 @@ tableIns = table.render({ elem: '#agvStoQue', headers: {token: localStorage.getItem('token')}, - url: baseUrl+'/agvLocMast/list/auth', + url: baseUrl+'/agv/locMast/list/auth', page: true, limit: 20, limits: [20, 30, 50, 100, 200, 500], @@ -26,15 +26,19 @@ cellMinWidth: 50, cols: [[ {type: 'checkbox'} - ,{field: 'locNo', align: 'center',title: '搴撲綅鍙�'} - ,{field: 'locSts$', align: 'center',title: '搴撲綅鐘舵��', width: 180, style: 'color: #8E2323'} + ,{field: 'locNo', align: 'center',width: 180,title: '搴撲綅鍙�'} + ,{field: 'locSts$', align: 'center',title: '搴撲綅鐘舵��', width: 150, style: 'color: #8E2323'} // ,{field: 'whsType$', align: 'center',title: '搴撲綅绫诲瀷'} //,{field: 'crnNo', align: 'center',title: '鍫嗗灈鏈哄彿'} - ,{field: 'qrCodeValue', align: 'center',title: '浜岀淮鐮佸��', sort:true} - ,{field: 'row1', align: 'center',title: '鎺�'} - ,{field: 'bay1', align: 'center',title: '鍒�'} - ,{field: 'lev1', align: 'center',title: '灞�'} + //,{field: 'qrCodeValue', align: 'center',title: '浜岀淮鐮佸��', sort:true} + ,{field: 'row1', align: 'center',width: 60,title: '鎺�'} + ,{field: 'bay1', align: 'center',width: 60,title: '鍒�'} + ,{field: 'lev1', align: 'center',width: 60,title: '灞�'} ,{field: 'floor', align: 'center',title: '妤�', sort:true} + ,{field: 'barcode', align: 'center',title: '璐ф灦鐮�', sort:true} + ,{field: 'locType1$', align: 'center',title: '搴撲綅绫诲瀷', sort:true} + ,{field: 'locType2', align: 'center',title: '璐ф灦绫诲瀷', sort:true} + ,{field: 'pltType', align: 'center',title: 'erp搴撲綅'} ,{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 ";} @@ -174,6 +178,7 @@ // iframe鐗╂枡璇︽儏 function locDetlToLayer(val) { locNo = val; + url = '/agv/locDetl/list/auth'; layer.open({ type: 2, title: '搴撳瓨鏄庣粏', @@ -193,7 +198,7 @@ tableIns1 = table.render({ elem: '#locDetlByMap', headers: {token: localStorage.getItem('token')}, - url: baseUrl+'/agvLocDetl/list/auth', + url: baseUrl+'/agv/locDetl/list/auth', page: true, limit: 5, skin: 'line', @@ -212,7 +217,7 @@ ,{field: 'werks', align: 'center',title: '宸ュ巶'} ,{field: 'anfme', align: 'center',title: '鏁伴噺'} ,{field: 'altme', align: 'center',title: '鍗曚綅'} - ,{field: 'zpallet', align: 'center',title: '鎵樼洏鏉$爜'} + ,{field: 'zpallet', align: 'center',title: '璐ф灦鏉$爜'} ,{field: 'bname', align: 'center',title: '鐢ㄦ埛ID'} ]], request: { -- Gitblit v1.9.1