From 3bb4318838b873e346f125659e9a1f531f92d70a Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期三, 03 九月 2025 17:16:40 +0800
Subject: [PATCH] 许可证有效期”改成“仓储系统许可有效期
---
src/main/webapp/static/js/locDetlStatis/check.js | 41 ++++++++++++++++++++++++++++++-----------
1 files changed, 30 insertions(+), 11 deletions(-)
diff --git a/src/main/webapp/static/js/locDetlStatis/check.js b/src/main/webapp/static/js/locDetlStatis/check.js
index 496ad90..21c4b8d 100644
--- a/src/main/webapp/static/js/locDetlStatis/check.js
+++ b/src/main/webapp/static/js/locDetlStatis/check.js
@@ -20,28 +20,21 @@
cellMinWidth: 50,
cols: [[
{type: 'checkbox'},
-// ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
-// ,{field: 'typeId', align: 'center',title: '璺緞ID'}
- // ,{field: 'typeDesc', align: 'center',title: '浣滀笟绫诲瀷'}
- {field: 'anfme', align: 'center',title: '搴撳瓨鏁伴噺(姝e皯/璐熷锛�', style: 'font-weight: bold'},
+ {field: 'orderNo', align: 'center',title: '鐩樼偣鍗曠紪鍙�', style: 'font-weight: bold'},
+ {field: 'anfme', align: 'center',title: '璐﹂潰鏁伴噺', style: 'font-weight: bold'},
+ {field: 'number', align: 'center',title: '鐩樼偣鏁伴噺', style: 'font-weight: bold'},
{field: 'createTime$', align: 'center',title: '鍒涘缓鏃堕棿', style: 'font-weight: bold'},
{field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿', style: 'font-weight: bold'},
-
{field: 'maktx', align: 'center',title: '鍟嗗搧鍚嶇О', style: 'font-weight: bold'},
{field: 'specs', align: 'center',title: '瑙勬牸', style: 'font-weight: bold'},
{field: 'batch', align: 'center',title: '鎵瑰彿', style: 'font-weight: bold'}
-
- // ,{field: 'appeUser$', align: 'center',title: '鍒涘缓鑰�',event: 'appeUser', style: 'cursor:pointer'}
- // ,{field: 'appeTime$', align: 'center',title: '娣诲姞鏃堕棿'}
-
- ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
]],
request: {
pageName: 'curr',
pageSize: 'limit'
},
parseData: function (res) {
- // console.log(res)
+ console.log(res)
return {
'code': res.code,
'msg': res.msg,
@@ -172,6 +165,32 @@
});
}
break;
+ case 'uploadData':
+ var data = checkStatus.data;
+ if (data.length === 0){
+ layer.msg('璇烽�夋嫨鏁版嵁');
+ } else {
+ layer.confirm('纭畾涓婃姤'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
+ $.ajax({
+ url: baseUrl+"/check/upload/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {param: JSON.stringify(data)},
+ method: 'POST',
+ traditional:true,
+ success: function (res) {
+ if (res.code === 200){
+ layer.closeAll();
+ tableReload(false);
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ }
+ break;
case 'exportData':
layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
var titles=[];
--
Gitblit v1.9.1