From e5aced11100ffd999b67dd0292cd5e9a662029d6 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期四, 30 四月 2026 13:17:21 +0800
Subject: [PATCH] 更新工序相关逻辑,改用部件类型字典 `product_process_type`,并调整界面显示和数据格式化以兼容新字段名
---
src/views/productionManagement/workOrderEdit/index.vue | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/views/productionManagement/workOrderEdit/index.vue b/src/views/productionManagement/workOrderEdit/index.vue
index 9143026..b722764 100644
--- a/src/views/productionManagement/workOrderEdit/index.vue
+++ b/src/views/productionManagement/workOrderEdit/index.vue
@@ -180,6 +180,7 @@
clickFun: row => {
handleEdit(row);
},
+ disabled: row => Number(row.completeQuantity) > 0,
},
],
},
@@ -230,7 +231,7 @@
};
const getList = () => {
tableLoading.value = true;
- const params = { ...searchForm.value, ...page };
+ const params = { ...searchForm.value, ...page, type: 1 };
productWorkOrderPage(params)
.then(res => {
tableLoading.value = false;
@@ -297,9 +298,6 @@
getList();
})
.catch(() => {
- ElMessageBox.alert("淇敼澶辫触", "鎻愮ず", {
- confirmButtonText: "纭畾",
- });
});
};
--
Gitblit v1.9.3