|
|
@@ -93,7 +93,7 @@
|
|
|
direction="rtl"
|
|
|
:show-close="false"
|
|
|
append-to-body
|
|
|
- @close="onClose(visible = false)">
|
|
|
+ @close="onrowsClose(visible = false)">
|
|
|
<div class="drawer__panel" style="margin-bottom: 0 !important;">
|
|
|
<el-form :model="form" :rules="rules" ref="form" label-position="right" size="mini">
|
|
|
<tableTemplate ref="rows" :checkbox="true" :isInput="false" :isPagination="false" :param="orderRow.param" :layout="tablecols" height="calc(100vh - 200px)" :custom="true" :width="true" @selectionChange="rowsSelect" @listData="queryListData">
|
|
|
@@ -384,6 +384,7 @@ export default {
|
|
|
this.orderInfo = []
|
|
|
this.enterprisename = ''
|
|
|
this.sonum = ''
|
|
|
+ this.dialogVisible = false
|
|
|
this.$store.dispatch('changeDetailDrawer',true)
|
|
|
this.$router.push({path:'/overdueAdjustmentDetail',query:{id:res.data.sa_overdueadjustid,rowindex:res.data.rowindex}})
|
|
|
})
|
|
|
@@ -400,7 +401,17 @@ export default {
|
|
|
})
|
|
|
|
|
|
},
|
|
|
- onClose(){}
|
|
|
+ onClose(){
|
|
|
+ this.$refs.form.resetFields()
|
|
|
+ this.orderInfo = []
|
|
|
+ this.enterprisename = ''
|
|
|
+ this.sonum = ''
|
|
|
+ this.$refs.orderRow.list = []
|
|
|
+ this.dialogVisible = false
|
|
|
+ },
|
|
|
+ onrowsClose(){
|
|
|
+ this.visible = false
|
|
|
+ }
|
|
|
},
|
|
|
created() {
|
|
|
this.customer.tablecols = this.tool.tabelCol(this.$route.name).customerTable.tablecols
|