master
fanfan 4 months ago
parent 6f8024174a
commit 9bcb1ea462
  1. 14
      src/views/store/modules/EditForm.vue

@ -34,6 +34,18 @@
<a-radio :value="0"></a-radio>
</a-radio-group>
</a-form-item>
<a-form-item
label="是否更新自营产品市场价"
:labelCol="labelCol"
:wrapperCol="wrapperCol"
>
<a-radio-group
v-decorator="['is_update_zy_goods_price', { initialValue: 1, rules: [{ required: true }] }]"
>
<a-radio :value="10"></a-radio>
<a-radio :value="20"></a-radio>
</a-radio-group>
</a-form-item>
</a-form>
</a-spin>
</a-modal>
@ -88,7 +100,7 @@ export default {
*/
setFieldsValue () {
this.$nextTick(() => {
this.form.setFieldsValue(pick(this.record, ['is_sync_cate', 'is_provider_data']))
this.form.setFieldsValue(pick(this.record, ['is_sync_cate', 'is_provider_data','is_update_zy_goods_price']))
})
},
/**

Loading…
Cancel
Save