From 62155de02dfb94f169cad9bebd29e9d64547d2de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E5=B0=81=E7=BE=BD?= <2360164671@qq.com> Date: Mon, 26 Dec 2022 22:55:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E4=BA=86=E4=B8=A4=E5=9D=97sh?= =?UTF-8?q?it?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/models/Staff.ts | 2 -- src/pages/Invoice/mine/InvoiceListView.tsx | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/models/Staff.ts b/src/models/Staff.ts index 035a8e7..af7dbf5 100644 --- a/src/models/Staff.ts +++ b/src/models/Staff.ts @@ -72,9 +72,7 @@ export class InvoiceSearchOption{ this.pageNum=0 this.pageSize=20 } - private nullOrValue(){ - } toString(){ let res="pageNum="+this.pageNum+"&pageSize="+this.pageSize res+=(this.invoiceNo===null||this.invoiceNo===""?"":("&invoiceNo="+this.invoiceNo)); diff --git a/src/pages/Invoice/mine/InvoiceListView.tsx b/src/pages/Invoice/mine/InvoiceListView.tsx index 2a00e6a..85e13f1 100644 --- a/src/pages/Invoice/mine/InvoiceListView.tsx +++ b/src/pages/Invoice/mine/InvoiceListView.tsx @@ -20,6 +20,7 @@ class InvoiceSearch extends React.Component { searchContent:'请在此输入', invoiceSearchOption:new InvoiceSearchOption() } + this.onSearch('') } onSearch=(value: string)=>{ if(this.state.activatedOption === "发票代码") {