From cde0db15609356644ab5e616782ee5e72cec4c01 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期一, 14 四月 2025 15:42:23 +0800
Subject: [PATCH] 界面翻译为俄语
---
src/main/webapp/static/js/pakStore/stockOut.js | 53 ++++++++++++++++++++++++++++-------------------------
1 files changed, 28 insertions(+), 25 deletions(-)
diff --git a/src/main/webapp/static/js/pakStore/stockOut.js b/src/main/webapp/static/js/pakStore/stockOut.js
index af9afd9..2045242 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();
@@ -43,11 +44,11 @@
if (obj.field === 'count'){
let vle = Number(obj.value);
if (isNaN(vle)) {
- layer.msg("璇疯緭鍏ユ暟瀛�", {icon: 2});
+ layer.msg("袙胁械写懈褌械 褔懈褋谢芯", {icon: 2});
modify = false;
} else {
if (vle <= 0) {
- layer.msg("鏁伴噺蹇呴』澶т簬闆�", {icon: 2});
+ layer.msg("袣芯谢懈褔械褋褌胁芯 写芯谢卸薪芯 斜褘褌褜 斜芯谢褜褕械 薪褍谢褟", {icon: 2});
modify = false;
}
if (vle > Number(data.anfme)) {
@@ -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