浏览代码

Merge branch 'develop_yh44' of http://git.chelingzhu.com/jianguan-web/jg-ocs-html into develop_yh44

lilei 10 月之前
父节点
当前提交
8016491fa0

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

@@ -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
       }

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

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