From 07e07d7666cfb2d822c60db7b67d93e0610072a8 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期四, 10 四月 2025 08:53:18 +0800 Subject: [PATCH] 开发专用界面翻译为俄语 --- src/main/webapp/static/js/report/inOut.js | 23 +++++++++++------------ 1 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/main/webapp/static/js/report/inOut.js b/src/main/webapp/static/js/report/inOut.js index 8d09ea0..e1ade1e 100644 --- a/src/main/webapp/static/js/report/inOut.js +++ b/src/main/webapp/static/js/report/inOut.js @@ -17,12 +17,12 @@ toolbar: '#toolbar', cellMinWidth: 50, cols: [[ - {type: 'checkbox'} - ,{field: 'ymd', align: 'center', title: '鏃ユ湡', sort: true} - ,{field: 'source_sta_no', align: 'center',title: '绔欑偣'} - ,{field: 'sto_qty', align: 'center',title: '鍏ュ簱娆℃暟'} - ,{field: 'ret_qty', align: 'center',title: '鍑哄簱娆℃暟'} - ,{field: 'total_qty', align: 'center',title: '鍏ュ嚭鎬绘暟'} + // {type: 'checkbox'} + {field: 'ymd', align: 'center', title: '鏃ユ湡'} + ,{field: 'source_sta_no', align: 'center',title: '袪邪斜芯褔邪褟 褋褌邪薪褑懈褟'} + ,{field: 'sto_qty', align: 'center',title: '袣芯谢懈褔械褋褌胁芯 锌芯褋褌褍锌谢械薪懈泄'} + ,{field: 'ret_qty', align: 'center',title: '袣芯谢懈褔械褋褌胁芯 芯褌谐褉褍蟹芯泻'} + ,{field: 'total_qty', align: 'center',title: '袨斜褖械械 泻芯谢懈褔械褋褌胁芯 锌芯褋褌褍锌谢械薪懈泄 懈 芯褌谐褉褍蟹芯泻'} ]], request: { pageName: 'curr', @@ -41,7 +41,7 @@ }, done: function(res, curr, count) { if (res.code === 403) { - top.location.href = baseUrl; + top.location.href = baseUrl+"/"; } pageCurr=curr; limit(); @@ -63,7 +63,7 @@ }, done: function (res, curr, count) { if (res.code === 403) { - top.location.href = baseUrl; + top.location.href = baseUrl+"/"; } pageCurr=curr; limit(); @@ -76,7 +76,7 @@ var checkStatus = table.checkStatus(obj.config.id); switch(obj.event) { case 'exportData': - layer.confirm('纭畾瀵煎嚭Excel鍚�', function(){ + layer.confirm('袩芯写褌胁械褉写懈褌褜 褝泻褋锌芯褉褌 胁 Excel?', {shadeClose: true}, function(){ var titles=[]; var fields=[]; obj.config.cols[0].map(function (col) { @@ -96,12 +96,11 @@ contentType:'application/json;charset=UTF-8', method: 'POST', success: function (res) { - console.log(res); layer.closeAll(); if (res.code === 200) { table.exportFile(titles,res.data,'xls'); } else if (res.code === 403) { - top.location.href = baseUrl; + top.location.href = baseUrl+"/"; } else { layer.msg(res.msg) } @@ -136,7 +135,7 @@ }, done: function (res, curr, count) { if (res.code === 403) { - top.location.href = baseUrl; + top.location.href = baseUrl+"/"; } pageCurr=curr; if (res.data.length === 0 && count !== 0) { -- Gitblit v1.9.1