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

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

Loading…
Cancel
Save