lilei 5 달 전
부모
커밋
1edc235b00
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/salesManagement/salesQueryNew/detail.vue

+ 2 - 2
src/views/salesManagement/salesQueryNew/detail.vue

@@ -763,11 +763,11 @@ export default {
           this.messageInfo('参加促销活动的产品存在缺货,不可一键审核!')
           return
         }
-        if (this.$refs.productActiveList.showConvertPromoGifts) {
+        if (this.showConvertPromoGifts) {
           this.messageInfo('该活动规则中,促销产品可转费用报销单,不可一键审核!')
           return
         }
-        if (this.$refs.productList && this.$refs.productList.hasJGtire) {
+        if (this.$refs.productList && this.$refs.productList.hasJGtire || this.$refs.productActiveList && this.$refs.productActiveList.hasJGtire) {
           this.messageInfo('销售单内有品牌是【箭冠】,且三级分类是【轮胎】的产品,不可一键审核!')
           return
         }