@@ -288,7 +288,7 @@
返券金额<a-input-number
v-model="sellForm.ruleValue"
style="margin:0 5px;"
- :min="0"
+ :min="0.01"
:step="1"
:precision="2"
:max="99999999"
@@ -725,7 +725,7 @@ export default {
},
// 批量添加
handleBatchAdd () {
- if (!this.sellForm.ruleValue) {
+ if (!this.sellForm.ruleValue || (this.sellForm.ruleValue && this.sellForm.ruleValue != 0)) {
this.$message.warning('请输入返券金额!')
return
}
@@ -28,7 +28,7 @@
</template>
<template slot="ruleValue" slot-scope="text,record">
<a-input-number