whj 1 gadu atpakaļ
vecāks
revīzija
c7a3999396

+ 6 - 8
src/views/purchase/purchase-order-report/PurchaseOrderReportByFifity.vue

@@ -24,14 +24,14 @@
             <!-- <a-button style="margin-left: 8px" type="primary" icon="printer" @click="handlePrint()">打印</a-button> -->
             <!-- <a-button style="margin-left: 8px" type="primary" @click="doExport()">导出</a-button> -->
           </div>
-          <a-tab-pane loading="true" tab="图形统计" key="1">
+          <!-- <a-tab-pane loading="true" tab="图形统计" key="1">
             <a-row>
               <a-col :xl="24" :lg="24" :md="24" :sm="24" :xs="24">
                 <chart-view :chartOption="chartOption1" width="100%" height="600px" />
               </a-col>
             </a-row>
-          </a-tab-pane>
-          <a-tab-pane loading="true" tab="表格统计" key="2">
+          </a-tab-pane> -->
+          <a-tab-pane loading="true" tab="表格统计" key="1">
             <a-row>
               <a-col :xl="24" :lg="24" :md="24" :sm="24" :xs="24">
                 <div style="padding: 10px">
@@ -98,7 +98,7 @@ export default {
       defaultEndMonth: this.BaseTool.Moment().format(this.BaseTool.Date.PICKER_NORM_DATE_PATTERN),
       queryParam: {
         // year: 2021,
-        pageSize: 50,
+        pageSize: 10,
         startTime: this.BaseTool.Date.formatter(new Date(), this.BaseTool.Date.PICKER_NORM_YEAR) + '-01-01',
         endTime: this.BaseTool.Moment().format(this.BaseTool.Date.PICKER_NORM_DATE_PATTERN)
       },
@@ -110,10 +110,8 @@ export default {
         {
           title: '备件名称',
           width: 180,
-          dataIndex: 'spareName',
-          customRender: (text, record, index) => {
-            return record.year + '-' + text
-          }
+          dataIndex: 'spareName'
+
         },
         {
           title: '总数',