فهرست منبع

修改各分区品类报表

chenrui 2 سال پیش
والد
کامیت
b598a11025
1فایلهای تغییر یافته به همراه2 افزوده شده و 6 حذف شده
  1. 2 6
      src/views/reportData/regionTypeSalesReport/list.vue

+ 2 - 6
src/views/reportData/regionTypeSalesReport/list.vue

@@ -183,7 +183,7 @@ export default {
     //  导出
     handleExport () {
       const _this = this
-      const jkUrl = _this.activeKey == 0 ? subareaAreaReportTitle : subareaReportTitle
+      const jkUrl = _this.activeKey == 0 ? realReportSalesByProvinceExport : realReportSalesBySubAreaExport
       const excelTitle = _this.activeKey == 0 ? '各省品类实售明细报表' : '各区品类实售明细报表'
       this.$refs.ruleForm.validate(valid => {
         if (valid) {
@@ -205,7 +205,7 @@ export default {
     // 获取表头
     async getTableTitle () {
       const _this = this
-      const titUrl = _this.activeKey == 0 ? realReportSalesByProvinceExport : realReportSalesBySubAreaExport
+      const titUrl = _this.activeKey == 0 ? subareaAreaReportTitle : subareaReportTitle
       const tableTitle = await titUrl().then(res => res.data)
       this.columns = tableTitle.list
       this.columns.map(item => {
@@ -242,7 +242,3 @@ export default {
   }
 }
 </script>
-
-<style style="less">
-
-</style>