diff --git a/src/app/routes/commom/less/commom-table.less b/src/app/routes/commom/less/commom-table.less index ec058484..b8c64c07 100644 --- a/src/app/routes/commom/less/commom-table.less +++ b/src/app/routes/commom/less/commom-table.less @@ -116,7 +116,7 @@ .text-truncate { white-space: normal; } - + // 强制头部居中 .ant-table-container table>thead>tr>.options { text-align: center !important; @@ -143,4 +143,11 @@ } } -.height_box {} \ No newline at end of file +.height_box {} + +.filter-box { + .com-input { + width : 150px; + height: 32PX; + } +} \ No newline at end of file diff --git a/src/app/routes/usercenter/components/freight/list/list.component.html b/src/app/routes/usercenter/components/freight/list/list.component.html index f51fa90a..5044b976 100644 --- a/src/app/routes/usercenter/components/freight/list/list.component.html +++ b/src/app/routes/usercenter/components/freight/list/list.component.html @@ -27,10 +27,9 @@
-
- - +
+ +
@@ -92,7 +91,7 @@

- {{ item.partnerName ? item.partnerName: '--'}}/{{item.partnerMobile ? item.partnerMobile :'--'}} + {{ item.partnerName ? item.partnerName: '--'}}/{{item.partnerMobile ? item.partnerMobile :'--'}}

@@ -102,7 +101,7 @@

- {{ item.channelName ? item.channelName: '--'}}/{{item.channelMobile ? item.channelMobile :'--'}} + {{ item.channelName ? item.channelName: '--'}}/{{item.channelMobile ? item.channelMobile :'--'}}

diff --git a/src/app/routes/vehicle/components/list/list.component.html b/src/app/routes/vehicle/components/list/list.component.html index 76411827..7c407d3e 100644 --- a/src/app/routes/vehicle/components/list/list.component.html +++ b/src/app/routes/vehicle/components/list/list.component.html @@ -39,12 +39,14 @@
- -
{{ item?.carModel ? item?.carModel + '-' : ''}}{{ item?.carLengthLabel ? item?.carLengthLabel + '米' : '' }}-{{ +
{{ item?.carModel ? item?.carModel + '-' : ''}}{{ item?.carLengthLabel ? item?.carLengthLabel + '米' : '' + }}-{{ item?.carLoad ? item?.carLoad + '吨' : '' }}
diff --git a/src/app/routes/vehicle/components/list/list.component.ts b/src/app/routes/vehicle/components/list/list.component.ts index 2f8ef98d..031d235c 100644 --- a/src/app/routes/vehicle/components/list/list.component.ts +++ b/src/app/routes/vehicle/components/list/list.component.ts @@ -23,6 +23,7 @@ export class VehicleComponentsListComponent extends BasicTableComponent implemen public searchDrawerService: SearchDrawerService ) { super(searchDrawerService); + this.sfValue = { enterpriseName: '', contactName: '' }; } /** @@ -30,11 +31,11 @@ export class VehicleComponentsListComponent extends BasicTableComponent implemen */ get reqParams() { const params: any = { - ...(this.sf && this.sf?.value) + ...(this.sfValue) }; - if (this.sf?.value.effectiveDate) { - params.effectiveDateStart = this.sf?.value.effectiveDate[0]; - params.effectiveDateEnd = this.sf?.value.effectiveDate[1]; + if (this.sfValue?.effectiveDate) { + params.effectiveDateStart =this.sfValue?.effectiveDate[0]; + params.effectiveDateEnd = this.sfValue?.effectiveDate[1]; } delete params.effectiveDate; delete params.expand;