From 94b224c514f2a3d0773e9e053a0f9df87b61a26b Mon Sep 17 00:00:00 2001
From: zhangherong <571457620@qq.com>
Date: 星期五, 21 三月 2025 15:48:24 +0800
Subject: [PATCH] art: 系统管理-产线表 增加mdc_flag标识,并可进行维护

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

diff --git a/src/views/system/modules/ProductionManager/ProductionModal.vue b/src/views/system/modules/ProductionManager/ProductionModal.vue
index 7c76baf..d854dd5 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,20 @@
         })
       },
       add (depart) {
+        debugger
+        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