|
|
@ -71,6 +71,14 @@ |
|
|
|
<a-radio :value="1">是</a-radio> |
|
|
|
<a-radio :value="1">是</a-radio> |
|
|
|
</a-radio-group> |
|
|
|
</a-radio-group> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
|
|
|
|
<a-form-item label="是否店内" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
|
|
|
<a-radio-group |
|
|
|
|
|
|
|
v-decorator="['is_in_store', { initialValue: 0, rules: [{ required: true }] }]" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<a-radio :value="0">否</a-radio> |
|
|
|
|
|
|
|
<a-radio :value="1">是</a-radio> |
|
|
|
|
|
|
|
</a-radio-group> |
|
|
|
|
|
|
|
</a-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<a-form-item label="商品编码" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<a-form-item label="商品编码" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<a-input placeholder="请输入商品编码" v-decorator="['goods_no']" /> |
|
|
|
<a-input placeholder="请输入商品编码" v-decorator="['goods_no']" /> |
|
|
@ -602,7 +610,7 @@ export default { |
|
|
|
// 表单字段与tabKey对应关系 |
|
|
|
// 表单字段与tabKey对应关系 |
|
|
|
// 只需要必填字段就可 |
|
|
|
// 只需要必填字段就可 |
|
|
|
const tabsFieldsMap = [ |
|
|
|
const tabsFieldsMap = [ |
|
|
|
['goods_type', 'goods_name', 'categorys', 'imagesIds', 'delivery_id', 'is_ind_delivery_type', 'delivery_type','is_brand'], |
|
|
|
['goods_type', 'goods_name', 'categorys', 'imagesIds', 'delivery_id', 'is_ind_delivery_type', 'delivery_type','is_brand', 'is_in_store'], |
|
|
|
['spec_type', 'goods_price', 'is_restrict', 'restrict_total', 'restrict_single'], |
|
|
|
['spec_type', 'goods_price', 'is_restrict', 'restrict_total', 'restrict_single'], |
|
|
|
['content'], |
|
|
|
['content'], |
|
|
|
['alone_grade_equity', 'first_money', 'second_money', 'third_money'] |
|
|
|
['alone_grade_equity', 'first_money', 'second_money', 'third_money'] |
|
|
|