From 7fbe0f95cf428eb516f9015adae8bbe4baf539d4 Mon Sep 17 00:00:00 2001
From: hyingbo <1363390067@qq.com>
Date: 星期五, 25 七月 2025 11:01:15 +0800
Subject: [PATCH] 安灯管理列表筛选条件修改

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