chenrui 10 månader sedan
förälder
incheckning
8d1cbf1c15
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      src/views/promotionRulesManagement/promotionManagement/edit.vue

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

@@ -578,8 +578,8 @@ export default {
     // },
     // },
     // 券有效期 change
     // 券有效期 change
     handleValidType (con) {
     handleValidType (con) {
-      this.sellForm.validType = con.target.value
-      if (con.target.value === 'FIXED') {
+      this.sellForm.validType = con
+      if (con === 'FIXED') {
         this.sellForm.validDays = undefined
         this.sellForm.validDays = undefined
       } else {
       } else {
         this.time = []
         this.time = []