소스 검색

修改品牌、品类判断

chenrui 1 년 전
부모
커밋
fc668aa4cc
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/reportData/promotionSalesOrderReport/list.vue

+ 2 - 2
src/views/reportData/promotionSalesOrderReport/list.vue

@@ -123,11 +123,11 @@
           bordered>
           <!-- 品牌-->
           <template slot="brandName" slot-scope="text, record">
-            {{ record.allProductBrandFlag?'全品类':record.brandName?record.brandName:'--' }}
+            {{ record.allProductBrandFlag==1?'全品类':record.brandName?record.brandName:'--' }}
           </template>
           <!-- 分类 -->
           <template slot="brandtypeName" slot-scope="text, record">
-            {{ record.allProductTypeFlag?'全分类':record.brandtypeName?record.brandtypeName:'--' }}
+            {{ record.allProductTypeFlag==1?'全分类':record.brandtypeName?record.brandtypeName:'--' }}
           </template>
           <template slot="footer" v-if="totalData">
             <a-row>