lilei 11 달 전
부모
커밋
3762a070e0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/salesManagement/salesQueryNew/comps/detailProductList.vue

+ 1 - 1
src/views/salesManagement/salesQueryNew/comps/detailProductList.vue

@@ -419,7 +419,7 @@ export default {
           }
         }
         // 判断是否有箭冠轮胎产品
-        if (productBrand.indexOf('箭冠') >= 0 && productType3.indexOf('轮胎') >= 0) {
+        if (productBrand && productBrand.indexOf('箭冠') >= 0 && productBrand && productType3.indexOf('轮胎') >= 0) {
           this.hasJGtire = true
         }
       })