Commit 705a59b2cfe4d91e56ba5cca95440fe95c2a1a48
1 parent
78063a4c
feat: 开票功能开发
Showing
1 changed file
with
12 additions
and
2 deletions
src/pages/Invoice/index.tsx
... | ... | @@ -118,6 +118,12 @@ const InvoicePage = () => { |
118 | 118 | width: 200, |
119 | 119 | }, |
120 | 120 | { |
121 | + title: '发票状态', | |
122 | + valueType: 'Text', | |
123 | + dataIndex: 'statusText', | |
124 | + hideInSearch: true, | |
125 | + }, | |
126 | + { | |
121 | 127 | title: '申请开票时间', |
122 | 128 | dataIndex: 'createTime', |
123 | 129 | valueType: 'dateTime', |
... | ... | @@ -778,7 +784,11 @@ const InvoicePage = () => { |
778 | 784 | let res = await postServiceInvoiceQueryInvoiceRecordList({ |
779 | 785 | data: { |
780 | 786 | ...params, |
781 | - statusIsNull: true, | |
787 | + statusIn: [ | |
788 | + 'WAITING_FOR_INVOICING', | |
789 | + 'AUDITING', | |
790 | + 'AUDITING_NOT_PASSED', | |
791 | + ], | |
782 | 792 | }, |
783 | 793 | }); |
784 | 794 | return { |
... | ... | @@ -837,7 +847,7 @@ const InvoicePage = () => { |
837 | 847 | let res = await postServiceInvoiceQueryInvoiceRecordList({ |
838 | 848 | data: { |
839 | 849 | ...params, |
840 | - statusIsNotNull: true, | |
850 | + statusIn: ['INVOICING', 'SUCCESS', 'FAIL'], | |
841 | 851 | }, |
842 | 852 | }); |
843 | 853 | return { | ... | ... |