Commit 08943eca by 王志慧

fixed

1 parent bf4b2e2b
...@@ -114,8 +114,8 @@ ...@@ -114,8 +114,8 @@
</div> </div>
</div> </div>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button plain size="small" class="btn-three" @click="cancelImport">取消</el-button> <el-button plain size="small" class="btn-three" @click="cancelImport" v-show="importForm.isSuccess == 0">取消</el-button>
<el-button type="primary" size="small" :loading="checkLoading" @click="comfirmImport">确定</el-button> <el-button type="primary" size="small" :loading="checkLoading" @click="comfirmImport" v-show="importForm.isLoading != 1">确定</el-button>
</span> </span>
</GLDialog> </GLDialog>
<!-- 详情 --> <!-- 详情 -->
...@@ -668,8 +668,9 @@ export default { ...@@ -668,8 +668,9 @@ export default {
}, },
//提现导入 //提现导入
handleImport() { handleImport() {
this.clearFile()
this.isImport = true this.isImport = true
this.clearFile()
}, },
clearFile() { clearFile() {
this.importForm = { this.importForm = {
...@@ -696,7 +697,6 @@ export default { ...@@ -696,7 +697,6 @@ export default {
}) })
return return
} }
if (isLoading == 1) return //加载中禁止后续操作
if (isImport && isSuccess != 0) { if (isImport && isSuccess != 0) {
this.isImport = false this.isImport = false
this.clearFile() this.clearFile()
...@@ -729,6 +729,8 @@ export default { ...@@ -729,6 +729,8 @@ export default {
}, },
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!