diff --git a/src/models/Staff.ts b/src/models/Staff.ts index 666fed7..0384193 100644 --- a/src/models/Staff.ts +++ b/src/models/Staff.ts @@ -95,7 +95,7 @@ export class InvoiceCommit { invoiceCheckCode:string invoiceRegionCode: Nullable invoiceSellerTaxCode:Nullable - invoiceExtraInfo:Nullable|[] + invoiceExtraInfo:Nullable|[]|Map constructor() { this.invoiceFileName = "" this.invoiceNo = "" diff --git a/src/pages/Invoice/mine/InvoiceListView.tsx b/src/pages/Invoice/mine/InvoiceListView.tsx index fa69d1b..ccbcb66 100644 --- a/src/pages/Invoice/mine/InvoiceListView.tsx +++ b/src/pages/Invoice/mine/InvoiceListView.tsx @@ -167,51 +167,51 @@ class InvoiceSearch extends React.Component { {this.state.complexEnabled&& -
-
- - - - +
+ + + + + - - - - - - - - - - - - - - -
} + + + +
+ + + + + + + + + + +
} ) @@ -269,7 +269,7 @@ class InvoiceListView extends React.Component { pageNum: 1, pageSize: 20, totalNum: 2, - PaginationKey: -23 + PaginationKey: -2 } this.searchInvoiceContent() } @@ -310,7 +310,7 @@ class InvoiceListView extends React.Component { } handleInvoicesTotalNum(value: Number) { - this.setState({totalNum: Number, PaginationKey: -Number}) + this.setState({totalNum: value, PaginationKey: -value}) } handleInvoicesContent = (value: Array) => { @@ -329,10 +329,6 @@ class InvoiceListView extends React.Component { )} - { handleCancel = () => { this.setOpen(false); }; + + handleUploadCanCel = () => { + this.setUploadOpen(false); + } submit=()=>{ let result=this.formRef.current!.getFieldsValue() result.invoiceDate=result.invoiceDate.format("YYYY-MM-DD")