修改了发票多个界面
parent
e005d48d56
commit
958e925a44
|
@ -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 = ""
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue