|
|
|
@ -176,19 +176,12 @@ |
|
|
|
|
</div> |
|
|
|
|
<!-- 单规格的表单内容 --> |
|
|
|
|
<div v-if="form.getFieldValue('spec_type') == 10"> |
|
|
|
|
<a-form-item |
|
|
|
|
label="规格值" |
|
|
|
|
:labelCol="labelCol" |
|
|
|
|
:wrapperCol="wrapperCol" |
|
|
|
|
extra="规格值仅用于商品页展示" |
|
|
|
|
> |
|
|
|
|
<a-input-number |
|
|
|
|
:min="0" |
|
|
|
|
:precision="2" |
|
|
|
|
v-decorator="['specific_value', { rules: [{ required: true, message: '请输入规格值' }] }]" |
|
|
|
|
/> |
|
|
|
|
<span class="ml-10">元</span> |
|
|
|
|
</a-form-item> |
|
|
|
|
<a-form-item label="规格值" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
|
<a-input |
|
|
|
|
placeholder="多个规格值,以英文分号分隔" |
|
|
|
|
v-decorator="['specific_value', { rules: [{ required: true, message: '请输入规格值' }] }]" |
|
|
|
|
/> |
|
|
|
|
</a-form-item> |
|
|
|
|
<a-form-item |
|
|
|
|
label="商品价格" |
|
|
|
|
:labelCol="labelCol" |
|
|
|
|