...
|
...
|
@@ -69,7 +69,7 @@ |
|
|
<Row>
|
|
|
<Col span="8">
|
|
|
<Form-item label="货品季">
|
|
|
<product-goods-season v-model="product.goodsSeason"></product-goods-season>
|
|
|
<SelectSeason v-model="product.goodsSeason" :disable="true"></SelectSeason>
|
|
|
</Form-item>
|
|
|
</Col>
|
|
|
</Row>
|
...
|
...
|
@@ -83,16 +83,16 @@ |
|
|
</Row>
|
|
|
|
|
|
<Form-item label="性别">
|
|
|
<product-gender v-model="product.gender"></product-gender>
|
|
|
<RadioGender v-model="product.gender" :disable="true"></RadioGender>
|
|
|
</Form-item>
|
|
|
|
|
|
<Form-item label="适销季">
|
|
|
<product-season v-model="product.seasons"></product-season>
|
|
|
<RadioSeason v-model="product.seasons" :disable="true"></RadioSeason>
|
|
|
</Form-item>
|
|
|
|
|
|
|
|
|
<Form-item label="年龄层">
|
|
|
<product-age v-model="product.ageLevel"></product-age>
|
|
|
<CheckboxAge v-model="product.ageLevel" :disable="true"></CheckboxAge>
|
|
|
</Form-item>
|
|
|
|
|
|
<Row>
|
...
|
...
|
@@ -336,10 +336,9 @@ |
|
|
|
|
|
import ShopMaterial from './views/material';
|
|
|
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 {CheckboxAge} from 'components/checkbox';
|
|
|
import {SelectSeason} from 'components/select';
|
|
|
import {RadioSeason, RadioGender} from 'components/radio';
|
|
|
|
|
|
import service from 'product-create/service';
|
|
|
import api from 'product-create/api';
|
...
|
...
|
@@ -695,7 +694,6 @@ export default { |
|
|
let goodsImageList = this.product.sellerGoodsImagesList;
|
|
|
|
|
|
this.table.data = _.range(goodsList.length).map((i) => {
|
|
|
console.log(goodsList[i], goodsImageList[i]);
|
|
|
return this.handleItem(goodsList[i], goodsImageList[i]);
|
|
|
});
|
|
|
|
...
|
...
|
@@ -1085,10 +1083,10 @@ export default { |
|
|
components: {
|
|
|
'shop-material': ShopMaterial,
|
|
|
'multi-select': MuliSelect,
|
|
|
'product-age': Age,
|
|
|
'product-season': Season,
|
|
|
'product-gender': Gender,
|
|
|
'product-goods-season': GoodsSeason
|
|
|
CheckboxAge,
|
|
|
RadioSeason,
|
|
|
RadioGender,
|
|
|
SelectSeason
|
|
|
},
|
|
|
watch: {
|
|
|
'table.selectedSizes': function(newVal, oldVal) {
|
...
|
...
|
|