From 316dcc081a7f7c9187fa5278ca90e2057f9af1a0 Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期四, 02 十一月 2023 13:10:58 +0800 Subject: [PATCH] #checkbox设置宽度 --- src/main/webapp/static/js/stoMan/stoQue.js | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/static/js/stoMan/stoQue.js b/src/main/webapp/static/js/stoMan/stoQue.js index b4d33f4..c78235a 100644 --- a/src/main/webapp/static/js/stoMan/stoQue.js +++ b/src/main/webapp/static/js/stoMan/stoQue.js @@ -19,13 +19,13 @@ headers: {token: localStorage.getItem('token')}, url: baseUrl+'/locMast/list/auth', page: true, - limit: 16, - limits: [16, 30, 50, 100, 200, 500], + limit: 20, + limits: [20, 30, 50, 100, 200, 500], even: true, toolbar: '#toolbar', cellMinWidth: 50, cols: [[ - {type: 'checkbox'} + {type: 'checkbox',width: 50} ,{field: 'locNo', align: 'center',title: '搴撲綅鍙�'} ,{field: 'locSts$', align: 'center',title: '搴撲綅鐘舵��', width: 180, style: 'color: #8E2323'} // ,{field: 'whsType$', align: 'center',title: '搴撲綅绫诲瀷'} @@ -39,6 +39,7 @@ html += "disabled='disabled' >"; return html; },width:80} + ,{field: 'barcode', align: 'center',title: '鏉$爜鍙�'} ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳'} ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', width: 180} ,{ fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate'} @@ -156,7 +157,7 @@ switch (obj.event) { // 鏌ョ湅鏄庣粏 case 'locDetl': - // locDetl(data.locNo); + locDetl(data.locNo); if (data.locSts.trim() === '' || data.locSts.trim() === 'S' || data.locSts.trim() === 'D' -- Gitblit v1.9.1