处理交互

main
陈伟 8 months ago
parent 9e84530b05
commit e331c86047
  1. 2
      src/views/dataCenter/goods/Create.vue
  2. 10
      src/views/dataCenter/goods/Update.vue

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

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

Loading…
Cancel
Save