From e75ff849e33dd95b66ba62e7df8b553b83c654f7 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 16 一月 2026 10:20:01 +0800
Subject: [PATCH] fix: 生产订单-添加生产结构查询
---
src/views/productionManagement/workOrder/index.vue | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/views/productionManagement/workOrder/index.vue b/src/views/productionManagement/workOrder/index.vue
index acc3cd1..34b368d 100644
--- a/src/views/productionManagement/workOrder/index.vue
+++ b/src/views/productionManagement/workOrder/index.vue
@@ -289,6 +289,7 @@
clickFun: row => {
showReportDialog(row);
},
+ disabled: row => row.planQuantity <= 0,
},
],
},
@@ -400,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