|
|
|
@ -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'])) |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
/** |
|
|
|
|