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/stoMan/stoQue.js | 52 ++++++++++++++++++++++++++++++----------------------
1 files changed, 30 insertions(+), 22 deletions(-)
diff --git a/src/main/webapp/static/js/stoMan/stoQue.js b/src/main/webapp/static/js/stoMan/stoQue.js
index 4fe0666..2209638 100644
--- a/src/main/webapp/static/js/stoMan/stoQue.js
+++ b/src/main/webapp/static/js/stoMan/stoQue.js
@@ -7,34 +7,42 @@
var layDate = layui.laydate;
var form = layui.form;
+ layDate.render({
+ elem: '.layui-laydate-range'
+ ,type: 'datetime'
+ ,range: true
+ });
+
// 鏁版嵁娓叉煋
tableIns = table.render({
elem: '#stoQue',
headers: {token: localStorage.getItem('token')},
url: baseUrl+'/locMast/list/auth',
page: true,
- limit: 10,
+ limit: 20,
+ limits: [20, 30, 50, 100, 200, 500],
even: true,
toolbar: '#toolbar',
cellMinWidth: 50,
cols: [[
{type: 'checkbox'}
- ,{field: 'locNo', align: 'center',title: '搴撲綅鍙�'}
- ,{field: 'locType$', align: 'center',title: '搴撲綅鐘舵��', width: 180, style: 'color: #8E2323'}
- ,{field: 'whsType$', align: 'center',title: '搴撲綅绫诲瀷'}
- ,{field: 'crnNo', align: 'center',title: '鍫嗗灈鏈哄彿'}
- ,{field: 'row1', align: 'center',title: '鎺�'}
- ,{field: 'bay1', align: 'center',title: '鍒�'}
- ,{field: 'lev1', align: 'center',title: '灞�'}
- ,{field: 'fullPlt', align: 'center',title: '婊℃澘', templet:function(row){
+ ,{field: 'locNo', align: 'center',title: '袧芯屑械褉 褋泻谢邪写褋泻芯谐芯 屑械褋褌邪'}
+ ,{field: 'locSts$', align: 'center',title: '袨锌懈褋邪薪懈械 褋芯褋褌芯褟薪懈褟 屑械褋褌邪', width: 180, style: 'color: #8E2323'}
+ // ,{field: 'whsType$', align: 'center',title: '搴撲綅绫诲瀷'}
+ ,{field: 'crnNo', align: 'center',title: '袧芯屑械褉 褕褌邪斜械谢械褉邪'}
+ ,{field: 'row1', align: 'center',title: '袪褟写'}
+ ,{field: 'bay1', align: 'center',title: '袣芯谢芯薪泻邪'}
+ ,{field: 'lev1', align: 'center',title: '携褉褍褋'}
+ ,{field: 'fullPlt', align: 'center',title: '袩芯谢薪褘械 锌芯写写芯薪褘', templet:function(row){
var html = "<input value='fullPlt' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
if(row.fullPlt === 'Y'){html += " checked ";}
html += "disabled='disabled' >";
return html;
},width:80}
- ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳'}
- ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', width: 180}
- ,{ fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate'}
+ ,{field: 'barcode', align: 'center',title: '楔褌褉懈褏-泻芯写'}
+ ,{field: 'modiUser$', align: 'center',title: '袪械写邪泻褌懈褉芯胁邪谢'}
+ ,{field: 'modiTime$', align: 'center',title: '袙褉械屑褟 褉械写邪泻褌懈褉芯胁邪薪懈褟', width: 180}
+ ,{ fixed: 'right', title:'袨锌械褉邪褑懈褟', align: 'center', toolbar: '#operate'}
]],
request: {
pageName: 'curr',
@@ -103,7 +111,7 @@
alert("杩樻病鍋�");
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) {
@@ -150,10 +158,10 @@
// 鏌ョ湅鏄庣粏
case 'locDetl':
// locDetl(data.locNo);
- if (data.locType.trim() === ''
- || data.locType.trim() === 'S'
- || data.locType.trim() === 'D'
- || data.locType.trim() === 'O') {
+ if (data.locSts.trim() === ''
+ || data.locSts.trim() === 'S'
+ || data.locSts.trim() === 'D'
+ || data.locSts.trim() === 'O') {
layer.msg("姝ゅ簱浣嶇殑鐘舵�佷笉瀛樺湪鐗╂枡");
return;
}
@@ -167,7 +175,7 @@
locNo = val;
layer.open({
type: 2,
- title: '搴撳瓨鏄庣粏',
+ title: '袛械褌邪谢懈蟹邪褑懈褟 蟹邪锌邪褋芯胁',
maxmin: true,
area: [top.detailWidth, top.detailHeight],
shadeClose: true,
@@ -193,7 +201,7 @@
cellMinWidth: 50,
cols: [[
// {type: 'checkbox'}
- {field: 'locNo$', align: 'center',title: '搴撲綅鍙�'}
+ {field: 'locNo$', align: 'center',title: '袧芯屑械褉 褋泻谢邪写褋泻芯谐芯 屑械褋褌邪'}
,{field: 'matnr', align: 'center',title: '鐗╂枡'}
,{field: 'lgnum', align: 'center',title: '浠撳簱鍙�'}
,{field: 'tbnum', align: 'center',title: '杞偍璇锋眰缂栧彿'}
@@ -201,9 +209,9 @@
,{field: 'zmatid', align: 'center',title: '鐗╂枡鏍囩ID'}
,{field: 'maktx', align: 'center',title: '鐗╂枡鎻忚堪'}
,{field: 'werks', align: 'center',title: '宸ュ巶'}
- ,{field: 'anfme', align: 'center',title: '鏁伴噺'}
- ,{field: 'altme', align: 'center',title: '鍗曚綅'}
- ,{field: 'zpallet', align: 'center',title: '鎵樼洏鏉$爜'}
+ ,{field: 'anfme', align: 'center',title: '袣芯谢懈褔械褋褌胁芯'}
+ ,{field: 'altme', align: 'center',title: '笑械薪邪 蟹邪 械写懈薪懈褑褍'}
+ ,{field: 'zpallet', align: 'center',title: '楔褌褉懈褏-泻芯写 锌芯写写芯薪邪'}
,{field: 'bname', align: 'center',title: '鐢ㄦ埛ID'}
]],
request: {
--
Gitblit v1.9.1