From 6d4e2e28287d66e749b8f7fc51a478640f0f8291 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 16 四月 2026 14:34:13 +0800
Subject: [PATCH] fix: 是否入库、是否报工字段修改

---
 src/views/productionManagement/productionProcess/Edit.vue |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/views/productionManagement/productionProcess/Edit.vue b/src/views/productionManagement/productionProcess/Edit.vue
index 2d3d10b..28077b6 100644
--- a/src/views/productionManagement/productionProcess/Edit.vue
+++ b/src/views/productionManagement/productionProcess/Edit.vue
@@ -46,11 +46,11 @@
         <el-form-item label="鏄惁璐ㄦ" prop="isQuality">
           <el-switch v-model="formState.isQuality" :active-value="true" inactive-value="false"/>
         </el-form-item>
-        <el-form-item label="鏄惁鍏ュ簱" prop="isInbound">
-          <el-switch v-model="formState.isInbound" :active-value="true" inactive-value="false"/>
+        <el-form-item label="鏄惁鍏ュ簱" prop="inbound">
+          <el-switch v-model="formState.inbound" :active-value="true" inactive-value="false"/>
         </el-form-item>
-        <el-form-item label="鏄惁鎶ュ伐" prop="isReportWork">
-          <el-switch v-model="formState.isReportWork" :active-value="true" inactive-value="false"/>
+        <el-form-item label="鏄惁鎶ュ伐" prop="reportWork">
+          <el-switch v-model="formState.reportWork" :active-value="true" inactive-value="false"/>
         </el-form-item>
         <el-form-item label="澶囨敞" prop="remark">
           <el-input v-model="formState.remark" type="textarea" />
@@ -93,8 +93,8 @@
   remark: props.record.remark,
   salaryQuota: props.record.salaryQuota,
   isQuality: props.record.isQuality,
-  isInbound: props.record.isInbound,
-  isReportWork: props.record.isReportWork,
+  inbound: props.record.inbound,
+  reportWork: props.record.reportWork,
 });
 
 const isShow = computed({
@@ -117,8 +117,8 @@
       remark: newRecord.remark || '',
       salaryQuota: newRecord.salaryQuota || '',
       isQuality: props.record.isQuality,
-      isInbound: newRecord.isInbound,
-      isReportWork: newRecord.isReportWork,
+      inbound: newRecord.inbound,
+      reportWork: newRecord.reportWork,
     };
   }
 }, { immediate: true, deep: true });
@@ -134,8 +134,8 @@
       remark: props.record.remark || '',
       salaryQuota: props.record.salaryQuota || '',
       isQuality: props.record.isQuality,
-      isInbound: props.record.isInbound,
-      isReportWork: props.record.isReportWork,
+      inbound: props.record.inbound,
+      reportWork: props.record.reportWork,
     };
   }
 });

--
Gitblit v1.9.3