From f7efbe28c0a67feeefef1f0d00ad4b45ccee6197 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Thu, 24 Feb 2022 17:16:16 +0800 Subject: [PATCH] edit --- .../freight-config/freight-config.component.html | 2 +- .../freight-config/freight-config.component.ts | 13 +++++++------ .../components/freight/list/list.component.html | 8 -------- 3 files changed, 8 insertions(+), 15 deletions(-) diff --git a/src/app/routes/usercenter/components/freight/freight-config/freight-config.component.html b/src/app/routes/usercenter/components/freight/freight-config/freight-config.component.html index 86543345..d3dff03e 100644 --- a/src/app/routes/usercenter/components/freight/freight-config/freight-config.component.html +++ b/src/app/routes/usercenter/components/freight/freight-config/freight-config.component.html @@ -18,6 +18,6 @@ + [scroll]="{ x: '1200px' }" [loading]="service.http.loading"> \ No newline at end of file diff --git a/src/app/routes/usercenter/components/freight/freight-config/freight-config.component.ts b/src/app/routes/usercenter/components/freight/freight-config/freight-config.component.ts index 31f5486b..a53238ae 100644 --- a/src/app/routes/usercenter/components/freight/freight-config/freight-config.component.ts +++ b/src/app/routes/usercenter/components/freight/freight-config/freight-config.component.ts @@ -118,26 +118,26 @@ export class FreightConfigComponent implements OnInit { initST(): STColumn[] { return [ - { title: '企业名称', className: 'text-center', index: 'enterpriseName', width: 160 }, + { title: '企业名称', className: 'text-center', index: 'enterpriseName', width: 350 }, { title: '网络货运人', className: 'text-center', index: 'netTranName', width: 160 }, { title: '合同单费率', className: 'text-right', index: 'contractSurchargeRatio', - width: 140, + width: 130, format: item => `${item.contractSurchargeRatio}%` }, { title: '货源单费率', className: 'text-right', index: 'goodsSurchargeRatio', - width: 140, + width: 130, format: item => `${item.goodsSurchargeRatio}%` }, { title: '合同单业务量(元)', index: 'contractQuota', - width: 100, + width: 140, type: 'widget', className: 'text-right', widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.contractQuota }) } @@ -145,14 +145,15 @@ export class FreightConfigComponent implements OnInit { { title: '货源单业务量(元)', index: 'goodsQuota', - width: 100, + width: 140, type: 'widget', className: 'text-right', widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.goodsQuota }) } }, { title: '操作', - width: '110px', + width: '90px', + fixed: 'right', className: 'text-center', buttons: [ { 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 436c0a2f..4d0438d7 100644 --- a/src/app/routes/usercenter/components/freight/list/list.component.html +++ b/src/app/routes/usercenter/components/freight/list/list.component.html @@ -38,14 +38,6 @@ - -
-
- {{ item.enterpriseName }} -
-
-
{{ item.contacter }}
/{{item.mobile}}