feature/0423
陈伟 8 months ago
parent 134f6903b1
commit 2935e94ebb
  1. 2
      src/views/goods/Create.vue
  2. 10
      src/views/goods/Update.vue

@ -161,7 +161,7 @@
@change="onForceUpdate()" @change="onForceUpdate()"
> >
<a-radio :value="10">单规格</a-radio> <a-radio :value="10">单规格</a-radio>
<a-radio :value="20">多规格</a-radio> <!-- <a-radio :value="20">多规格</a-radio> -->
</a-radio-group> </a-radio-group>
</a-form-item> </a-form-item>
<!-- 多规格的表单内容 --> <!-- 多规格的表单内容 -->

@ -508,6 +508,16 @@ export default {
formData: GoodsModel.formData formData: GoodsModel.formData
} }
}, },
watch: {
// ID
'$route.query.goodsId' (val) {
if (val) {
this.goodsId = val
this.initData()
this.getDataList()
}
}
},
created () { created () {
// //
this.initData() this.initData()

Loading…
Cancel
Save