...
|
...
|
@@ -333,7 +333,7 @@ import MuliSelect from './views/muli-select'; |
|
|
import Age from './views/age';
|
|
|
import Season from './views/season';
|
|
|
import Gender from './views/gender';
|
|
|
import GoodsSeason from './views/goods-season'
|
|
|
import GoodsSeason from './views/goods-season';
|
|
|
|
|
|
import service from './service';
|
|
|
import api from './api';
|
...
|
...
|
@@ -590,8 +590,9 @@ export default { |
|
|
|
|
|
one.forEach((s) => {
|
|
|
let i = _.find(this.render.attributeProValuesOne, {attributeId: s.attributeId});
|
|
|
|
|
|
if (i) {
|
|
|
i.model = s.attributeValueIds.map(s => `${s}`);
|
|
|
i.model = s.attributeValueIds.map(id => `${id}`);
|
|
|
}
|
|
|
});
|
|
|
|
...
|
...
|
@@ -599,7 +600,7 @@ export default { |
|
|
let i = _.find(this.render.attributeProValuesTwo, {attributeId: s.attributeId});
|
|
|
|
|
|
if (i) {
|
|
|
i.model = s.attributeValueIds.map(s => `${s}`);
|
|
|
i.model = s.attributeValueIds.map(id => `${id}`);
|
|
|
}
|
|
|
});
|
|
|
});
|
...
|
...
|
@@ -740,7 +741,7 @@ export default { |
|
|
desc: '该商品保存成功!'
|
|
|
});
|
|
|
|
|
|
this.$router.push({name: 'product.offsale'})
|
|
|
this.$router.push({name: 'product.offsale'});
|
|
|
} else {
|
|
|
this.$Notice.error({
|
|
|
title: '保存错误',
|
...
|
...
|
@@ -792,6 +793,7 @@ export default { |
|
|
let sizeId = s.id;
|
|
|
let productSku = s.productSku;
|
|
|
let factoryCode = color.sizeCode[i].name;
|
|
|
|
|
|
return {sizeId, factoryCode, productSku};
|
|
|
});
|
|
|
},
|
...
|
...
|
|