|
@@ -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>
|