| | |
| | | customewTransactionsDetails, |
| | | } from "@/api/salesManagement/indicatorStats.js"; |
| | | import Pagination from "../../../components/PIMTable/Pagination.vue"; |
| | | import { tableAmountFormatter, buildAmountSummaryFormat } from "@/utils/numberFormat"; |
| | | import { moneyAmountFormatter, buildAmountSummaryFormat, MONEY_DECIMAL_SCALE } from "@/utils/numberFormat"; |
| | | const { proxy } = getCurrentInstance(); |
| | | const tableData = ref([]); |
| | | const receiptRecord = ref([]); |
| | |
| | | } |
| | | }); |
| | | }; |
| | | const formattedNumber = tableAmountFormatter; |
| | | const formattedNumber = moneyAmountFormatter; |
| | | // 主表合计方法 |
| | | const summarizeMainTable = param => { |
| | | return proxy.summarizeTable( |
| | |
| | | { |
| | | ticketsNum: { noDecimal: true }, |
| | | futureTickets: { noDecimal: true }, |
| | | } |
| | | }, |
| | | MONEY_DECIMAL_SCALE |
| | | ) |
| | | ); |
| | | }; |
| | |
| | | { |
| | | ticketsNum: { noDecimal: true }, |
| | | futureTickets: { noDecimal: true }, |
| | | } |
| | | }, |
| | | MONEY_DECIMAL_SCALE |
| | | ) |
| | | ); |
| | | return summarizeTable; |