master
fanfan 1 month ago
parent 1298da74b0
commit e706a247df
  1. 8
      src/views/setting/modules/CreateForm.vue

@ -24,7 +24,13 @@
/>
</a-form-item>
<a-form-item label="加价率" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input v-decorator="['markup_rate', { rules: [{ required: true, message: '请输入加价率' }] }]" />
<a-input
addon-after="%"
v-decorator="['markup_rate', { rules: [{ required: true, message: '请输入加价率' }] }]"
/>
<div class="form-item-help">
<p class="extra">可输入小数比如0.5</p>
</div>
</a-form-item>
<a-form-item label="商家用户名" :labelCol="labelCol" :wrapperCol="wrapperCol" extra="商家后台登录用户名">
<a-input v-decorator="['user_name', { rules: [{ required: true, min: 4, message: '请输入至少4个字符' }] }]" />

Loading…
Cancel
Save