| | |
| | | width:240 |
| | | }, |
| | | { |
| | | label: "付款状态", |
| | | prop: "statusName", |
| | | dataType: "tag", |
| | | formatType: (params) => { |
| | | if (params == '未完成付款') { |
| | | return "danger"; |
| | | } else if (params == '已完成付款') { |
| | | return "success"; |
| | | } else { |
| | | return null; |
| | | } |
| | | }, |
| | | }, |
| | | { |
| | | label: "发票号", |
| | | prop: "invoiceNumber", |
| | | width:200 |
| | |
| | | const isShowSummarySon = ref(true); |
| | | const expandedRowKeys = ref([]); |
| | | |
| | | |
| | | const getStatusTagType = (statusName = '') => { |
| | | const normalized = statusName.trim(); |
| | | if (!normalized) return 'info'; |
| | | return normalized === '未完成付款' ? 'danger' : 'success'; |
| | | }; |
| | | // 子表合计方法 |
| | | const summarizeMainTable1 = (param) => { |
| | | return proxy.summarizeTable( |