From d9eb3f8449df7791df436f3d69f91814ba6ff79b Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期四, 06 三月 2025 09:47:03 +0800 Subject: [PATCH] art: 设备台账-分类设备 页面修改,直接引用 所有设备页面,统一编码和修改 --- 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