From 9733e3b67cd1abe6e7ce298cc048fabd86c0f24e Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期三, 25 六月 2025 10:01:09 +0800
Subject: [PATCH] 1、报警分析页面饼图种类过多时饼图颜色出现白色与背景色一致导致无法区分 2、综合效率分析页面计算OEE功能新增loading提示 3、统计分析和统计图表页面新增图表数据加载提示以及优化图表展示增加分辨率适应及代码

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