|
@@ -576,6 +576,7 @@ export default {
|
|
|
});
|
|
|
salesiteImport(params).then(response => {
|
|
|
this.vloading.close();
|
|
|
+ this.$refs.upload.clearFiles();
|
|
|
console.log(response,'response')
|
|
|
if(response.data && response.data.length){
|
|
|
let data1 = `<tr><th>手机号</th><th>门店名称</th><th>佣金比例(%)</th><th>上级渠道(手机号)</th><th>错误信息</th></tr>`
|
|
@@ -589,7 +590,6 @@ export default {
|
|
|
}else{
|
|
|
this.upload.open = false;
|
|
|
this.upload.isUploading = false;
|
|
|
- this.$refs.upload.clearFiles();
|
|
|
this.$message({
|
|
|
message: '导入成功',
|
|
|
type: 'success'
|