From b66eab74b627b0e3746f5cb4f6a7d7cb142e9a6d Mon Sep 17 00:00:00 2001
From: zhaowei <zhaowei>
Date: 星期四, 01 八月 2024 10:36:42 +0800
Subject: [PATCH] OEE综合效率分析页面删除加工数量和标准加工时间字段

---
 src/views/eam/modules/site/ProductionLineModel.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/views/eam/modules/site/ProductionLineModel.vue b/src/views/eam/modules/site/ProductionLineModel.vue
index 29db281..7ac1c10 100644
--- a/src/views/eam/modules/site/ProductionLineModel.vue
+++ b/src/views/eam/modules/site/ProductionLineModel.vue
@@ -21,7 +21,7 @@
               :wrapperCol="{span:18}"
             >
               <a-input
-                :readOnly="true"
+                :readOnly="codeDisable"
                 allow-clear
                 placeholder="灏嗙敱绯荤粺鑷姩鐢熸垚"
                 v-decorator="['num', validatorRules.num ]"
@@ -89,7 +89,7 @@
 
 <script>
 import pick from 'lodash.pick'
-import { getAction,postAction, requestPut } from '@/api/manage'
+import { getAction, postAction, requestPut } from '@/api/manage'
 import { duplicateCheck } from '@/api/api'
 
 export default {
@@ -142,6 +142,7 @@
         getNum: '/eam/sysIdentity/getNumNew',
       },
       disableSubmit: false,
+      codeDisable: false,
       //鏂板銆佺紪杈戙�佸垹闄ゃ�佹壒閲忓垹闄ゆ搷浣滄敼鍙樻暟鎹悗鍒锋柊鍏宠仈鐨勭粍浠剁殑鐩戝惉灞炴��
       alterFlag: ""
     }
@@ -168,6 +169,9 @@
             }
           })
         });
+        this.codeDisable = false;
+      } else {
+        this.codeDisable = true;
       }
     },
     close() {

--
Gitblit v1.9.3