修正了两处bug
parent
c770c86eaf
commit
c01d602bc3
|
@ -155,7 +155,7 @@ function displaySteps(reimbursement: ReimbursementDetailModal | undefined | null
|
|||
}
|
||||
items.push({
|
||||
// @ts-ignore
|
||||
title: statusEnum2[i - 1] + "审批",
|
||||
title: statusEnum2[i] + "审批",
|
||||
status: 'error',
|
||||
subTitle: approvalSteps[i].approvalTime.replace("T", " "),
|
||||
description: description
|
||||
|
@ -307,11 +307,14 @@ class ReimbursementDetail extends React.Component<any, any> {
|
|||
}}/>
|
||||
</Row>
|
||||
<Row style={{marginTop: 15}}>
|
||||
<Radio.Group buttonStyle="solid" style={{width:'100%'}} defaultValue={true} onChange={(value) => {
|
||||
<Radio.Group buttonStyle="solid" style={{width: '100%'}} defaultValue={true}
|
||||
onChange={(value) => {
|
||||
this.setState({approvalChecked: value.target.value})
|
||||
}}>
|
||||
<Radio.Button value={true} checked={true} style={{width:'50%',textAlign:"center"}}>通过</Radio.Button>
|
||||
<Radio.Button value={false} style={{width:'50%',textAlign:"center"}}>不通过</Radio.Button>
|
||||
<Radio.Button value={true} checked={true}
|
||||
style={{width: '50%', textAlign: "center"}}>通过</Radio.Button>
|
||||
<Radio.Button value={false}
|
||||
style={{width: '50%', textAlign: "center"}}>不通过</Radio.Button>
|
||||
</Radio.Group>
|
||||
</Row>
|
||||
</>
|
||||
|
|
|
@ -101,6 +101,7 @@ function DisplayInvoicesList(props:{departureInvoice: Invoice, destinationInvoic
|
|||
}
|
||||
let invoiceId = Number(keys[0]);
|
||||
axiosInstance.get("common/invoice/" + invoiceId).then((res) => {
|
||||
res.data.invoiceAmount/=100.0
|
||||
setInvoiceDetail(res.data);
|
||||
setDetailModalOpen(true);
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue