From 50e95b985a72fcec4a93a2470e9efdfb2620148a Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 02 四月 2026 15:46:09 +0800
Subject: [PATCH] #i18n
---
rsf-design/src/views/manager/loc-item/locItemTable.columns.js | 45 +++++++++++++++++++++++----------------------
1 files changed, 23 insertions(+), 22 deletions(-)
diff --git a/rsf-design/src/views/manager/loc-item/locItemTable.columns.js b/rsf-design/src/views/manager/loc-item/locItemTable.columns.js
index 4a73ded..7f415e9 100644
--- a/rsf-design/src/views/manager/loc-item/locItemTable.columns.js
+++ b/rsf-design/src/views/manager/loc-item/locItemTable.columns.js
@@ -1,113 +1,114 @@
import ArtButtonTable from '@/components/core/forms/art-button-table/index.vue'
+import { $t } from '@/locales'
export function createLocItemTableColumns({ enabledFields = [], handleView }) {
return [
{
prop: 'locId',
- label: '搴撲綅ID',
+ label: $t('pages.manager.locItem.table.locId'),
width: 110
},
{
prop: 'wareArea',
- label: '搴撳尯',
+ label: $t('pages.manager.locItem.table.wareArea'),
minWidth: 140,
showOverflowTooltip: true
},
{
prop: 'locCode',
- label: '搴撲綅缂栫爜',
+ label: $t('pages.manager.locItem.table.locCode'),
minWidth: 140,
showOverflowTooltip: true
},
{
prop: 'typeText',
- label: '涓氬姟绫诲瀷',
+ label: $t('pages.manager.locItem.table.type'),
minWidth: 120,
showOverflowTooltip: true
},
{
prop: 'wkTypeText',
- label: '宸ヤ綅绫诲瀷',
+ label: $t('pages.manager.locItem.table.wkType'),
minWidth: 120,
showOverflowTooltip: true
},
{
prop: 'orderId',
- label: '鍗曟嵁ID',
+ label: $t('pages.manager.locItem.table.orderId'),
minWidth: 120
},
{
prop: 'orderItemId',
- label: '鍗曟嵁鏄庣粏ID',
+ label: $t('pages.manager.locItem.table.orderItemId'),
minWidth: 130
},
{
prop: 'matnrId',
- label: '鐗╂枡ID',
+ label: $t('pages.manager.locItem.table.matnrId'),
minWidth: 110
},
{
prop: 'matnrCode',
- label: '鐗╂枡缂栫爜',
+ label: $t('pages.manager.locItem.table.matnrCode'),
minWidth: 160,
showOverflowTooltip: true
},
{
prop: 'maktx',
- label: '鐗╂枡鍚嶇О',
+ label: $t('pages.manager.locItem.table.maktx'),
minWidth: 220,
showOverflowTooltip: true
},
{
prop: 'spec',
- label: '瑙勬牸',
+ label: $t('pages.manager.locItem.table.spec'),
minWidth: 140,
showOverflowTooltip: true
},
{
prop: 'model',
- label: '鍨嬪彿',
+ label: $t('pages.manager.locItem.table.model'),
minWidth: 140,
showOverflowTooltip: true
},
{
prop: 'splrBatch',
- label: '渚涘簲鍟嗘壒娆�',
+ label: $t('table.supplierBatch'),
minWidth: 140,
showOverflowTooltip: true
},
{
prop: 'batch',
- label: '鎵规',
+ label: $t('pages.manager.locItem.table.batch'),
minWidth: 140,
showOverflowTooltip: true
},
{
prop: 'trackCode',
- label: '杩借釜鐮�',
+ label: $t('pages.manager.locItem.table.trackCode'),
minWidth: 150,
showOverflowTooltip: true
},
{
prop: 'unit',
- label: '鍗曚綅',
+ label: $t('table.unit'),
width: 100
},
{
prop: 'anfme',
- label: '鍙敤鏁伴噺',
+ label: $t('pages.manager.locItem.table.anfme'),
width: 110,
align: 'right'
},
{
prop: 'qty',
- label: '搴撳瓨鏁伴噺',
+ label: $t('pages.manager.locItem.table.qty'),
width: 110,
align: 'right'
},
{
prop: 'workQty',
- label: '鎵ц涓暟閲�',
+ label: $t('pages.manager.locItem.table.workQty'),
width: 120,
align: 'right'
},
@@ -120,18 +121,18 @@
})),
{
prop: 'statusText',
- label: '鐘舵��',
+ label: $t('table.status'),
width: 90
},
{
prop: 'updateTimeText',
- label: '鏇存柊鏃堕棿',
+ label: $t('table.updateTime'),
minWidth: 180,
showOverflowTooltip: true
},
{
prop: 'action',
- label: '璇︽儏',
+ label: $t('common.actions.detail'),
width: 96,
fixed: 'right',
align: 'center',
--
Gitblit v1.9.1