chenrui 4 роки тому
батько
коміт
551b89c1b9

+ 19 - 0
src/libs/reportData.js

@@ -42,5 +42,24 @@ export default {
     { id: '20', province: '全国', targetName: '配送品费用', dealerLevelDictValue: 1000.00, totalQty: 1000.00, totalCost: 1000.00, totalPrice: 1000.00, auditTime: 1000.00, allocateTypeName: 1000.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 6000.00, printCogunts: 100000.00, phrintCounts: 6, printCsountss: 5000.00, prinftCounts: 1000.00 },
     { id: '21', province: '全国', targetName: '营销费用', dealerLevelDictValue: 1000.00, totalQty: 1000.00, totalCost: 1000.00, totalPrice: 1000.00, auditTime: 1000.00, allocateTypeName: 1000.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 6000.00, printCogunts: 100000.00, phrintCounts: 6, printCsountss: 5000.00, prinftCounts: 1000.00 },
     { id: '22', province: '', targetName: '合计', dealerLevelDictValue: 4000.00, totalQty: 4000.00, totalCost: 4000.00, totalPrice: 4000.00, auditTime: 4000.00, allocateTypeName: 4000.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 24000.00, printCogunts: 100000.00, phrintCounts: 24, printCsountss: 5000.00, prinftCounts: 1000.00 }
+  ],
+  nationalCustomerCostStatisticsList: [ //  全国客户费用统计
+    { id: '1', area: '1区', province: '广东省', customerName: '箭冠汽配潮州潮安店', targetName: '配送品费用', dealerLevelDictValue: 100.00, totalQty: 100.00, totalCost: 100.00, totalPrice: 100.00, auditTime: 100.00, allocateTypeName: 100.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 600.00, printCogunts: 24000.00, phrintCounts: 2.5, printCsountss: 450.00, prinftCounts: 150.00 },
+    { id: '2', area: '1区', province: '广东省', customerName: '箭冠汽配潮州潮安店', targetName: '促销费用', dealerLevelDictValue: 100.00, totalQty: 100.00, totalCost: 100.00, totalPrice: 100.00, auditTime: 100.00, allocateTypeName: 100.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 600.00, printCogunts: 24000.00, phrintCounts: 2.5, printCsountss: 450.00, prinftCounts: 150.00 },
+    { id: '3', area: '1区', province: '广东省', customerName: '箭冠汽配潮州潮安店', targetName: '配送品费用', dealerLevelDictValue: 100.00, totalQty: 100.00, totalCost: 100.00, totalPrice: 100.00, auditTime: 100.00, allocateTypeName: 100.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 600.00, printCogunts: 24000.00, phrintCounts: 2.5, printCsountss: 450.00, prinftCounts: 150.00 },
+    { id: '4', area: '1区', province: '广东省', customerName: '箭冠汽配潮州潮安店', targetName: '促销费用', dealerLevelDictValue: 100.00, totalQty: 100.00, totalCost: 100.00, totalPrice: 100.00, auditTime: 100.00, allocateTypeName: 100.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 600.00, printCogunts: 24000.00, phrintCounts: 2.5, printCsountss: 450.00, prinftCounts: 150.00 },
+    { id: '5', area: '', province: '1区', customerName: '广东省汇总', targetName: '合计:', dealerLevelDictValue: 400.00, totalQty: 400.00, totalCost: 400.00, totalPrice: 400.00, auditTime: 400.00, allocateTypeName: 400.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 2400.00, printCogunts: 24000.00, phrintCounts: 10, printCsountss: 1800.00, prinftCounts: 600.00 },
+    { id: '6', area: 'A区', province: '广西省', customerName: '广西省贺州市万和润滑油商行', targetName: '配送品费用', dealerLevelDictValue: 100.00, totalQty: 100.00, totalCost: 100.00, totalPrice: 100.00, auditTime: 100.00, allocateTypeName: 100.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 600.00, printCogunts: 24000.00, phrintCounts: 2.5, printCsountss: 450.00, prinftCounts: 150.00 },
+    { id: '7', area: 'A区', province: '广西省', customerName: '广西省贺州市万和润滑油商行', targetName: '配送品费用', dealerLevelDictValue: 100.00, totalQty: 100.00, totalCost: 100.00, totalPrice: 100.00, auditTime: 100.00, allocateTypeName: 100.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 600.00, printCogunts: 24000.00, phrintCounts: 2.5, printCsountss: 450.00, prinftCounts: 150.00 },
+    { id: '8', area: 'A区', province: '广西省', customerName: '箭冠汽配防城港东兴店', targetName: '配送品费用', dealerLevelDictValue: 100.00, totalQty: 100.00, totalCost: 100.00, totalPrice: 100.00, auditTime: 100.00, allocateTypeName: 100.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 600.00, printCogunts: 24000.00, phrintCounts: 2.5, printCsountss: 450.00, prinftCounts: 150.00 },
+    { id: '9', area: 'A区', province: '广西省', customerName: '箭冠汽配防城港东兴店', targetName: '促销费用', dealerLevelDictValue: 100.00, totalQty: 100.00, totalCost: 100.00, totalPrice: 100.00, auditTime: 100.00, allocateTypeName: 100.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 600.00, printCogunts: 24000.00, phrintCounts: 2.5, printCsountss: 450.00, prinftCounts: 150.00 },
+    { id: '10', area: '', province: 'A区', customerName: '广西省汇总', targetName: '合计:', dealerLevelDictValue: 400.00, totalQty: 400.00, totalCost: 400.00, totalPrice: 400.00, auditTime: 400.00, allocateTypeName: 400.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 2400.00, printCogunts: 24000.00, phrintCounts: 10, printCsountss: 1800.00, prinftCounts: 600.00 },
+    { id: '11', area: 'A区', province: '贵州省', customerName: '箭冠汽配贵阳南明店', targetName: '配送品费用', dealerLevelDictValue: 100.00, totalQty: 100.00, totalCost: 100.00, totalPrice: 100.00, auditTime: 100.00, allocateTypeName: 100.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 600.00, printCogunts: 24000.00, phrintCounts: 2.5, printCsountss: 450.00, prinftCounts: 150.00 },
+    { id: '12', area: 'A区', province: '贵州省', customerName: '箭冠汽配贵阳南明店', targetName: '促销费用', dealerLevelDictValue: 100.00, totalQty: 100.00, totalCost: 100.00, totalPrice: 100.00, auditTime: 100.00, allocateTypeName: 100.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 600.00, printCogunts: 24000.00, phrintCounts: 2.5, printCsountss: 450.00, prinftCounts: 150.00 },
+    { id: '13', area: 'A区', province: '贵州省', customerName: '箭冠汽配黔南独山店', targetName: '配送品费用', dealerLevelDictValue: 100.00, totalQty: 100.00, totalCost: 100.00, totalPrice: 100.00, auditTime: 100.00, allocateTypeName: 100.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 600.00, printCogunts: 24000.00, phrintCounts: 2.5, printCsountss: 450.00, prinftCounts: 150.00 },
+    { id: '14', area: 'A区', province: '贵州省', customerName: '箭冠汽配黔南独山店', targetName: '促销费用', dealerLevelDictValue: 100.00, totalQty: 100.00, totalCost: 100.00, totalPrice: 100.00, auditTime: 100.00, allocateTypeName: 100.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 600.00, printCogunts: 24000.00, phrintCounts: 2.5, printCsountss: 450.00, prinftCounts: 150.00 },
+    { id: '15', area: '', province: 'A区', customerName: '贵州省汇总', targetName: '合计:', dealerLevelDictValue: 400.00, totalQty: 400.00, totalCost: 400.00, totalPrice: 400.00, auditTime: 400.00, allocateTypeName: 400.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 2400.00, printCogunts: 24000.00, phrintCounts: 10, printCsountss: 1800.00, prinftCounts: 600.00 },
+    { id: '16', area: '', province: '', customerName: 'A区汇总', targetName: '合计:', dealerLevelDictValue: 800.00, totalQty: 800.00, totalCost: 800.00, totalPrice: 800.00, auditTime: 800.00, allocateTypeName: 800.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 4800.00, printCogunts: 48000.00, phrintCounts: 10, printCsountss: 3600.00, prinftCounts: 1200.00 },
+    { id: '17', area: '合计:', province: '', customerName: '', targetName: '', dealerLevelDictValue: 4000.00, totalQty: 4000.00, totalCost: 4000.00, totalPrice: 4000.00, auditTime: 4000.00, allocateTypeName: 4000.00, stateDictValue: undefined, printStateDictValue: undefined, printCount: undefined, printCounts: undefined, printCsounts: undefined, printdCounts: undefined, prfintCounts: 10000.00, printCogunts: 100000.00, phrintCounts: 10, printCsountss: 8000.00, prinftCounts: 2000.00 }
   ]
 }

+ 1 - 2
src/views/reportData/districtTypeSalesDetails/list.vue

@@ -20,7 +20,7 @@
     <s-table
       class="sTable"
       ref="table"
-      size="default"
+      size="small"
       :rowKey="(record) => record.id"
       :columns="columns"
       :data="loadData"
@@ -52,7 +52,6 @@ export default {
       },
       disabled: false, //  查询、重置按钮是否可操作
       exportLoading: false,
-      reportData: reportData.reportDataList,
       columns: [
         { title: '序号', dataIndex: 'no', width: 80, align: 'center', fixed: 'left' },
         { title: '区域', dataIndex: 'area', width: 200, align: 'center', customRender: function (text) { return text || '--' } },

+ 55 - 35
src/views/reportData/nationalCustomerCostStatistics/list.vue

@@ -1,5 +1,5 @@
 <template>
-  <a-card size="small" :bordered="false" class="provinceTypeSalesDetailsList-wrap">
+  <a-card size="small" :bordered="false" class="nationalCustomerCostStatisticsList-wrap">
     <!-- 搜索条件 -->
     <div class="table-page-search-wrapper">
       <a-form layout="inline" @keyup.enter.native="$refs.table.refresh(true)">
@@ -11,21 +11,21 @@
           </a-col>
           <a-col :md="6" :sm="24">
             <a-form-item label="区域">
-              <a-select id="provinceTypeSalesDetailsList-allocateTypeSn" v-model="queryParam.allocateTypeSn" placeholder="请选择区域" allowClear >
+              <a-select id="nationalCustomerCostStatisticsList-allocateTypeSn" v-model="queryParam.allocateTypeSn" placeholder="请选择区域" allowClear >
                 <a-select-option v-for="item in allocateTypeList" :key="item.allocateTypeSn" :value="item.allocateTypeSn">{{ item.name }}</a-select-option>
               </a-select>
             </a-form-item>
           </a-col>
           <a-col :md="6" :sm="24">
             <a-form-item label="省份">
-              <a-select id="provinceTypeSalesDetailsList-state" v-model="queryParam.state" placeholder="请选择省份" allowClear >
+              <a-select id="nationalCustomerCostStatisticsList-state" v-model="queryParam.state" placeholder="请选择省份" allowClear >
                 <a-select-option v-for="item in allocateTypeList" :key="item.allocateTypeSn" :value="item.allocateTypeSn">{{ item.name }}</a-select-option>
               </a-select>
             </a-form-item>
           </a-col>
           <a-col :md="6" :sm="24">
-            <a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="provinceTypeSalesDetailsList-refresh">查询</a-button>
-            <a-button style="margin-left: 5px" @click="resetSearchForm" :disabled="disabled" id="provinceTypeSalesDetailsList-reset">重置</a-button>
+            <a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="nationalCustomerCostStatisticsList-refresh">查询</a-button>
+            <a-button style="margin-left: 5px" @click="resetSearchForm" :disabled="disabled" id="nationalCustomerCostStatisticsList-reset">重置</a-button>
           </a-col>
         </a-row>
       </a-form>
@@ -34,11 +34,12 @@
     <s-table
       class="sTable"
       ref="table"
-      size="default"
+      size="small"
       :rowKey="(record) => record.id"
       :columns="columns"
+      :showPagination="false"
       :data="loadData"
-      :scroll="{ x: 3650 }"
+      :scroll="{ x: 2920 }"
       bordered>
     </s-table>
   </a-card>
@@ -66,37 +67,56 @@ export default {
       },
       disabled: false, //  查询、重置按钮是否可操作
       exportLoading: false,
-      reportData: reportData.reportDataList,
       columns: [
         { title: '序号', dataIndex: 'no', width: 80, align: 'center', fixed: 'left' },
         { title: '区域', dataIndex: 'area', width: 200, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '省份', dataIndex: 'province', align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '箭牌滤清器', dataIndex: 'targetName', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '冠牌滤清器', dataIndex: 'dealerLevelDictValue', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '滤清器合计', dataIndex: 'totalQty', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '箭牌雨刮片', dataIndex: 'totalCost', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '冠牌雨刮片', dataIndex: 'totalPrice', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '雨刮片合计', dataIndex: 'auditTime', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '箭牌刹车片', dataIndex: 'allocateTypeName', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '箭牌感应线', dataIndex: 'stateDictValue', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '冠牌刹车片', dataIndex: 'printStateDictValue', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: 'TBU刹车片', dataIndex: 'printCount', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: 'TBU刹车油', dataIndex: 'printCounts', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: 'TBU感应线', dataIndex: 'printCsounts', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '刹车片合计', dataIndex: 'printdCounts', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '德路斯润滑油', dataIndex: 'prfintCounts', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '德路斯刹车油', dataIndex: 'printCogunts', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '德路斯变速箱油', dataIndex: 'phrintCounts', width: 140, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '德路斯合计', dataIndex: 'printCsountss', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '稳升点火线圈', dataIndex: 'prinftCounts', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '稳升灯泡', dataIndex: 'prisntCogunts', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '稳升合计', dataIndex: 'prinxtCounts', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '汇箭', dataIndex: 'printCocunts', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '布瑞斯', dataIndex: 'printCvounts', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '箭牌喇叭', dataIndex: 'printCgounts', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '品牌合计', dataIndex: 'printCouhnts', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: 'NGK', dataIndex: 'printCoujnts', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '品牌+NGK总合计', dataIndex: 'printCournts', width: 150, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }
+        { title: '客户名称', dataIndex: 'customerName', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '费用类型', dataIndex: 'targetName', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '1月', dataIndex: 'dealerLevelDictValue', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '2月', dataIndex: 'totalQty', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '3月', dataIndex: 'totalCost', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '4月', dataIndex: 'totalPrice', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '5月', dataIndex: 'auditTime', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '6月', dataIndex: 'allocateTypeName', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '7月', dataIndex: 'stateDictValue', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '8月', dataIndex: 'printStateDictValue', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '9月', dataIndex: 'printCount', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '10月', dataIndex: 'printCounts', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '11月', dataIndex: 'printCsounts', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '12月', dataIndex: 'printdCounts', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '1-12月费用合计', dataIndex: 'prfintCounts', width: 140, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        {
+          title: '实际销售额合计',
+          dataIndex: 'printCogunts',
+          width: 140,
+          align: 'center',
+          customRender: (value, row, index) => {
+            const obj = {
+              children: value,
+              attrs: {}
+            }
+            if (index === 0) { obj.attrs.rowSpan = 5 }
+            if (index === 1) { obj.attrs.rowSpan = 0 }
+            if (index === 2) { obj.attrs.rowSpan = 0 }
+            if (index === 3) { obj.attrs.rowSpan = 0 }
+            if (index === 4) { obj.attrs.rowSpan = 0 }
+            if (index === 5) { obj.attrs.rowSpan = 5 }
+            if (index === 6) { obj.attrs.rowSpan = 0 }
+            if (index === 7) { obj.attrs.rowSpan = 0 }
+            if (index === 8) { obj.attrs.rowSpan = 0 }
+            if (index === 9) { obj.attrs.rowSpan = 0 }
+            if (index === 10) { obj.attrs.rowSpan = 5 }
+            if (index === 11) { obj.attrs.rowSpan = 0 }
+            if (index === 12) { obj.attrs.rowSpan = 0 }
+            if (index === 13) { obj.attrs.rowSpan = 0 }
+            if (index === 14) { obj.attrs.rowSpan = 0 }
+            return obj
+          }
+        },
+        { title: '费用占比(%)', dataIndex: 'phrintCounts', width: 140, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '正常费用', dataIndex: 'printCsountss', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '特殊申请费用', dataIndex: 'prinftCounts', width: 120, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }
       ],
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {
@@ -115,7 +135,7 @@ export default {
           const data = {
             pageNo: 1,
             pageSize: 10,
-            list: reportData.provinceTypeSalesList,
+            list: reportData.nationalCustomerCostStatisticsList,
             count: 10
           }
           for (var i = 0; i < data.list.length; i++) {

+ 1 - 2
src/views/reportData/provinceTypeSalesDetails/list.vue

@@ -34,7 +34,7 @@
     <s-table
       class="sTable"
       ref="table"
-      size="default"
+      size="small"
       :rowKey="(record) => record.id"
       :columns="columns"
       :data="loadData"
@@ -66,7 +66,6 @@ export default {
       },
       disabled: false, //  查询、重置按钮是否可操作
       exportLoading: false,
-      reportData: reportData.reportDataList,
       columns: [
         { title: '序号', dataIndex: 'no', width: 80, align: 'center', fixed: 'left' },
         { title: '区域', dataIndex: 'area', width: 200, align: 'center', customRender: function (text) { return text || '--' } },

+ 1 - 2
src/views/reportData/regionalPromotionCostStatistics/list.vue

@@ -27,7 +27,7 @@
     <s-table
       class="sTable"
       ref="table"
-      size="default"
+      size="small"
       :rowKey="(record) => record.id"
       :columns="columns"
       :showPagination="false"
@@ -60,7 +60,6 @@ export default {
       },
       disabled: false, //  查询、重置按钮是否可操作
       exportLoading: false,
-      reportData: reportData.reportDataList,
       columns: [
         { title: '序号', dataIndex: 'no', width: 80, align: 'center', fixed: 'left' },
         { title: '省份', dataIndex: 'province', align: 'center', customRender: function (text) { return text || '--' } },