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/pakStore/stockOut.js | 49 ++++++++++++++++++++++++++----------------------- 1 files changed, 26 insertions(+), 23 deletions(-) diff --git a/src/main/webapp/static/js/pakStore/stockOut.js b/src/main/webapp/static/js/pakStore/stockOut.js index af9afd9..f2230f6 100644 --- a/src/main/webapp/static/js/pakStore/stockOut.js +++ b/src/main/webapp/static/js/pakStore/stockOut.js @@ -1,25 +1,25 @@ -var admin; +var locDetlLayerIdx; var locDetlData = []; function getCol() { var cols = [ - {field: 'count', align: 'center',title: '鍑哄簱鏁伴噺', edit:'text', width: 130, style:'color: blue;font-weight: bold'} - ,{field: 'anfme', align: 'center',title: '搴撳瓨鏁伴噺'} - ,{field: 'locNo$', align: 'center',title: '搴撲綅鍙�'} + {field: 'count', align: 'center',title: '袣芯谢懈褔械褋褌胁芯 芯褌谐褉褍蟹泻懈', edit:'text', width: 130, style:'color: blue;font-weight: bold'} + ,{field: 'anfme', align: 'center',title: '袣芯谢懈褔械褋褌胁芯 胁 薪邪谢懈褔懈懈'} + ,{field: 'locNo$', align: 'center',title: '袧芯屑械褉 褋泻谢邪写褋泻芯谐芯 屑械褋褌邪'} ]; arrRemove(detlCols, 'field', 'anfme'); cols.push.apply(cols, detlCols); - cols.push({fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width: 80}) + cols.push({fixed: 'right', title:'袨锌械褉邪褑懈褟', align: 'center', toolbar: '#operate', width: 80}) return cols; } layui.config({ base: baseUrl + "/static/layui/lay/modules/" -}).use(['admin', 'table','laydate', 'form'], function() { +}).use(['table','laydate', 'form', 'admin'], function() { var table = layui.table; var $ = layui.jquery; var layer = layui.layer; var form = layui.form; - admin = layui.admin; + var admin = layui.admin; tableIns = table.render({ elem: '#chooseData', @@ -28,6 +28,7 @@ even: true, toolbar: '#toolbar', cellMinWidth: 50, + limit: 500, cols: [getCol()], done: function(res, curr, count) { limit(); @@ -134,23 +135,25 @@ } }) } + + + $(document).on('click','#mat-query', function () { + let loadIndex = layer.msg('璇锋眰涓�...', {icon: 16, shade: 0.01, time: false}); + locDetlLayerIdx = layer.open({ + type: 2, + title: false, + closeBtn: false, + maxmin: false, + area: ['90%', '85%'], + shadeClose: true, + content: 'locDetlQuery.html', + success: function(layero, index){ + layer.close(loadIndex); + } + }); + }) + }) - - -var locDetlLayerIdx; -function getLocDetl() { - locDetlLayerIdx = layer.open({ - type: 2, - title: false, - closeBtn: false, - maxmin: false, - area: ['90%', '85%'], - shadeClose: true, - content: 'locDetlQuery.html', - success: function(layero, index){ - } - }); -} // 娣诲姞琛ㄦ牸鏁版嵁 function addTableData(data) { -- Gitblit v1.9.1