src/views/procurementManagement/procurementInvoiceLedger/index.vue
@@ -42,23 +42,22 @@
    </el-form>
    <div class="table_list">
      <PIMTable
        rowKey="id"
        :column="columns"
        :tableLoading="loading"
        :tableData="dataList"
        :isSelection="true"
        height="calc(100vh - 18.5em)"
        :isShowSummary="true"
        :summaryMethod="summarizeMainTable"
        :page="{
          current: pagination.currentPage,
          size: pagination.pageSize,
          total: pagination.total,
        }"
        :handleSelectionChange="handleSelectionChange"
        @selection-change="handleSelectionChange"
        @pagination="onCurrentChange"
      >
        <!-- <template #operation>
          <el-button type="primary" text @click="handleEdit" size="small">
            编辑
          </el-button>
        </template> -->
      </PIMTable>
    </div>
  </div>
@@ -177,6 +176,23 @@
  }
);
// 主表合计方法
const summarizeMainTable = (param) => {
  return proxy.summarizeTable(
    param,
    [
      "taxInclusiveTotalPrice",
      "ticketsAmount",
      "unTicketsPrice",
      "invoiceAmount",
    ],
    {
      ticketsNum: { noDecimal: true }, // 不保留小数
      futureTickets: { noDecimal: true }, // 不保留小数
    }
  );
};
const handleSelectionChange = (val) => {
  multipleVal.value = val;
};