chenrui преди 1 година
родител
ревизия
f6e7ee5164
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 4 1
      src/views/promotionRulesManagement/dealerPromotions/sendProductsModal.vue

+ 4 - 1
src/views/promotionRulesManagement/dealerPromotions/sendProductsModal.vue

@@ -301,10 +301,13 @@ export default {
     // 满赠  同款    促销品与正品一致  默认是 可修改
     //     不同款                   默认否 不可修改
     handleFullGift (e) {
-      if (e === '0') {
+      if (e === '0') { // 不同款
         this.form.regularPromotionSameFlag = '0'
       } else {
         this.form.regularPromotionSameFlag = '1'
+        if (this.chooseVal.indexOf('c') != -1) {
+          this.chooseVal = this.form.gateFlag == '0' ? 'b' : 'a'
+        }
       }
     },
     // 导入