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') }] +}] 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; }