From 1529733dfaba7e7d3bb32f125c672d835aa5f1b5 Mon Sep 17 00:00:00 2001
From: 张诺 <zhang_12370@163.com>
Date: 星期一, 27 四月 2026 11:21:53 +0800
Subject: [PATCH] 煌水峡web 报工和附件前端报错
---
src/views/productionManagement/productionProcess/index.vue | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/src/views/productionManagement/productionProcess/index.vue b/src/views/productionManagement/productionProcess/index.vue
index 4f3f3ef..98c070f 100644
--- a/src/views/productionManagement/productionProcess/index.vue
+++ b/src/views/productionManagement/productionProcess/index.vue
@@ -99,12 +99,30 @@
prop: "name",
},
{
+ label: "宸ュ簭绫诲瀷",
+ prop: "typeText",
+ },
+ {
label: "宸ヨ祫瀹氶",
prop: "salaryQuota",
},
{
label: "鏄惁璐ㄦ",
prop: "isQuality",
+ formatData: (params) => {
+ return params ? "鏄�" : "鍚�";
+ },
+ },
+ {
+ label: "鏄惁鍏ュ簱",
+ prop: "inbound",
+ formatData: (params) => {
+ return params ? "鏄�" : "鍚�";
+ },
+ },
+ {
+ label: "鏄惁鎶ュ伐",
+ prop: "reportWork",
formatData: (params) => {
return params ? "鏄�" : "鍚�";
},
@@ -175,6 +193,7 @@
tableLoading.value = false;
tableData.value = res.data.records.map(item => ({
...item,
+ typeText: item.type !== undefined && item.type !== null ? (item.type === 0 ? "璁℃椂" : "璁′欢") : "",
}));
page.total = res.data.total;
})
--
Gitblit v1.9.3