修改了发票多个界面
parent
e005d48d56
commit
958e925a44
|
@ -95,7 +95,7 @@ export class InvoiceCommit {
|
|||
invoiceCheckCode:string
|
||||
invoiceRegionCode: Nullable<string>
|
||||
invoiceSellerTaxCode:Nullable<string>
|
||||
invoiceExtraInfo:Nullable<string>|[]
|
||||
invoiceExtraInfo:Nullable<string>|[]|Map<any,string>
|
||||
constructor() {
|
||||
this.invoiceFileName = ""
|
||||
this.invoiceNo = ""
|
||||
|
|
|
@ -269,7 +269,7 @@ class InvoiceListView extends React.Component<any, any> {
|
|||
pageNum: 1,
|
||||
pageSize: 20,
|
||||
totalNum: 2,
|
||||
PaginationKey: -23
|
||||
PaginationKey: -2
|
||||
}
|
||||
this.searchInvoiceContent()
|
||||
}
|
||||
|
@ -310,7 +310,7 @@ class InvoiceListView extends React.Component<any, any> {
|
|||
}
|
||||
|
||||
handleInvoicesTotalNum(value: Number) {
|
||||
this.setState({totalNum: Number, PaginationKey: -Number})
|
||||
this.setState({totalNum: value, PaginationKey: -value})
|
||||
}
|
||||
|
||||
handleInvoicesContent = (value: Array<Invoice>) => {
|
||||
|
@ -329,10 +329,6 @@ class InvoiceListView extends React.Component<any, any> {
|
|||
)}
|
||||
|
||||
</div>
|
||||
<Pagination style={{
|
||||
position: "fixed",
|
||||
bottom: 20,
|
||||
}} showQuickJumper defaultCurrent={1} total={this.state.totalNum} onChange={this.onChange} />
|
||||
<Pagination style={{
|
||||
position: "fixed",
|
||||
bottom: 20,
|
||||
|
|
|
@ -130,6 +130,10 @@ class InvoiceUploadView extends React.Component<any, any>{
|
|||
handleCancel = () => {
|
||||
this.setOpen(false);
|
||||
};
|
||||
|
||||
handleUploadCanCel = () => {
|
||||
this.setUploadOpen(false);
|
||||
}
|
||||
submit=()=>{
|
||||
let result=this.formRef.current!.getFieldsValue()
|
||||
result.invoiceDate=result.invoiceDate.format("YYYY-MM-DD")
|
||||
|
|
Loading…
Reference in New Issue