我的发票添加撤回
parent
9079f39014
commit
fd873c0c13
|
@ -99,10 +99,10 @@ function InvoiceDetailModal(props: any) {
|
|||
open={props.open}
|
||||
title="发票详情"
|
||||
onCancel={handleCancel}
|
||||
footer={props.showFooter ? <Button key="next" type="primary" danger loading={loading} onClick={withDraw}
|
||||
footer={ <Button key="next" type="primary" danger loading={loading} onClick={withDraw}
|
||||
>
|
||||
打回
|
||||
</Button> : null}
|
||||
撤回
|
||||
</Button> }
|
||||
>
|
||||
{
|
||||
<Form layout="horizontal" labelCol={{span: 4}}
|
||||
|
|
|
@ -281,7 +281,7 @@ function InvoiceListView(props: {}) {
|
|||
const navigate = useNavigate()
|
||||
|
||||
const handleInvoiceSearchInfo = (invoiceSearch: InvoiceSearchOption) => {
|
||||
//setInvoiceSearchOption(invoiceSearch)
|
||||
setInvoiceSearchOption(invoiceSearch)
|
||||
searchInvoiceContent(invoiceSearch)
|
||||
}
|
||||
const searchInvoiceContent = (invoiceSearch: InvoiceSearchOption) => {
|
||||
|
@ -359,7 +359,7 @@ function InvoiceListView(props: {}) {
|
|||
pageSize={Number(search.get('pageSize') ? search.get('pageSize') : 10)}
|
||||
total={totalNum} onChange={onChange}/>
|
||||
</div>
|
||||
<InvoiceDetailModal invoiceDetail={invoiceDetail} open={detailModalOpen} onClose={() => {
|
||||
<InvoiceDetailModal needRefresh={()=>{searchInvoiceContent(invoiceSearchOption)}} invoiceDetail={invoiceDetail} open={detailModalOpen} onClose={() => {
|
||||
setDetailModalOpen(false)
|
||||
}}/>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue