From a93d59d255da1d3d410c2706e44b3069af8503e9 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期一, 20 十月 2025 16:12:39 +0800
Subject: [PATCH] 将报表中查询‘全部’工序的中文替换成对应语言,并需改对应传入的参数
---
north-glass-erp/northglass-erp/src/views/pp/report/WorkInProgressCombination.vue | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/north-glass-erp/northglass-erp/src/views/pp/report/WorkInProgressCombination.vue b/north-glass-erp/northglass-erp/src/views/pp/report/WorkInProgressCombination.vue
index ff4828e..8d0bced 100644
--- a/north-glass-erp/northglass-erp/src/views/pp/report/WorkInProgressCombination.vue
+++ b/north-glass-erp/northglass-erp/src/views/pp/report/WorkInProgressCombination.vue
@@ -96,12 +96,7 @@
dataTotal: 0,
pageSize: 100
})
-let newItem= ref({
- basic_name: '鍏ㄩ儴',
- basic_type: 'product',
- basic_category: 'process',
- id: "001"
-})
+
//瀹氫箟鎺ユ敹鍔犺浇琛ㄥご涓嬫媺鏁版嵁
const titleSelectJson = ref({
processType: [],
@@ -121,7 +116,6 @@
// produceList = produceList.value.concat(deepClone(res.data.data))
titleSelectJson.value.processType = res.data.process
titleSelectJson.value.processType.splice(0,1)
- titleSelectJson.value.processType.unshift(newItem.value)
xGrid.value.reloadData(produceList)
gridOptions.loading = false
} else {
@@ -368,6 +362,10 @@
{{$t('report.workingProcedure')}}锛�
<el-select v-model="value" clearable :placeholder="$t('reportingWorks.selectProcess')" default-value="default_city" style="width: 120px">
<el-option
+ :label="t('report.allProcess')"
+ :value="'all'"
+ />
+ <el-option
v-for="item in titleSelectJson['processType']"
:key="item.id"
:label="item.basic_name"
--
Gitblit v1.8.0