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 1/2] =?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; } From c3b54f780ff472a1d075ae681f643cff970a8fb2 Mon Sep 17 00:00:00 2001 From: weitingdong <2480899115@qq.com> Date: Thu, 11 Jul 2024 13:04:27 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=B7=A5=E5=99=A8=E5=85=B7=E5=8F=B0?= =?UTF-8?q?=E8=B4=A6=E8=AF=A6=E6=83=85=20=E9=85=8D=E7=BD=AE=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/views/index.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/router/views/index.js b/src/router/views/index.js index adc1608..a13c965 100644 --- a/src/router/views/index.js +++ b/src/router/views/index.js @@ -61,4 +61,17 @@ export default [{ component: () => import( /* webpackChunkName: "views" */ '@/views/leger/equipmentledgerDetail') }] + }, { + path: '/leger', + component: Layout, + redirect: '/leger/index', + children: [{ + path: 'toolinventoryrecordDetail', + name: '工器具台账详情', + meta: { + menu: false + }, + component: () => + import( /* webpackChunkName: "views" */ '@/views/leger/toolinventoryrecordDetail') }] +}]