修改了发票多个界面

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 invoiceCheckCode:string
invoiceRegionCode: Nullable<string> invoiceRegionCode: Nullable<string>
invoiceSellerTaxCode:Nullable<string> invoiceSellerTaxCode:Nullable<string>
invoiceExtraInfo:Nullable<string>|[] invoiceExtraInfo:Nullable<string>|[]|Map<any,string>
constructor() { constructor() {
this.invoiceFileName = "" this.invoiceFileName = ""
this.invoiceNo = "" this.invoiceNo = ""

View File

@ -269,7 +269,7 @@ class InvoiceListView extends React.Component<any, any> {
pageNum: 1, pageNum: 1,
pageSize: 20, pageSize: 20,
totalNum: 2, totalNum: 2,
PaginationKey: -23 PaginationKey: -2
} }
this.searchInvoiceContent() this.searchInvoiceContent()
} }
@ -310,7 +310,7 @@ class InvoiceListView extends React.Component<any, any> {
} }
handleInvoicesTotalNum(value: Number) { handleInvoicesTotalNum(value: Number) {
this.setState({totalNum: Number, PaginationKey: -Number}) this.setState({totalNum: value, PaginationKey: -value})
} }
handleInvoicesContent = (value: Array<Invoice>) => { handleInvoicesContent = (value: Array<Invoice>) => {
@ -329,10 +329,6 @@ class InvoiceListView extends React.Component<any, any> {
)} )}
</div> </div>
<Pagination style={{
position: "fixed",
bottom: 20,
}} showQuickJumper defaultCurrent={1} total={this.state.totalNum} onChange={this.onChange} />
<Pagination style={{ <Pagination style={{
position: "fixed", position: "fixed",
bottom: 20, bottom: 20,

View File

@ -130,6 +130,10 @@ class InvoiceUploadView extends React.Component<any, any>{
handleCancel = () => { handleCancel = () => {
this.setOpen(false); this.setOpen(false);
}; };
handleUploadCanCel = () => {
this.setUploadOpen(false);
}
submit=()=>{ submit=()=>{
let result=this.formRef.current!.getFieldsValue() let result=this.formRef.current!.getFieldsValue()
result.invoiceDate=result.invoiceDate.format("YYYY-MM-DD") result.invoiceDate=result.invoiceDate.format("YYYY-MM-DD")