|
@@ -131,8 +131,8 @@ export default {
|
|
|
batchSaveSort() {
|
|
|
const sorts = []
|
|
|
this.list.map(item => {
|
|
|
- if (item.preferentialProductSort) {
|
|
|
- sorts.push(item.id + '-' + item.preferentialProductSort)
|
|
|
+ if (item.preferredProductSort) {
|
|
|
+ sorts.push(item.id + '-' + item.preferredProductSort)
|
|
|
}
|
|
|
})
|
|
|
saveGoodsSort({ newProducSorttList: sorts.join(','), modules: this.activeIndex }).then(response => {
|