From e8d1d68de1382c44e4ebb6fdda5607bf2c9b2ac0 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 16 四月 2026 14:20:01 +0800
Subject: [PATCH] fix: 生产管控可领料
---
src/views/productionManagement/productionProcess/index.vue | 27 ++++++++++++++++++++++++++-
1 files changed, 26 insertions(+), 1 deletions(-)
diff --git a/src/views/productionManagement/productionProcess/index.vue b/src/views/productionManagement/productionProcess/index.vue
index 67430cb..8c3e56f 100644
--- a/src/views/productionManagement/productionProcess/index.vue
+++ b/src/views/productionManagement/productionProcess/index.vue
@@ -98,10 +98,34 @@
label: "宸ュ簭鍚嶇О",
prop: "name",
},
-
+ {
+ label: "宸ュ簭绫诲瀷",
+ prop: "typeText",
+ },
{
label: "宸ヨ祫瀹氶",
prop: "salaryQuota",
+ },
+ {
+ label: "鏄惁璐ㄦ",
+ prop: "isQuality",
+ formatData: (params) => {
+ return params ? "鏄�" : "鍚�";
+ },
+ },
+ {
+ label: "鏄惁鍏ュ簱",
+ prop: "isInbound",
+ formatData: (params) => {
+ return params ? "鏄�" : "鍚�";
+ },
+ },
+ {
+ label: "鏄惁鎶ュ伐",
+ prop: "isReportWork",
+ formatData: (params) => {
+ return params ? "鏄�" : "鍚�";
+ },
},
{
label: "澶囨敞",
@@ -169,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