...
|
...
|
@@ -123,7 +123,7 @@ |
|
|
pageData,
|
|
|
filters: filterFields,
|
|
|
initialFilters: '',
|
|
|
batchOffSale: [],
|
|
|
batchOnSale: [],
|
|
|
useFilterSign: false
|
|
|
}
|
|
|
},
|
...
|
...
|
@@ -224,13 +224,13 @@ |
|
|
},
|
|
|
|
|
|
batchSetOnSale() {
|
|
|
if(!this.batchOffSale.length) {
|
|
|
if(!this.batchOnSale.length) {
|
|
|
return this.$Message.error('请选择要上架的商品');
|
|
|
}
|
|
|
|
|
|
let skns = [];
|
|
|
|
|
|
_.each(this.batchOffSale, (item) => {
|
|
|
_.each(this.batchOnSale, (item) => {
|
|
|
skns.push(item.productSkn);
|
|
|
});
|
|
|
|
...
|
...
|
@@ -265,7 +265,7 @@ |
|
|
});
|
|
|
},
|
|
|
selectChange(selection) {
|
|
|
this.batchOffSale = selection;
|
|
|
this.batchOnSale = selection;
|
|
|
}
|
|
|
},
|
|
|
components: {
|
...
|
...
|
|