Commit 6050bc89 authored by 智勇's avatar 智勇

调整贷前关单文案

parent 121b6a4e
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
<el-dialog :visible.sync="dialogDeleteVisible" :data="order" title="Cancel"> <el-dialog :visible.sync="dialogDeleteVisible" :data="order" title="Cancel">
<span > <span >
确定要 {{ opt }} {{ order.channelId }} 吗? 确定要 {{ opt }} {{ order.channelOrderNumber }} 吗?
</span> </span>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="dialogDeleteVisible = false">取消</el-button> <el-button @click="dialogDeleteVisible = false">取消</el-button>
...@@ -223,6 +223,11 @@ export default { ...@@ -223,6 +223,11 @@ export default {
if (val) { if (val) {
this.order = val this.order = val
this.handleClick() this.handleClick()
} else {
this.order = {}
this.orderHistory = []
this.logHistory = []
this.callbackRecords = []
} }
}, },
...@@ -312,6 +317,7 @@ export default { ...@@ -312,6 +317,7 @@ export default {
}, },
handleClick() { handleClick() {
if (this.order.channelOrderNumber) {
if (this.activeName === 'orderHistory') { if (this.activeName === 'orderHistory') {
getOrderHistory({ channelOrderNumber: this.order.channelOrderNumber }).then(res => { getOrderHistory({ channelOrderNumber: this.order.channelOrderNumber }).then(res => {
this.orderHistory = res.data.historyStatus this.orderHistory = res.data.historyStatus
...@@ -329,5 +335,6 @@ export default { ...@@ -329,5 +335,6 @@ export default {
} }
} }
} }
}
} }
</script> </script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment