修改了发票多个界面

main
yang.yongquan 2022-12-28 14:32:37 +08:00
parent e005d48d56
commit 958e925a44
3 changed files with 51 additions and 51 deletions

View File

@ -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 = ""

View File

@ -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,

View File

@ -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")