Browse Source

修改bug

chenrui 1 năm trước cách đây
mục cha
commit
f6e7ee5164

+ 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'
+        }
       }
     },
     // 导入