ソースを参照

修改品牌、品类判断

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>