chenrui il y a 1 an
Parent
commit
39c223434c

+ 5 - 1
src/views/promotionRulesManagement/dealerPromotions/list.vue

@@ -207,6 +207,7 @@
             type="primary"
             id="auditModal-save"
             class="button-primary"
+            :loading="loadingAudit"
             @click="handleAuditModal"
           >审核通过</a-button>
         </div>
@@ -315,7 +316,8 @@ export default {
       openCopyModal: false, // 复制弹窗
       itemPromotionSn: '',
       itemStatusType: '',
-      chooseDealerArr: [] // 所选择经销商列表
+      chooseDealerArr: [], // 所选择经销商列表
+      loadingAudit: false
     }
   },
   methods: {
@@ -404,6 +406,7 @@ export default {
       _this.openAuditModal = true
     },
     handleAuditModal () {
+      this.loadingAudit = true
       this.handleAudit({ promotionSn: this.itemSn, auditFlag: 1 })
     },
     closeAuditModal () {
@@ -420,6 +423,7 @@ export default {
         _this.itemSn = null
         _this.openAuditModal = false
         _this.spinning = false
+        _this.loadingAudit = false
       })
     },
     // 复制

+ 1 - 0
src/views/promotionRulesManagement/dealerPromotions/sendAmountModal.vue

@@ -234,6 +234,7 @@ export default {
       },
       form: {
         promotionRuleType: 'BUY_PROD_GIVE_MONEY', // 买产品送采购额
+        accrualFlag: 1,
         description: '',
         gateFlag: '0', // 门槛
         gateType: undefined,