From 9ced1289954c75ae3c8f55b6a1da16d9518853ae Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 20 三月 2026 15:14:15 +0800
Subject: [PATCH] fix: 生产详细接口对接90%

---
 src/views/productionManagement/workOrder/index.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/views/productionManagement/workOrder/index.vue b/src/views/productionManagement/workOrder/index.vue
index 9a5aadd..901a7dc 100644
--- a/src/views/productionManagement/workOrder/index.vue
+++ b/src/views/productionManagement/workOrder/index.vue
@@ -406,7 +406,9 @@
   productProcessRouteItemId: "",
   userId: "",
   productMainId: null,
-  otherData: {}
+  otherData: {
+    rows: [],
+  }
 });
 const productionRecordFormRef = ref();
 
@@ -695,7 +697,7 @@
 
 const handleReport = async () => {
   const data = await productionRecordFormRef.value.submitData()
-  reportForm.otherData = JSON.stringify(data || {});
+  reportForm.otherData.rows = JSON.stringify(data || {});
   reportFormRef.value?.validate((valid) => {
     if (!valid) {
       return false;

--
Gitblit v1.9.3