From 648f83f5d4480ae9c2794d5f4e114085943bdf6e Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期五, 20 三月 2026 13:54:10 +0800
Subject: [PATCH] 造粒报工

---
 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