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