fix: 修复管理端商品分类,编辑时状态显示错误问题及佣金比例限制
parent
76fc55fdd0
commit
b7a2a5af6d
|
@ -114,14 +114,14 @@
|
||||||
<InputNumber v-model="formAdd.sortOrder"></InputNumber>
|
<InputNumber v-model="formAdd.sortOrder"></InputNumber>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem label="佣金比例(%)" prop="commissionRate" style="width: 345px">
|
<FormItem label="佣金比例(%)" prop="commissionRate" style="width: 345px">
|
||||||
<InputNumber v-model="formAdd.commissionRate"></InputNumber>
|
<InputNumber :max="100" :min="0" v-model="formAdd.commissionRate"></InputNumber>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem label="是否启用" prop="deleteFlag">
|
<FormItem label="是否启用" prop="deleteFlag">
|
||||||
<i-switch
|
<i-switch
|
||||||
size="large"
|
size="large"
|
||||||
v-model="formAdd.deleteFlag"
|
v-model="formAdd.deleteFlag"
|
||||||
:true-value="0"
|
:true-value="false"
|
||||||
:false-value="1"
|
:false-value="true"
|
||||||
>
|
>
|
||||||
<span slot="open">启用</span>
|
<span slot="open">启用</span>
|
||||||
<span slot="close">禁用</span>
|
<span slot="close">禁用</span>
|
||||||
|
|
Loading…
Reference in New Issue