From d380b19833e2b7ffaf8d68addf9be22760601389 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期三, 25 三月 2026 13:08:07 +0800
Subject: [PATCH] 生产报工中的生产记录必填校验未起作用

---
 src/views/productionManagement/workOrder/index.vue |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/views/productionManagement/workOrder/index.vue b/src/views/productionManagement/workOrder/index.vue
index 3fcfea6..2086b1f 100644
--- a/src/views/productionManagement/workOrder/index.vue
+++ b/src/views/productionManagement/workOrder/index.vue
@@ -729,6 +729,9 @@
 
 const handleReport = async () => {
   const data = await productionRecordFormRef.value.submitData()
+  if (!data) {
+    return;
+  }
   reportForm.otherData.rows = data || [];
   reportFormRef.value?.validate((valid) => {
     if (!valid) {

--
Gitblit v1.9.3