From 6d4e2e28287d66e749b8f7fc51a478640f0f8291 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 16 四月 2026 14:34:13 +0800
Subject: [PATCH] fix: 是否入库、是否报工字段修改
---
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