去掉了两块shit

main
白封羽 2022-12-26 22:55:27 +08:00
parent f628f5dbfb
commit 62155de02d
2 changed files with 1 additions and 2 deletions

View File

@ -72,9 +72,7 @@ export class InvoiceSearchOption{
this.pageNum=0 this.pageNum=0
this.pageSize=20 this.pageSize=20
} }
private nullOrValue(){
}
toString(){ toString(){
let res="pageNum="+this.pageNum+"&pageSize="+this.pageSize let res="pageNum="+this.pageNum+"&pageSize="+this.pageSize
res+=(this.invoiceNo===null||this.invoiceNo===""?"":("&invoiceNo="+this.invoiceNo)); res+=(this.invoiceNo===null||this.invoiceNo===""?"":("&invoiceNo="+this.invoiceNo));

View File

@ -20,6 +20,7 @@ class InvoiceSearch extends React.Component<any, any> {
searchContent:'请在此输入', searchContent:'请在此输入',
invoiceSearchOption:new InvoiceSearchOption() invoiceSearchOption:new InvoiceSearchOption()
} }
this.onSearch('')
} }
onSearch=(value: string)=>{ onSearch=(value: string)=>{
if(this.state.activatedOption === "发票代码") { if(this.state.activatedOption === "发票代码") {