Commit 662bc0c6 by liwk

commit

1 parent 5fbec03d
......@@ -225,7 +225,6 @@
:action="uploadAction"
:on-preview="handlePreview"
:on-remove="handleRemove"
:file-list="fileList"
:on-success='onSuccess'
:auto-upload="false"
with-credentials
......@@ -300,7 +299,6 @@
:action="uploadmerIdAction"
:on-preview="handlePreview"
:on-remove="handleRemove"
:file-list="fileList"
:on-success='onMerIdSuccess'
:auto-upload="false"
with-credentials
......@@ -468,7 +466,6 @@ export default {
uploadAction: `${process.env.VUE_APP_API}shop/import`,
uploadmerIdAction: `${process.env.VUE_APP_API}shop/importMerId`,
fileTips: '',
fileList: [],
failFile: '',
batchId: null,
merIDlVisible: false,
......@@ -503,6 +500,7 @@ export default {
let id = row.id
if (!this.storeVisible) return
api.getStoreDetails({ id: id }, id).then(res => {
console.log(res)
let obj = {
id: id,
name: res.name,
......@@ -553,6 +551,7 @@ export default {
if (this.importExcelVisible) {
if (this.batchId) {
this.$refs.storeTable.refreshTable()
this.$refs.upload.clearFiles()
}
this.fileTips = ''
this.failFile = ''
......@@ -560,13 +559,7 @@ export default {
this.importExcelVisible = !this.importExcelVisible
// this.$refs.storeTable.refreshTable()
},
handleRemove (file, fileList) {
console.log(file, fileList);
},
handlePreview (file) {
console.log(file);
},
beforeRemove (file, fileList) {
beforeRemove (file) {
this.notice.warningTips()
return this.$confirm(`确定移除 ${file.name}?`);
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!