Commit 792c8cf4 by liang ce

退款后刷新列表

parent b1af938c
...@@ -152,6 +152,7 @@ export default { ...@@ -152,6 +152,7 @@ export default {
}, },
// 退款 // 退款
refund () { refund () {
const _that = this;
if (this.form.getFieldsValue().remark === undefined) { if (this.form.getFieldsValue().remark === undefined) {
this.$message.error('请输入备注') this.$message.error('请输入备注')
} else { } else {
...@@ -165,6 +166,7 @@ export default { ...@@ -165,6 +166,7 @@ export default {
this.$message.success('退款成功') this.$message.success('退款成功')
this.visible = false this.visible = false
this.form.resetFields() this.form.resetFields()
_that.queryRecordList()
} else { } else {
this.$message.error(res.data.message) this.$message.error(res.data.message)
} }
......
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