From 7c2bffa1a495cc4a3a263f654c08c231009c5c4e Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 02 四月 2026 10:59:45 +0800
Subject: [PATCH] #i18n
---
rsf-design/src/views/orders/asn-order/asnOrderTable.columns.js | 85 +++++++++++++++++++++---------------------
1 files changed, 43 insertions(+), 42 deletions(-)
diff --git a/rsf-design/src/views/orders/asn-order/asnOrderTable.columns.js b/rsf-design/src/views/orders/asn-order/asnOrderTable.columns.js
index 8ddfbc8..d3fb242 100644
--- a/rsf-design/src/views/orders/asn-order/asnOrderTable.columns.js
+++ b/rsf-design/src/views/orders/asn-order/asnOrderTable.columns.js
@@ -1,5 +1,6 @@
import { h } from 'vue'
import { ElButton, ElTag } from 'element-plus'
+import { $t } from '@/locales'
import ArtButtonMore from '@/components/core/forms/art-button-more/index.vue'
import ArtButtonTable from '@/components/core/forms/art-button-table/index.vue'
import { getAsnOrderActionList } from './asnOrderPage.helpers'
@@ -13,55 +14,55 @@
},
{
type: 'globalIndex',
- label: '搴忓彿',
+ label: $t('table.index'),
width: 72,
align: 'center'
},
{
prop: 'code',
- label: 'ASN鍗曞彿',
+ label: $t('pages.orders.asnOrder.search.code'),
minWidth: 170,
showOverflowTooltip: true
},
{
prop: 'poCode',
- label: 'PO鍗曞彿',
+ label: $t('pages.orders.asnOrder.search.poCode'),
minWidth: 170,
showOverflowTooltip: true
},
{
prop: 'wkTypeLabel',
- label: '涓氬姟绫诲瀷',
+ label: $t('pages.orders.asnOrder.search.wkType'),
minWidth: 130,
showOverflowTooltip: true
},
{
prop: 'anfme',
- label: '搴旀敹鏁伴噺',
+ label: $t('pages.orders.asnOrder.detail.anfme'),
width: 110,
align: 'right'
},
{
prop: 'qty',
- label: '宸叉敹鏁伴噺',
+ label: $t('pages.orders.asnOrder.detail.qty'),
width: 110,
align: 'right'
},
{
prop: 'supplierName',
- label: '渚涘簲鍟�',
+ label: $t('pages.orders.asnOrder.search.supplierName'),
minWidth: 180,
showOverflowTooltip: true
},
{
prop: 'purchaseUserName',
- label: '閲囪喘鍛�',
+ label: $t('pages.orders.asnOrder.search.purchaseUserName'),
minWidth: 120,
showOverflowTooltip: true
},
{
prop: 'exceStatusText',
- label: '鍗曟嵁鐘舵��',
+ label: $t('pages.orders.asnOrder.search.exceStatus'),
width: 120,
formatter: (row) =>
h(
@@ -72,13 +73,13 @@
},
{
prop: 'updateTimeText',
- label: '鏇存柊鏃堕棿',
+ label: $t('pages.orders.asnOrder.detail.updateTime'),
minWidth: 170,
showOverflowTooltip: true
},
{
prop: 'operation',
- label: '鎿嶄綔',
+ label: $t('table.operation'),
width: 120,
align: 'center',
fixed: 'right',
@@ -95,59 +96,59 @@
return [
{
type: 'globalIndex',
- label: '搴忓彿',
+ label: $t('table.index'),
width: 72,
align: 'center'
},
{
prop: 'matnrCode',
- label: '鐗╂枡缂栫爜',
+ label: $t('table.materialCode'),
minWidth: 150,
showOverflowTooltip: true
},
{
prop: 'maktx',
- label: '鐗╂枡鍚嶇О',
+ label: $t('table.materialName'),
minWidth: 220,
showOverflowTooltip: true
},
{
prop: 'platItemId',
- label: 'PO琛屽彿',
+ label: $t('pages.orders.asnOrder.table.poItemId'),
width: 110
},
{
prop: 'splrBatch',
- label: '渚涘簲鍟嗘壒娆�',
+ label: $t('table.supplierBatch'),
minWidth: 140,
showOverflowTooltip: true
},
{
prop: 'splrName',
- label: '渚涘簲鍟�',
+ label: $t('table.supplier'),
minWidth: 180,
showOverflowTooltip: true
},
{
prop: 'stockUnit',
- label: '鍗曚綅',
+ label: $t('table.unit'),
width: 100
},
{
prop: 'anfme',
- label: '搴旀敹鏁伴噺',
+ label: $t('pages.orders.asnOrder.table.expectedQty'),
width: 110,
align: 'right'
},
{
prop: 'qty',
- label: '宸叉敹鏁伴噺',
+ label: $t('pages.orders.asnOrder.table.receivedQty'),
width: 110,
align: 'right'
},
{
prop: 'memo',
- label: '澶囨敞',
+ label: $t('table.remark'),
minWidth: 180,
showOverflowTooltip: true
}
@@ -158,55 +159,55 @@
return [
{
type: 'globalIndex',
- label: '搴忓彿',
+ label: $t('table.index'),
width: 72,
align: 'center'
},
{
prop: 'code',
- label: 'PO鍗曞彿',
+ label: $t('pages.orders.asnOrder.search.poCode'),
minWidth: 170,
showOverflowTooltip: true
},
{
prop: 'wkTypeLabel',
- label: '涓氬姟绫诲瀷',
+ label: $t('pages.orders.asnOrder.search.wkType'),
minWidth: 130,
showOverflowTooltip: true
},
{
prop: 'source',
- label: '鏉ユ簮',
+ label: $t('table.source'),
minWidth: 140,
showOverflowTooltip: true
},
{
prop: 'supplierName',
- label: '渚涘簲鍟�',
+ label: $t('pages.orders.asnOrder.search.supplierName'),
minWidth: 180,
showOverflowTooltip: true
},
{
prop: 'purchaseUserName',
- label: '閲囪喘鍛�',
+ label: $t('pages.orders.asnOrder.search.purchaseUserName'),
minWidth: 120,
showOverflowTooltip: true
},
{
prop: 'remainingQty',
- label: '鍙缓鍗曟暟閲�',
+ label: $t('pages.orders.asnOrder.table.remainingQty'),
width: 120,
align: 'right'
},
{
prop: 'exceStatusText',
- label: 'PO鐘舵��',
+ label: $t('pages.orders.asnOrder.table.poStatus'),
minWidth: 120,
showOverflowTooltip: true
},
{
prop: 'operation',
- label: '鎿嶄綔',
+ label: $t('table.operation'),
width: 120,
align: 'center',
fixed: 'right',
@@ -223,65 +224,65 @@
return [
{
type: 'globalIndex',
- label: '搴忓彿',
+ label: $t('table.index'),
width: 72,
align: 'center'
},
{
prop: 'platItemId',
- label: 'PO琛屽彿',
+ label: $t('pages.orders.asnOrder.table.poItemId'),
width: 110
},
{
prop: 'matnrCode',
- label: '鐗╂枡缂栫爜',
+ label: $t('table.materialCode'),
minWidth: 150,
showOverflowTooltip: true
},
{
prop: 'maktx',
- label: '鐗╂枡鍚嶇О',
+ label: $t('table.materialName'),
minWidth: 220,
showOverflowTooltip: true
},
{
prop: 'splrName',
- label: '渚涘簲鍟�',
+ label: $t('table.supplier'),
minWidth: 180,
showOverflowTooltip: true
},
{
prop: 'splrBatch',
- label: '渚涘簲鍟嗘壒娆�',
+ label: $t('table.supplierBatch'),
minWidth: 140,
showOverflowTooltip: true
},
{
prop: 'unit',
- label: '鍗曚綅',
+ label: $t('table.unit'),
width: 100
},
{
prop: 'anfme',
- label: '閲囪喘鏁伴噺',
+ label: $t('pages.orders.asnOrder.table.purchaseQty'),
width: 110,
align: 'right'
},
{
prop: 'qty',
- label: '宸茬敓鎴怉SN鏁伴噺',
+ label: $t('pages.orders.asnOrder.table.generatedQty'),
width: 130,
align: 'right'
},
{
prop: 'nromQty',
- label: '鏀惰揣鏁伴噺',
+ label: $t('pages.orders.asnOrder.table.receivedQtyTotal'),
width: 110,
align: 'right'
},
{
prop: 'selectAction',
- label: '鎿嶄綔鎻愮ず',
+ label: $t('table.operation'),
minWidth: 120,
formatter: () =>
h(
@@ -291,7 +292,7 @@
type: 'primary',
class: '!px-0'
},
- () => '闅� PO 鍏ㄩ噺寤哄崟'
+ () => $t('pages.orders.asnOrder.buttons.createByPo')
)
}
]
--
Gitblit v1.9.1