浏览代码

Merge branch '01/06-vipActiveReset' into online

mo 4 年之前
父节点
当前提交
3eefbc9429
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      src/views/categroyManager/vipActiveList.vue
  2. 2 2
      src/views/categroyManager/vipNewActive.vue

+ 2 - 2
src/views/categroyManager/vipActiveList.vue

@@ -867,8 +867,8 @@ export default {
           let organId = this.resetForm.organ.join(",");
           let type = this.activeType;
           if (type == "DISCOUNT") {
-            if (this.attribute1 < 0 || this.attribute1 > 100) {
-              this.$message.error("折扣必须大于0且小于100");
+            if (this.attribute1 < 0 ) {
+              this.$message.error("折扣必须大于0");
               return;
             }
           }

+ 2 - 2
src/views/categroyManager/vipNewActive.vue

@@ -353,8 +353,8 @@ export default {
           let organId = this.vipform.organ.join(",");
           let type = this.activeType;
           if (type == 'DISCOUNT') {
-            if (this.attribute1 < 0 || this.attribute1 > 100) {
-              this.$message.error('折扣必须大于0且小于100')
+            if (this.attribute1 < 0 ) {
+              this.$message.error('折扣必须大于0')
               return
             }
           }