From e55f015618ac1e85a5a6f7f3404a8b7a4f8f8e05 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期二, 08 四月 2025 15:31:22 +0800
Subject: [PATCH] 界面翻译为俄语
---
src/main/webapp/static/js/waitPakinLog/waitPakinLog.js | 52 +++++++++++++++++++++++++++-------------------------
1 files changed, 27 insertions(+), 25 deletions(-)
diff --git a/src/main/webapp/static/js/waitPakinLog/waitPakinLog.js b/src/main/webapp/static/js/waitPakinLog/waitPakinLog.js
index 0dd26b7..15a81c2 100644
--- a/src/main/webapp/static/js/waitPakinLog/waitPakinLog.js
+++ b/src/main/webapp/static/js/waitPakinLog/waitPakinLog.js
@@ -1,4 +1,24 @@
var pageCurr;
+function getCol() {
+ var cols = [
+ ];
+ cols.push.apply(cols, detlCols);
+ cols.push({field: 'status', align: 'center',title: '鏁版嵁鐘舵��', templet:function(row){
+ var html = "<input value='status' type='checkbox' lay-skin='switch' lay-text='袧芯褉屑邪谢褜薪芯|袨褕懈斜泻邪' lay-filter='tableCheckbox' disabled='disabled' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.status === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ }}
+ ,{field: 'ioStatus', align: 'center',title: '小褌邪褌褍褋 锌芯褋褌褍锌谢械薪懈褟/胁褘褏芯写邪', templet:function(row){
+ var html = "<input value='ioStatus' type='checkbox' lay-skin='switch' lay-text='袙 锌褉芯褑械褋褋械 锌芯褋褌褍锌谢械薪懈褟|袨卸懈写邪械褌 锌芯褋褌褍锌谢械薪懈褟' lay-filter='tableCheckbox' disabled='disabled' table-index='"+row.LAY_TABLE_INDEX+"'";
+ if(row.ioStatus === 'Y'){html += " checked ";}
+ html += ">";
+ return html;
+ }}
+ ,{field: 'modiUser$', align: 'center',title: '袪械写邪泻褌懈褉芯胁邪谢', hide:true}
+ ,{field: 'modiTime$', align: 'center',title: '袙褉械屑褟 褉械写邪泻褌懈褉芯胁邪薪懈褟', hide:true})
+ return cols;
+}
layui.use(['table','laydate', 'form'], function(){
var table = layui.table;
var $ = layui.jquery;
@@ -17,25 +37,7 @@
even: true,
toolbar: '#toolbar',
cellMinWidth: 50,
- cols: [[
- // {type: 'checkbox'}
-// ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80}
-// ,{field: 'id', align: 'center',title: '缂栧彿'}
- {field: 'pakinId', align: 'center',title: '鍏ュ簱閫氱煡鍙�'}
- ,{field: 'barcode', align: 'center',title: '鎵樼洏鐮�'}
- ,{field: 'matnr', align: 'center',title: '鐗╂枡缂栫爜'}
- ,{field: 'maktx', align: 'center',title: '鐗╂枡鎻忚堪'}
- ,{field: 'anfme', align: 'center',title: '鏁伴噺'}
- ,{field: 'unit', align: 'center',title: '鍗曚綅'}
- ,{field: 'status', align: 'center',title: '鐘舵��'}
- ,{field: 'memo', align: 'center',title: '澶囨敞',hide:true}
- ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿',hide:true}
- ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳',hide:true}
- // ,{field: 'appeTime$', align: 'center',title: '娣诲姞鏃堕棿'}
- // ,{field: 'appeUser$', align: 'center',title: '鍒涘缓鑰�',event: 'appeUser', style: 'cursor:pointer'}
-
- // ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
- ]],
+ cols: [getCol()],
request: {
pageName: 'curr',
pageSize: 'limit'
@@ -98,7 +100,7 @@
case 'addData':
layer.open({
type: 2,
- title: '鏂板',
+ title: '袛芯斜邪胁懈褌褜',
maxmin: true,
area: [top.detailWidth, top.detailHeight],
content: 'waitPakinLog_detail.html',
@@ -112,7 +114,7 @@
case 'deleteData':
var data = checkStatus.data;
if (data.length === 0){
- layer.msg('璇烽�夋嫨鏁版嵁');
+ layer.msg('袩芯卸邪谢褍泄褋褌邪, 胁褘斜械褉懈褌械 写邪薪薪褘械');
} else {
layer.confirm('纭畾鍒犻櫎'+(data.length===1?'姝�':data.length)+'鏉℃暟鎹悧', function(){
$.ajax({
@@ -136,7 +138,7 @@
}
break;
case 'exportData':
- layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+ layer.confirm('袩芯写褌胁械褉写懈褌褜 褝泻褋锌芯褉褌 胁 Excel?', {shadeClose: true}, function(){
var titles=[];
var fields=[];
obj.config.cols[0].map(function (col) {
@@ -203,7 +205,7 @@
case 'edit':
layer.open({
type: 2,
- title: '淇敼',
+ title: '袠蟹屑械薪懈褌褜',
maxmin: true,
area: [top.detailWidth, top.detailHeight],
content: 'waitPakinLog_detail.html',
@@ -221,7 +223,7 @@
case 'modiUser':
var param = top.reObject(data).modiUser;
if (param === undefined) {
- layer.msg("鏃犳暟鎹�");
+ layer.msg("袧械褌 写邪薪薪褘褏");
} else {
layer.open({
type: 2,
@@ -257,7 +259,7 @@
case 'appeUser':
var param = top.reObject(data).appeUser;
if (param === undefined) {
- layer.msg("鏃犳暟鎹�");
+ layer.msg("袧械褌 写邪薪薪褘褏");
} else {
layer.open({
type: 2,
--
Gitblit v1.9.1