Browse Source

修改bug

chenrui 10 months ago
parent
commit
04148c1d03

+ 2 - 2
src/views/promotionManagement/promotionInfo/edit.vue

@@ -279,7 +279,7 @@
                     返券金额<a-input-number
                       v-model="sellForm.ruleValue"
                       style="margin:0 5px;"
-                      :min="0.01"
+                      :min="0"
                       :step="1"
                       :precision="2"
                       :max="99999999"
@@ -595,7 +595,7 @@ export default {
     // 批量添加
     handleBatchAdd () {
       if (!this.sellForm.ruleValue) {
-        this.$message.warning('请输入返券金额!')
+        this.$message.warning('请输入返券金额(需大于零)!')
         return
       }
       this.$refs.chooseProduct.editMorePrice(this.sellForm.ruleValue)

+ 1 - 1
src/views/promotionManagement/promotionInfo/productTable.vue

@@ -28,7 +28,7 @@
         </template>
         <template slot="ruleValue" slot-scope="text,record">
           <a-input-number
-            :min="0.01"
+            :min="0"
             :step="1"
             :precision="2"
             :max="99999999"