main
fanfan 8 months ago
parent 6837567d7a
commit 654c0386f0
  1. 19
      src/views/dataCenter/goods/Update.vue

@ -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"

Loading…
Cancel
Save