出门证bug修复
This commit is contained in:
parent
258fcfb470
commit
0a831b2842
|
|
@ -339,7 +339,7 @@
|
|||
</el-dialog>
|
||||
|
||||
<!-- 出门证 -->
|
||||
<el-dialog :visible.sync="showPass" width="800px" append-to-body>
|
||||
<el-dialog :visible.sync="showPass" width="800px" append-to-body @close="handleDialogClose">
|
||||
<el-form :model="passForm" label-width="80px" size="small" inline @submit.native.prevent>
|
||||
<el-form-item label="车牌号:">
|
||||
<el-input v-model="passForm.carNumber" placeholder="请输入车牌号" clearable style="width: 240px" />
|
||||
|
|
@ -375,7 +375,7 @@
|
|||
</div>
|
||||
<div slot="footer" class="dialog-footer" style="text-align: center">
|
||||
<el-button type="primary" @click="printPass">打 印</el-button>
|
||||
<el-button @click="showPass = false">关 闭</el-button>
|
||||
<el-button @click="handleDialogClose">关 闭</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
|
|
@ -632,6 +632,14 @@ export default {
|
|||
targetStyles: ['*'],
|
||||
maxWidth: '900'
|
||||
})
|
||||
},
|
||||
handleDialogClose() {
|
||||
this.showPass = false
|
||||
this.passForm = {
|
||||
passCode: '',
|
||||
passContent: '',
|
||||
passTime: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue