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
         }