Authored by htoooth

fix

... ... @@ -15,16 +15,11 @@
</template>
<script>
import makeProduct from './store';
import {create} from './store';
export default {
data() {
return {
step: {
value: 0
},
product: makeProduct()
};
return create.call(this);
}
};
</script>
... ...
/**
* Created by TaoHuang on 2017/4/18.
*/
export default () => {
return {
step: {
value: 0
},
product: {
brandId: '',
brandName: '',
maxSortId: '',
maxSortName: '',
middleSortId: '',
middleSortName: '',
smallSortId: '',
smallSortName: '',
sortName: '',
productName: '',
phrase: '',
factoryCode: '',
goodsYears: new Date().getFullYear().toString(),
goodsSeason: '',
gender: '',
seasons: '',
expectSaleTimeStr: '',
ageLevel: '',
retailPrice: '',
salesPrice: '',
sellerGoodsInfoStr: '',
selectSize: [],
selectColor: [],
sellType: ''
}
};
};
... ...
/**
* Created by TaoHuang on 2017/4/18.
* Created by TaoHuang on 2017/6/20.
*/
// sortid 用来验证数据的
import create from './create';
export default () => {
return {
brandId: '',
brandName: '',
maxSortId: '',
maxSortName: '',
middleSortId: '',
middleSortName: '',
smallSortId: '',
smallSortName: '',
sortName: '',
productName: '',
phrase: '',
factoryCode: '',
goodsYears: new Date().getFullYear().toString(),
goodsSeason: '',
gender: '',
seasons: '',
expectSaleTimeStr: '',
ageLevel: '',
retailPrice: '',
salesPrice: '',
sellerGoodsInfoStr: '',
selectSize: [],
selectColor: [],
sellType: ''
};
};
export {
create
};
\ No newline at end of file
... ...
/**
* Created by TaoHuang on 2017/6/20.
*/
export default () => {
return {
};
};
\ No newline at end of file
... ...
/**
* Created by TaoHuang on 2017/6/20.
*/
... ...
/**
* Created by TaoHuang on 2017/6/20.
*/
... ...