From ce02c16c7c8cf643dda9eade8e958ab2183384b7 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期二, 24 十月 2023 15:07:22 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/locMast/locMast.js | 28 +++++++++++++++++++++++++++- 1 files changed, 27 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/static/js/locMast/locMast.js b/src/main/webapp/static/js/locMast/locMast.js index 54454f9..9e8bcef 100644 --- a/src/main/webapp/static/js/locMast/locMast.js +++ b/src/main/webapp/static/js/locMast/locMast.js @@ -54,7 +54,7 @@ // ,{field: 'barcode', align: 'center',title: ''} // ,{field: 'PdcType', align: 'center',title: ''} // ,{field: 'ctnNo', align: 'center',title: ''} - ,{field: 'locType1$', align: 'center',title: '楂樹綆绫诲瀷'} + ,{field: 'locType1$', align: 'center',title: '澶у皬绫诲瀷'} // ,{field: 'locType2$', align: 'center',title: '瀹界獎绫诲瀷'} // ,{field: 'locType3$', align: 'center',title: '杞婚噸绫诲瀷'} @@ -229,6 +229,32 @@ }) }); break; + case 'convertSize': + var data = checkStatus.data; + if (data.length === 0){ + layer.msg('璇烽�夋嫨鏁版嵁'); + } else { + layer.confirm('纭畾杞崲'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){ + $.ajax({ + url: baseUrl+"/locMast/convert/size/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; } }); -- Gitblit v1.9.1