lilei 5 kuukautta sitten
vanhempi
commit
1edc235b00
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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
         }