Sfoglia il codice sorgente

创建盲票优惠券新增使用范围修改判断

DELL 3 anni fa
parent
commit
8b4f8907a6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/views/business/coupon/add.vue

+ 1 - 1
src/views/business/coupon/add.vue

@@ -179,7 +179,7 @@ export default {
   methods: {
     update() {
       if (this.addData.type == 1) {
-        if(this.addData.useArea !== 0 && this.addData.useArea !== 1 && this.addData.useArea !== 2) {
+        if(this.addData.useArea !== 0 && this.addData.useArea !== 1 && this.addData.useArea !== 3 && this.addData.useArea !== 4) {
           this.$message({
             message: '请选择使用范围!',
             type: 'warning'