From 9d787c0f551bbf0dd096ebcbb79b8b69caaaddd7 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期五, 16 一月 2026 11:44:29 +0800
Subject: [PATCH] 原材料,过程,出厂检验新增编辑规格改成下拉框,值根据产品获取
---
src/views/productionManagement/workOrder/index.vue | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/views/productionManagement/workOrder/index.vue b/src/views/productionManagement/workOrder/index.vue
index d368de7..34b368d 100644
--- a/src/views/productionManagement/workOrder/index.vue
+++ b/src/views/productionManagement/workOrder/index.vue
@@ -214,6 +214,11 @@
width: "140",
},
{
+ label: "鐢熶骇璁㈠崟鍙�",
+ prop: "productOrderNpsNo",
+ width: "140",
+ },
+ {
label: "浜у搧鍚嶇О",
prop: "productName",
width: "140",
@@ -284,6 +289,7 @@
clickFun: row => {
showReportDialog(row);
},
+ disabled: row => row.planQuantity <= 0,
},
],
},
@@ -395,6 +401,12 @@
};
const handleReport = () => {
+ if (reportForm.planQuantity <= 0) {
+ ElMessageBox.alert("寰呯敓浜ф暟閲忎负0锛屾棤娉曟姤宸�", "鎻愮ず", {
+ confirmButtonText: "纭畾",
+ });
+ return;
+ }
if (!reportForm.quantity || reportForm.quantity <= 0) {
ElMessageBox.alert("璇疯緭鍏ユ湁鏁堢殑鏈鐢熶骇鏁伴噺", "鎻愮ず", {
confirmButtonText: "纭畾",
--
Gitblit v1.9.3