...
|
...
|
@@ -70,7 +70,7 @@ |
|
|
<Row>
|
|
|
<Col span="8">
|
|
|
<Form-item label="货品季" prop="goodsSeason">
|
|
|
<product-goods-season v-model="product.goodsSeason"></product-goods-season>
|
|
|
<SelectSeason v-model="product.goodsSeason"></SelectSeason>
|
|
|
</Form-item>
|
|
|
</Col>
|
|
|
</Row>
|
...
|
...
|
@@ -84,16 +84,16 @@ |
|
|
</Row>
|
|
|
|
|
|
<Form-item label="性别" prop="gender">
|
|
|
<product-gender v-model="product.gender"></product-gender>
|
|
|
<RadioGender v-model="product.gender"></RadioGender>
|
|
|
</Form-item>
|
|
|
|
|
|
<Form-item label="适销季" prop="seasons">
|
|
|
<product-season v-model="product.seasons"></product-season>
|
|
|
<RadioSeason v-model="product.seasons"></RadioSeason>
|
|
|
</Form-item>
|
|
|
|
|
|
|
|
|
<Form-item label="年龄层" prop="ageLevel">
|
|
|
<product-age v-model="product.ageLevel"></product-age>
|
|
|
<CheckboxAge v-model="product.ageLevel"></CheckboxAge>
|
|
|
</Form-item>
|
|
|
|
|
|
<Row>
|
...
|
...
|
@@ -187,15 +187,12 @@ |
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
|
|
|
import _ from 'lodash';
|
|
|
import api from 'product-create/api';
|
|
|
import service from 'product-create/service';
|
|
|
const _ = require('lodash');
|
|
|
|
|
|
import Age from './age';
|
|
|
import Season from './season';
|
|
|
import Gender from './gender';
|
|
|
import GoodsSeason from './goods-season';
|
|
|
import {CheckboxAge} from 'components/checkbox';
|
|
|
import {RadioSeason, RadioGender} from 'components/radio';
|
|
|
import {SelectSeason} from 'components/select';
|
|
|
|
|
|
const makeColor = () => {
|
|
|
return {
|
...
|
...
|
@@ -834,10 +831,10 @@ export default { |
|
|
}
|
|
|
},
|
|
|
components: {
|
|
|
'product-age': Age,
|
|
|
'product-season': Season,
|
|
|
'product-gender': Gender,
|
|
|
'product-goods-season': GoodsSeason,
|
|
|
CheckboxAge,
|
|
|
RadioSeason,
|
|
|
RadioGender,
|
|
|
SelectSeason,
|
|
|
}
|
|
|
};
|
|
|
</script>
|
...
|
...
|
|