filter alignment,value convert string to no

This commit is contained in:
gayathri1990 2021-05-21 14:45:05 +05:30
parent 4557ebbd30
commit 8ed76dcd60
3 changed files with 14 additions and 4 deletions

View File

@ -290,7 +290,7 @@ console.log(this.displayedColumns)
searchItem() searchItem()
{ {
if(this.searchForm.value.pd_type !=null) if(this.searchForm.value.pd_type !=null)
{ {
@ -311,6 +311,10 @@ console.log(this.displayedColumns)
this.searchForm.value.pd_from_date = this.pipe.transform(this.searchForm.value.pd_from_date,'yyyy-MM-dd'); this.searchForm.value.pd_from_date = this.pipe.transform(this.searchForm.value.pd_from_date,'yyyy-MM-dd');
this.searchForm.value.pd_to_date = this.pipe.transform(this.searchForm.value.pd_to_date,'yyyy-MM-dd'); this.searchForm.value.pd_to_date = this.pipe.transform(this.searchForm.value.pd_to_date,'yyyy-MM-dd');
// console.log(JSON.stringify(this.searchForm.value)); // console.log(JSON.stringify(this.searchForm.value));
let dt =this.searchForm.value.date_type;
let ldt: number = +dt;
this.searchForm.value.date_type=ldt;
console.log(this.searchForm.value);
this._pd.overAllSearchFormDetails(this.searchForm.value).subscribe(res=> this._pd.overAllSearchFormDetails(this.searchForm.value).subscribe(res=>
{ {
this.xpandStatus = false; this.xpandStatus = false;

View File

@ -274,7 +274,10 @@ public LenderRoleID : any = localStorage.getItem('LenderRoleID');
this.searchForm.value.pd_from_date = this.pipe.transform(this.searchForm.value.pd_from_date,'yyyy-MM-dd'); this.searchForm.value.pd_from_date = this.pipe.transform(this.searchForm.value.pd_from_date,'yyyy-MM-dd');
this.searchForm.value.pd_to_date = this.pipe.transform(this.searchForm.value.pd_to_date,'yyyy-MM-dd'); this.searchForm.value.pd_to_date = this.pipe.transform(this.searchForm.value.pd_to_date,'yyyy-MM-dd');
let dt =this.searchForm.value.date_type;
let ldt: number = +dt;
this.searchForm.value.date_type=ldt;
console.log(this.searchForm.value);
this._pd.overAllSearchFormDetails(this.searchForm.value).subscribe(res=> this._pd.overAllSearchFormDetails(this.searchForm.value).subscribe(res=>
{ {
this.xpandStatus = false; this.xpandStatus = false;

View File

@ -244,7 +244,7 @@ public LenderRoleID : string = localStorage.getItem('LenderRoleID');
} }
searchItem() searchItem()
{ {
console.log(this.searchForm.value);
if(this.searchForm.value.pd_type !=null) if(this.searchForm.value.pd_type !=null)
{ {
@ -263,7 +263,10 @@ console.log(this.searchForm.value);
this.searchForm.value.pd_from_date = this.pipe.transform(this.searchForm.value.pd_from_date,'yyyy-MM-dd'); this.searchForm.value.pd_from_date = this.pipe.transform(this.searchForm.value.pd_from_date,'yyyy-MM-dd');
this.searchForm.value.pd_to_date = this.pipe.transform(this.searchForm.value.pd_to_date,'yyyy-MM-dd'); this.searchForm.value.pd_to_date = this.pipe.transform(this.searchForm.value.pd_to_date,'yyyy-MM-dd');
let dt =this.searchForm.value.date_type;
let ldt: number = +dt;
this.searchForm.value.date_type=ldt;
console.log(this.searchForm.value);
this._pd.overAllSearchFormDetails(this.searchForm.value).subscribe(res=> this._pd.overAllSearchFormDetails(this.searchForm.value).subscribe(res=>
{ {
this.xpandStatus = false; this.xpandStatus = false;