Commit 2f2745ec by 王志慧

fixed

1 parent 23af8b8e
...@@ -668,6 +668,7 @@ export default { ...@@ -668,6 +668,7 @@ export default {
}, },
//提现导入 //提现导入
handleImport() { handleImport() {
this.clearFile()
this.isImport = true this.isImport = true
}, },
clearFile() { clearFile() {
...@@ -703,6 +704,7 @@ export default { ...@@ -703,6 +704,7 @@ export default {
this.importForm.isLoading = 1 this.importForm.isLoading = 1
this.$apis.withdraw.uploadXlsx({ file: this.importForm.fileUrl }).then(res => { this.$apis.withdraw.uploadXlsx({ file: this.importForm.fileUrl }).then(res => {
if (this.isImport) {
if (res.code == 0) { if (res.code == 0) {
this.importForm.isLoading = 2 this.importForm.isLoading = 2
if (res.data.importStatue == 0) { if (res.data.importStatue == 0) {
...@@ -720,11 +722,11 @@ export default { ...@@ -720,11 +722,11 @@ export default {
type: 'error' type: 'error'
}) })
} }
}
}) })
}, },
cancelImport() { cancelImport() {
this.isImport = false this.isImport = false
this.clearFile()
}, },
//获取复选table数据 //获取复选table数据
selectionTable(val) { selectionTable(val) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!