From b0a7f824ec000a13d49e9e0e7e8e15e8e0401d25 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期四, 19 三月 2026 15:41:06 +0800
Subject: [PATCH] feat:1.工序检验时,需要加入【不良数量】(不良数量+合格数量=报工总数)、【原因】字段(不良原因做成字典)

---
 src/views/productionManagement/workOrder/components/CopperPrintingForm.vue |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/src/views/productionManagement/workOrder/components/CopperPrintingForm.vue b/src/views/productionManagement/workOrder/components/CopperPrintingForm.vue
index 7a11105..4d80750 100644
--- a/src/views/productionManagement/workOrder/components/CopperPrintingForm.vue
+++ b/src/views/productionManagement/workOrder/components/CopperPrintingForm.vue
@@ -18,10 +18,6 @@
     type: Boolean,
     default: false
   },
-  detailData: {
-    type: Object,
-    default: () => ({}),
-  },
   row: {
     type: Object,
     default: () => ({}),
@@ -150,8 +146,8 @@
 
 const initData = () => {
   if (!props.isEdit) {
-    formData.otherData = JSON.parse(props.detailData.otherData || '{}');
-    formData.quantity = props.detailData.quantity;
+    formData.otherData = JSON.parse(props.row.otherData || '{}');
+    formData.quantity = props.row.quantity;
   } else {
     const row = props.row;
     formData.planQuantity = row.planQuantity
@@ -174,7 +170,7 @@
 
 <template>
   <el-dialog v-model="visible"
-             title="鍗伴摐鎶ュ伐"
+             :title="isEdit? '鍗伴摐鎶ュ伐' : '璇︽儏'"
              width="90%">
     <el-form :model="formData">
       <table class="report-table">

--
Gitblit v1.9.3