|
@@ -535,12 +535,16 @@ export default {
|
|
|
window.open(`/api/trade-purchase/woodHarvestingCloud/export-template?${this.website.tokenHeader}=${getToken()}`)
|
|
|
},
|
|
|
uploadAfter(res, done, loading, column) {
|
|
|
- res.forEach(item => this.itemsVOList.push({
|
|
|
- ...item,
|
|
|
- $cellEdit: true
|
|
|
- }))
|
|
|
- this.excelBox = false
|
|
|
- done();
|
|
|
+ if (!res.message){
|
|
|
+ res.forEach(item => this.itemsVOList.push({
|
|
|
+ ...item,
|
|
|
+ $cellEdit: true
|
|
|
+ }))
|
|
|
+ this.excelBox = false
|
|
|
+ done();
|
|
|
+ }else {
|
|
|
+ loading()
|
|
|
+ }
|
|
|
},
|
|
|
//返回列表
|
|
|
backToList() {
|