| | |
| | | :data="salesRecord" |
| | | border |
| | | :row-key="(row) => row.id" |
| | | show-summary |
| | | :summary-method="summarizeSalesTable" |
| | | height="calc(100vh - 18.5em)" |
| | | > |
| | | <el-table-column align="center" label="序号" type="index" width="60" /> |
| | |
| | | return summarizeTable; |
| | | }; |
| | | |
| | | // 销售往来表合计(已发货/未发货) |
| | | const summarizeSalesTable = (param) => { |
| | | return proxy.summarizeTable( |
| | | param, |
| | | ["shippedQuantity", "unshippedQuantity"], |
| | | { |
| | | shippedQuantity: { noDecimal: false }, |
| | | unshippedQuantity: { noDecimal: false }, |
| | | } |
| | | ); |
| | | }; |
| | | |
| | | const receiptPaymentList = (id) => { |
| | | const param = { |
| | | customerId: id, |