From b4227b5145943e067351a2a59ca34826b41d6fb7 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期二, 15 四月 2025 09:46:30 +0800
Subject: [PATCH] 界面翻译为俄语

---
 src/main/webapp/static/js/pakStore/pakStore.js |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/src/main/webapp/static/js/pakStore/pakStore.js b/src/main/webapp/static/js/pakStore/pakStore.js
index cdfcffd..2c3c7d4 100644
--- a/src/main/webapp/static/js/pakStore/pakStore.js
+++ b/src/main/webapp/static/js/pakStore/pakStore.js
@@ -3,11 +3,11 @@
 var matCodeData = [];
 function getCol() {
     var cols = [
-        {fixed: 'left', field: 'anfme', title: '鏁伴噺锛堝繀濉級', align: 'center', edit:'text', width: 120,  style:'color: blue;font-weight: bold'},
-        {field: 'batch', title: '鎵瑰彿锛堥�夊~锛�', align: 'center', edit:'text', width: 200,  style:'color: block;font-weight: bold'}
+        {fixed: 'left', field: 'anfme', title: '袣芯谢懈褔械褋褌胁芯锛埿炐毖徯沸把傂敌谎屝叫� 写谢褟 蟹邪锌芯谢薪械薪懈褟锛�', align: 'center', edit:'text', width: 120,  style:'color: blue;font-weight: bold'},
+        {field: 'batch', title: '袧芯屑械褉 锌邪褉褌懈懈锛埿澬敌拘毖徯沸把傂敌谎屝叫撅級', align: 'center', edit:'text', width: 200,  style:'color: block;font-weight: bold'}
     ];
     cols.push.apply(cols, matCols);
-    cols.push({fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width: 80})
+    cols.push({fixed: 'right', title:'袨锌械褉邪褑懈褟', align: 'center', toolbar: '#operate', width: 80})
     return cols;
 }
 
@@ -42,11 +42,11 @@
         if (obj.field === 'anfme'){
             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;
                 }
             }
@@ -71,11 +71,11 @@
                 // 鍒ゆ柇鐗╂枡鏁伴噺鏄惁瀛樺湪寮傚父
                 for (var i=0;i<matCodeData.length;i++){
                     if (isNaN(matCodeData[i].anfme)) {
-                        layer.msg("璇疯緭鍏ユ暟瀛�", {icon: 2});
+                        layer.msg("袙胁械写懈褌械 褔懈褋谢芯", {icon: 2});
                         return;
                     }
                     if (matCodeData[i].anfme <= 0){
-                        layer.msg("鏁伴噺蹇呴』澶т簬闆�", {icon: 2});
+                        layer.msg("袣芯谢懈褔械褋褌胁芯 写芯谢卸薪芯 斜褘褌褜 斜芯谢褜褕械 薪褍谢褟", {icon: 2});
                         return;
                     }
                 }
@@ -84,6 +84,7 @@
                     layer.msg("璇烽�夋嫨鍏ュ簱绔�", {icon: 2});
                     return;
                 }
+                console.log(matCodeData)
                 $.ajax({
                     url: baseUrl+"/full/store/put/start",
                     headers: {'token': localStorage.getItem('token')},
@@ -148,6 +149,7 @@
 
     // 鎻愬彇鐗╂枡
     $(document).on('click','#mat-query', function () {
+        let loadIndex = layer.msg('璇锋眰涓�...', {icon: 16, shade: 0.01, time: false});
         matCodeLayerIdx = admin.open({
             type: 2,
             title: false,
@@ -157,6 +159,7 @@
             shadeClose: true,
             content: 'matQuery.html',
             success: function(layero, index){
+                layer.close(loadIndex);
             }
         });
     })
@@ -171,7 +174,7 @@
         return
     }
     $.ajax({
-        url: baseUrl + "/matCode/" + el.value + "/auth",
+        url: baseUrl + "/mat/" + el.value + "/auth",
         headers: {'token': localStorage.getItem('token')},
         method: 'GET',
         success: function (res) {

--
Gitblit v1.9.1