Browse Source

选择累计产品,tab判断

chenrui 6 months ago
parent
commit
db14e55598

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

@@ -237,7 +237,7 @@ export default {
         }
       }
       this.tabList = tabList
-      this.promoProductClz = tabList[0].val
+      this.promoProductClz = tabList && tabList.length ? tabList[0].val:''
       this.tableHeight = window.innerHeight - 368
       this.resetSearchForm()
     },