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/in-statistic-item/index.vue | 20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/rsf-design/src/views/manager/in-statistic-item/index.vue b/rsf-design/src/views/manager/in-statistic-item/index.vue
index 1809adb..5c49965 100644
--- a/rsf-design/src/views/manager/in-statistic-item/index.vue
+++ b/rsf-design/src/views/manager/in-statistic-item/index.vue
@@ -31,6 +31,7 @@
<script setup>
import { computed, ref } from 'vue'
+ import { useI18n } from 'vue-i18n'
import { useTable } from '@/hooks/core/useTable'
import { fetchGetInStatisticItemDetail, fetchInStatisticItemPage } from '@/api/in-statistic-item'
import {
@@ -44,6 +45,7 @@
import InStatisticItemDetailDrawer from './modules/in-statistic-item-detail-drawer.vue'
defineOptions({ name: 'InStatisticItem' })
+ const { t } = useI18n()
const searchForm = ref(createInStatisticItemSearchState())
const detailDrawerVisible = ref(false)
@@ -52,16 +54,16 @@
const searchItems = computed(() => [
{
- label: '鍏抽敭瀛�',
+ label: t('pages.manager.inStatisticItem.search.condition'),
key: 'condition',
type: 'input',
props: {
clearable: true,
- placeholder: '璇疯緭鍏ョ墿鏂欏悕绉�/缂栫爜/鎵规'
+ placeholder: t('pages.manager.inStatisticItem.search.conditionPlaceholder')
}
},
{
- label: '缁熻鏃ユ湡',
+ label: t('pages.manager.inStatisticItem.search.dayTime'),
key: 'dayTime',
type: 'date',
props: {
@@ -71,30 +73,30 @@
}
},
{
- label: '鐗╂枡鍚嶇О',
+ label: t('pages.manager.inStatisticItem.search.maktx'),
key: 'maktx',
type: 'input',
props: {
clearable: true,
- placeholder: '璇疯緭鍏ョ墿鏂欏悕绉�'
+ placeholder: t('pages.manager.inStatisticItem.search.maktxPlaceholder')
}
},
{
- label: '鐗╂枡缂栫爜',
+ label: t('pages.manager.inStatisticItem.search.matnrCode'),
key: 'matnrCode',
type: 'input',
props: {
clearable: true,
- placeholder: '璇疯緭鍏ョ墿鏂欑紪鐮�'
+ placeholder: t('pages.manager.inStatisticItem.search.matnrCodePlaceholder')
}
},
{
- label: '鎵规',
+ label: t('pages.manager.inStatisticItem.search.batch'),
key: 'batch',
type: 'input',
props: {
clearable: true,
- placeholder: '璇疯緭鍏ユ壒娆�'
+ placeholder: t('pages.manager.inStatisticItem.search.batchPlaceholder')
}
}
])
--
Gitblit v1.9.1