From 7d86c8c3edfe2ee2ee83d468c1502ed2efe21697 Mon Sep 17 00:00:00 2001 From: 野心家 <1051256694@qq.com> Date: 星期一, 28 四月 2025 10:39:44 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/stoMan/stoQue.js | 23 ++++++++++++----------- 1 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/main/webapp/static/js/stoMan/stoQue.js b/src/main/webapp/static/js/stoMan/stoQue.js index 9dc54d2..b6fc115 100644 --- a/src/main/webapp/static/js/stoMan/stoQue.js +++ b/src/main/webapp/static/js/stoMan/stoQue.js @@ -4,23 +4,23 @@ var table = layui.table; var $ = layui.jquery; var layer = layui.layer; - var layDate = layui.laydate; + var layDate = layui.laydate; //鏃堕棿鎺т欢 var form = layui.form; layDate.render({ elem: '.layui-laydate-range' - ,type: 'datetime' - ,range: true + ,type: 'datetime' //鏃ユ湡鏃堕棿閫夋嫨鍣� 鍙�夊勾銆佹湀銆佹棩銆佹椂銆佸垎銆佺 + ,range: true //璁剧疆涓簍rue锛岄粯璁ら噰鐢ㄢ��-鈥濆垎鍓� }); // 鏁版嵁娓叉煋 tableIns = table.render({ - elem: '#stoQue', + elem: '#stoQue', //table id=鈥渟toQue鈥� headers: {token: localStorage.getItem('token')}, url: baseUrl+'/locMast/list/auth', - page: true, - limit: 16, - limits: [16, 30, 50, 100, 200, 500], + page: true, //寮�鍚垎椤� + limit: 20, + limits: [20, 30, 50, 100, 200, 500], even: true, toolbar: '#toolbar', cellMinWidth: 50, @@ -28,7 +28,7 @@ {type: 'checkbox'} ,{field: 'locNo', align: 'center',title: '搴撲綅鍙�'} ,{field: 'locSts$', align: 'center',title: '搴撲綅鐘舵��', width: 180, style: 'color: #8E2323'} - ,{field: 'whsType$', align: 'center',title: '搴撲綅绫诲瀷'} + // ,{field: 'whsType$', align: 'center',title: '搴撲綅绫诲瀷'} ,{field: 'crnNo', align: 'center',title: '鍫嗗灈鏈哄彿'} ,{field: 'row1', align: 'center',title: '鎺�'} ,{field: 'bay1', 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'} @@ -109,8 +110,8 @@ case 'refreshSto': // todo:luxiaotao alert("杩樻病鍋�"); break; - case 'exportData': - layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){ + case 'exportData': //瀵煎嚭Excel + layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){ var titles=[]; var fields=[]; obj.config.cols[0].map(function (col) { @@ -128,7 +129,7 @@ 'fields': fields }; $.ajax({ - url: baseUrl+"/wrkLastno/export/auth", + url: baseUrl+"/locMast/export/auth", headers: {'token': localStorage.getItem('token')}, data: JSON.stringify(param), dataType:'json', -- Gitblit v1.9.1