From a251b673b7fdfec5eff1322d0a25d067f702b882 Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期二, 03 六月 2025 09:11:16 +0800
Subject: [PATCH] 1、批次管理新增申城数控加工程序确认表功能并实现打印功能 2、调整批次管理新增/修改信息弹窗样式 3、删除设备监控页面异常反馈功能 4、车间看板详情弹窗与设备监控页面详情弹窗保持一致

---
 src/views/system/modules/ProductionManager/ProductionModal.vue |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/src/views/system/modules/ProductionManager/ProductionModal.vue b/src/views/system/modules/ProductionManager/ProductionModal.vue
index 7c76baf..3a93426 100644
--- a/src/views/system/modules/ProductionManager/ProductionModal.vue
+++ b/src/views/system/modules/ProductionManager/ProductionModal.vue
@@ -43,6 +43,12 @@
         <a-form-model-item
           :labelCol="labelCol"
           :wrapperCol="wrapperCol"
+          label="鏄惁MDC浣跨敤">
+          <lx-switch checked-children='鏄�' un-checked-children='鍚�' v-model="model.mdcFlag"/>
+        </a-form-model-item>
+        <a-form-model-item
+          :labelCol="labelCol"
+          :wrapperCol="wrapperCol"
           label="鎺掑簭">
           <a-input-number v-model="model.productionOrder"/>
         </a-form-model-item>
@@ -115,14 +121,19 @@
         })
       },
       add (depart) {
+        this.visible = true;
+        this.model = {}
         if(depart){
           this.seen = false;
           this.dictDisabled = false;
+          this.model.parentId = depart.id;
+          this.model.mdcFlag = depart.mdcFlag;
         }else{
           this.seen = true;
           this.dictDisabled = true;
         }
-        this.edit(depart);
+        // this.edit(depart);
+        this.loadTreeData();
       },
       edit (record) {
         this.visible = true;

--
Gitblit v1.9.3