From 07c8dabe3c321456139c495703e34e03ccfcfe4a Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 16 四月 2026 17:19:24 +0800
Subject: [PATCH] 进销存升级 1.销售采购模块下拉框添加筛选功能
---
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..98c070f 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: "inbound",
+ formatData: (params) => {
+ return params ? "鏄�" : "鍚�";
+ },
+ },
+ {
+ label: "鏄惁鎶ュ伐",
+ prop: "reportWork",
+ 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