From 6ad4506685659ed625626d28a3cd7bb769983002 Mon Sep 17 00:00:00 2001 From: weitingdong <2480899115@qq.com> Date: Thu, 11 Jul 2024 13:01:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8C=89=E9=92=AE=20?= =?UTF-8?q?=E9=9A=90=E8=97=8F=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/leger/equipmentledgerDetail.vue | 21 ++++++++++-- src/views/leger/toolinventoryrecordDetail.vue | 34 ++++++++++++++++--- 2 files changed, 48 insertions(+), 7 deletions(-) diff --git a/src/views/leger/equipmentledgerDetail.vue b/src/views/leger/equipmentledgerDetail.vue index 15d1864..be57011 100644 --- a/src/views/leger/equipmentledgerDetail.vue +++ b/src/views/leger/equipmentledgerDetail.vue @@ -92,7 +92,7 @@ + v-if="UpdateShowButton"> 修改 + :class="frame_class" + > @@ -107,7 +108,7 @@ + v-if="UpdateShowButton"> 修改 { @@ -574,6 +588,7 @@ export default { seachToUpdate () { this.shouldShowButton=false; this.addUpdateShowButton=true; + this.UpdateShowButton=false; this.readonlyForm=false; this.frame_class = null; }, @@ -581,15 +596,19 @@ export default { this.readonlyForm=true; this.shouldShowButton=true; this.addUpdateShowButton=false; + this.UpdateShowButton=false; this.frame_class = 'frame_class1'; }, handleChange (column) { this.type = column if (column.prop == 'parameters') { + this.UpdateShowButton=false; this.parameters_onLoad(); }if (column.prop == 'document') { + this.UpdateShowButton=false; this.document_onLoad(); }if (column.prop == 'inspection') { + this.UpdateShowButton=false; this.inspection_onLoad(); } }, @@ -863,6 +882,11 @@ export default { pointer-events: none; } +.frame_class1 input::placeholder { + color: transparent; + display: none; /* 默认隐藏 */ +} + .frame_class1 .el-input__icon { display: none; }