From 24596c388d92c8e8dbde25a613a79b651bc2b89b Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Thu, 24 Feb 2022 16:53:11 +0800 Subject: [PATCH 1/5] edit --- .../advance-collection-detail.component.html | 14 ++++--- .../advance-collection-detail.component.ts | 10 ++--- .../transaction-flow.component.ts | 8 ++-- .../services/freight-account.service.ts | 2 + .../enterprise-audit.component.ts | 25 ++++++++++-- .../freight/list/detail/detail.component.html | 5 +++ .../freight/list/detail/detail.component.ts | 16 +++++++- .../freight/list/list.component.html | 2 +- .../components/freight/list/list.component.ts | 39 +++++++++++++------ .../freight/list/new/new.component.ts | 24 ++++++------ .../services/business/shipper-base.service.ts | 26 +++++++++++++ 11 files changed, 125 insertions(+), 46 deletions(-) diff --git a/src/app/routes/financial-management/components/advance-collection/advance-collection-detail/advance-collection-detail.component.html b/src/app/routes/financial-management/components/advance-collection/advance-collection-detail/advance-collection-detail.component.html index ac3c44e0..484a7e71 100644 --- a/src/app/routes/financial-management/components/advance-collection/advance-collection-detail/advance-collection-detail.component.html +++ b/src/app/routes/financial-management/components/advance-collection/advance-collection-detail/advance-collection-detail.component.html @@ -60,8 +60,8 @@ - + {{index+1}} - --> + \ No newline at end of file diff --git a/src/app/routes/financial-management/components/advance-collection/advance-collection-detail/advance-collection-detail.component.ts b/src/app/routes/financial-management/components/advance-collection/advance-collection-detail/advance-collection-detail.component.ts index ecaae0d1..0ddf08f4 100644 --- a/src/app/routes/financial-management/components/advance-collection/advance-collection-detail/advance-collection-detail.component.ts +++ b/src/app/routes/financial-management/components/advance-collection/advance-collection-detail/advance-collection-detail.component.ts @@ -133,17 +133,17 @@ export class AdvanceCollectionDetailComponent implements OnInit { ], info: [ { title: '序号', render: 'no', width: 70, className: 'text-left' }, - { title: '核销单号', index: 'cnoName', className: 'text-left', width: 200 }, - { title: '核销日期', index: 'billHId', className: 'text-center', width: 150 }, + { title: '核销单号', index: 'ahxcode', className: 'text-left', width: 200 }, + { title: '核销日期', index: 'ahxdate', className: 'text-center', width: 150 }, { title: '核销金额', - index: 'yskmoney', + index: 'ahxmoney', type: 'widget', className: 'text-right', - widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.yskmoney }) }, + widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.ahxmoney }) }, width: 200 }, - { title: '核销备注', index: 'vatapptype', className: 'text-left', width: 200 } + { title: '核销备注', index: 'remarks', className: 'text-left', width: 200 } ] }; } diff --git a/src/app/routes/financial-management/components/transaction-flow/transaction-flow.component.ts b/src/app/routes/financial-management/components/transaction-flow/transaction-flow.component.ts index fee7eaed..d2d258be 100644 --- a/src/app/routes/financial-management/components/transaction-flow/transaction-flow.component.ts +++ b/src/app/routes/financial-management/components/transaction-flow/transaction-flow.component.ts @@ -214,11 +214,11 @@ export class TransactionFlowComponent implements OnInit { private initST(): STColumn[] { return [ { title: '交易时间', index: 'createTime', width: 180 }, - { title: '流水号', index: 'transactionNumber', width: 150 }, + { title: '流水号', index: 'transactionNumber', width: 170 }, { title: '交易类型', index: 'tradeTypeLabel', width: 120 }, { title: '关联单号', index: 'businessNumber', width: 150 }, { title: '账户类型', index: 'accountTypeLabel', width: 130 }, - { title: '账户名称', index: 'roleName', width: 100 }, + { title: '账户名称', index: 'roleName', width: 180 }, { title: '所属项目', index: 'projectName', width: 140 }, { title: '收支类型', index: 'incomeTypeLabel', width: 100, className: 'text-center' }, { @@ -236,9 +236,9 @@ export class TransactionFlowComponent implements OnInit { className: 'text-right', widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.accountBalance }) } }, - { title: '网络货运人', index: 'ltdName', width: 140 }, + { title: '网络货运人', index: 'ltdName', width: 180 }, { title: '银行类型', index: 'bankTypeLabel', width: 100 }, - { title: '银行流水号', index: 'channelPaySn', width: 120 }, + { title: '银行流水号', index: 'channelPaySn', width: 170 }, { title: '操作', fixed: 'right', diff --git a/src/app/routes/financial-management/services/freight-account.service.ts b/src/app/routes/financial-management/services/freight-account.service.ts index c347df62..428616c8 100644 --- a/src/app/routes/financial-management/services/freight-account.service.ts +++ b/src/app/routes/financial-management/services/freight-account.service.ts @@ -123,6 +123,8 @@ export class FreightAccountService extends ShipperBaseService { $api_get_advance_collection_header = '/api/fcc/ficoBrmH/getByYskblaId'; // 根据预收款ID获取收款单明细 $api_get_advance_collection_detail = '/api/fcc/ficoBrmYsk/getBrmYskByYskblaId'; + // 根据预收款ID获取核销信息明细 + $api_get_advance_collection_hrxiao = '/api/fcc/ficoAhxH/getAhxHByYskblaId'; constructor(public injector: Injector, public eaCacheSrv: EACacheService) { super(injector, eaCacheSrv); diff --git a/src/app/routes/usercenter/components/freight/enterprise-audit/enterprise-audit.component.ts b/src/app/routes/usercenter/components/freight/enterprise-audit/enterprise-audit.component.ts index 2e3d6bd2..cc8f6464 100644 --- a/src/app/routes/usercenter/components/freight/enterprise-audit/enterprise-audit.component.ts +++ b/src/app/routes/usercenter/components/freight/enterprise-audit/enterprise-audit.component.ts @@ -1,7 +1,7 @@ import { Component, OnInit, ViewChild } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { STChange, STColumn, STComponent, STData, STRequestOptions } from '@delon/abc/st'; -import { SFComponent, SFSchema, SFUISchema } from '@delon/form'; +import { SFComponent, SFDateWidgetSchema, SFSchema, SFUISchema } from '@delon/form'; import { NzModalService } from 'ng-zorro-antd/modal'; import { UsermanageService } from '../../../services/usercenter.service'; import { AuditAdminComponent } from './audit-admin/audit-admin.component'; @@ -37,7 +37,11 @@ export class FreightComponentsEnterpriseAuditComponent implements OnInit { beforeReq = (requestOptions: STRequestOptions) => { if (this.sf) { Object.assign(requestOptions.body, { - ...this.sf.value + ...this.sf.value, + createTime: { + start: this.sf.value.createTime?.[0] || '', + end: this.sf.value.createTime?.[1] || '' + } }); } Object.assign(requestOptions.body, { flag: this.tabType, listSource: 2 }); @@ -151,10 +155,10 @@ export class FreightComponentsEnterpriseAuditComponent implements OnInit { initEnterST(): STColumn[] { return [ { title: '企业名称', className: 'text-center', index: 'enterpriseName', width: 350 }, - { title: '企业税号', className: 'text-center', index: 'unifiedSocialCreditCode', width: 180 }, + { title: '企业税号', className: 'text-center', index: 'unifiedSocialCreditCode', width: 190 }, { title: '管理员', className: 'text-center', index: 'contacter', width: 150 }, { title: '手机号', className: 'text-center', index: 'mobile', width: 140 }, - { title: '申请时间', className: 'text-center', index: 'createTime', width: 160 }, + { title: '注册时间', className: 'text-center', index: 'createTime', width: 170 }, { title: '审核状态', className: 'text-center', @@ -287,6 +291,19 @@ export class FreightComponentsEnterpriseAuditComponent implements OnInit { expand: (value: boolean) => value } } + }, + createTime: { + title: '注册时间', + type: 'string', + ui: { + widget: 'sl-from-to-search', + format: 'yyyy-MM-dd', + placeholder: '请选择', + nzShowTime: true, + visibleIf: { + expand: (value: boolean) => value + } + } as SFDateWidgetSchema } } }; diff --git a/src/app/routes/usercenter/components/freight/list/detail/detail.component.html b/src/app/routes/usercenter/components/freight/list/detail/detail.component.html index 0b7ac4bd..bd30936e 100644 --- a/src/app/routes/usercenter/components/freight/list/detail/detail.component.html +++ b/src/app/routes/usercenter/components/freight/list/detail/detail.component.html @@ -354,6 +354,11 @@ + + + + + diff --git a/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts b/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts index ccaf6852..8021cde5 100644 --- a/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts +++ b/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts @@ -28,9 +28,11 @@ export class FreightComponentsListDetailComponent implements OnInit, OnDestroy { disabledUpload = false; enterpriseAddressCode: any = []; ltdId: any = []; + roles: any = []; approvalOpinion = ''; networkTransporter = null; + roleId = null; esignCheckStatus: any = { 0: '不通过', @@ -55,6 +57,7 @@ export class FreightComponentsListDetailComponent implements OnInit, OnDestroy { ngOnInit() { this.initData(); this.loadltdId(); + this.loadRoles(); this.subscribeScoll = fromEvent(window, 'scroll').subscribe(event => { this.scrollTop = document.documentElement.scrollTop; }); @@ -66,6 +69,13 @@ export class FreightComponentsListDetailComponent implements OnInit, OnDestroy { } }); } + loadRoles() { + this.service.getRoles({ enterpriseId: 0, projectId: 0 }).subscribe(res => { + if (res) { + this.roles = res; + } + }); + } initData() { this.service @@ -149,11 +159,12 @@ export class FreightComponentsListDetailComponent implements OnInit, OnDestroy { auditPass() { this.networkTransporter = null; + this.roleId = null; this.nzModalService.create({ nzTitle: '审核通过', nzContent: this.approvedModal, nzOnOk: () => { - if (!this.networkTransporter) { + if (!this.networkTransporter || !this.roleId) { return false; } this.auditEnterprise(20); @@ -163,6 +174,7 @@ export class FreightComponentsListDetailComponent implements OnInit, OnDestroy { } auditNo() { this.approvalOpinion = ''; + this.roleId = null; this.nzModalService.create({ nzTitle: '审核驳回', nzContent: this.redectModal, @@ -183,7 +195,7 @@ export class FreightComponentsListDetailComponent implements OnInit, OnDestroy { id: this.detailData.id, approvalOpinion: this.approvalOpinion, networkTransporter: this.networkTransporter, - roleIds: [1] + roleId: this.roleId || null }) .subscribe(res => { if (res) { 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 59fa855e..436c0a2f 100644 --- a/src/app/routes/usercenter/components/freight/list/list.component.html +++ b/src/app/routes/usercenter/components/freight/list/list.component.html @@ -47,7 +47,7 @@ - {{ item.contacter }}/{{item.mobile}} + {{ item.contacter }}
/{{item.mobile}}
{{ item.promotersTelephone diff --git a/src/app/routes/usercenter/components/freight/list/list.component.ts b/src/app/routes/usercenter/components/freight/list/list.component.ts index 5c388569..0e075e82 100644 --- a/src/app/routes/usercenter/components/freight/list/list.component.ts +++ b/src/app/routes/usercenter/components/freight/list/list.component.ts @@ -179,15 +179,28 @@ export class FreightComponentsListComponent implements OnInit { initST() { this.columns = [ // { title: '', type: 'checkbox', className: 'text-center' }, - { title: '企业名称', className: 'text-center', index: 'enterpriseName' , width: 350}, - { title: '企业税号', className: 'text-center', index: 'unifiedSocialCreditCode', width: 180 }, - { title: '管理员', className: 'text-center', render: 'contacter' }, - { title: '审核人', className: 'text-center', index: 'approvalUserName' }, - - { title: '网络货运人', className: 'text-center', index: 'netTranName' }, - { title: '常用服务', className: 'text-center', index: 'oftenUsedServices', type: 'enum', enum: { 10: '整车发货', 20: '大宗发货' } }, - { title: '推广业务员', className: 'text-center', render: 'promotersTelephone' }, - { title: '注册渠道', className: 'text-center', index: 'source', type: 'enum', enum: { 1: '货主注册', 2: '平台添加', 3: '运营添加' } }, + { title: '企业名称', className: 'text-center', index: 'enterpriseName', width: 350 }, + { title: '企业税号', className: 'text-center', index: 'unifiedSocialCreditCode', width: 200 }, + { title: '管理员', className: 'text-center', render: 'contacter', width: 150 }, + { title: '审核人', className: 'text-center', index: 'approvalUserName', width: 130 }, + { title: '网络货运人', className: 'text-center', index: 'netTranName', width: 180 }, + { + title: '常用服务', + className: 'text-center', + index: 'oftenUsedServices', + type: 'enum', + enum: { 10: '整车发货', 20: '大宗发货' }, + width: 140 + }, + { title: '推广业务员', className: 'text-center', render: 'promotersTelephone', width: 150 }, + { + title: '注册渠道', + className: 'text-center', + index: 'source', + type: 'enum', + enum: { 1: '货主注册', 2: '平台添加', 3: '运营添加' }, + width: 130 + }, { title: '企业状态', className: 'text-center', @@ -196,15 +209,17 @@ export class FreightComponentsListComponent implements OnInit { badge: { 0: { text: '正常', color: 'success' }, 1: { text: '冻结', color: 'error' } - } + }, + width: 130 }, { title: '操作', width: '110px', - className: 'text-center', + fixed: 'right', buttons: [ + { type: 'divider' }, { - text: '查看
', + text: '查看
', acl: { ability: ['USERCENTER-FREIGHT-LIST-view'] }, click: item => { this.router.navigate(['./detail', item.id], { relativeTo: this.ar }); diff --git a/src/app/routes/usercenter/components/freight/list/new/new.component.ts b/src/app/routes/usercenter/components/freight/list/new/new.component.ts index 82358583..904ac081 100644 --- a/src/app/routes/usercenter/components/freight/list/new/new.component.ts +++ b/src/app/routes/usercenter/components/freight/list/new/new.component.ts @@ -598,18 +598,6 @@ export class FreightComponentsListNewComponent implements OnInit { }, title99: { title: '', type: 'string', ui: { widget: 'custom' } }, - adminMobile: { - title: ' 企业管理员手机号', - type: 'string', - minLength: 1, - format: 'mobile', - maxLength: 11, - ui: { - grid: { xxl: 13, xl: 18, lg: 24, md: 24 }, - placeholder: '请输入企业管理员手机号', - errors: { required: '请输入企业管理员手机号', format: '手机号格式错误' } - } - }, tipsA: { title: '企业管理员证件照', type: 'string', @@ -663,6 +651,18 @@ export class FreightComponentsListNewComponent implements OnInit { placeholder: '请输入企业管理员姓名' } }, + adminMobile: { + title: ' 企业管理员手机号', + type: 'string', + minLength: 1, + format: 'mobile', + maxLength: 11, + ui: { + grid: { xxl: 13, xl: 18, lg: 24, md: 24 }, + placeholder: '请输入企业管理员手机号', + errors: { required: '请输入企业管理员手机号', format: '手机号格式错误' } + } + }, certificateNumber: { title: '企业管理员身份证号', type: 'string', diff --git a/src/app/shared/services/business/shipper-base.service.ts b/src/app/shared/services/business/shipper-base.service.ts index 41c9fbf8..2fdc856a 100644 --- a/src/app/shared/services/business/shipper-base.service.ts +++ b/src/app/shared/services/business/shipper-base.service.ts @@ -15,6 +15,7 @@ export class ShipperBaseService extends BaseService { $api_get_settlement_customer_list = `/api/mdc/cuc/settlementCustomer/findAll`; // 查找所有结算客户信息(下拉) $api_get_crm_customer_list = `/api/mdc/cuc/crmCustomer/findAll`; // 查找所有Crm客户信息(下拉) $api_get_network_freight_forwarder_one = `/api/mdc/cuc/networkTransporter/get`; // 获取网络货运人 + $api_get_roles = `/api/mdc/cuc/roleInfo/getRoleList`; // 获取角色列表 // 根据FullKey获取系统子配置(树) $api_getSysConfigTreeByParentFullKey = `/api/mdc/pbc/sysConfig/getSysConfigTreeByParentFullKey`; envCache: any; @@ -183,6 +184,31 @@ export class ShipperBaseService extends BaseService { ); } + /** + * 获取角色列表 + * @returns + */ + getRoles(params = {}, containerAll = false) { + return this.request(this.$api_get_roles, params).pipe( + map((res: any) => { + if (!res) { + return []; + } + const list = res.map((item: any) => { + return { + label: item.roleName, + value: item.id + }; + }); + const obj = []; + if (containerAll) { + obj.push({ label: '全部', value: '' }); + } + return [...obj, ...list]; + }) + ); + } + /** * 根据ID获取网络货运人 * @returns From a37e60ad9fe427bab9df6dcef26a888e45a14afd Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Thu, 24 Feb 2022 17:01:09 +0800 Subject: [PATCH 2/5] edit --- .../refund-record/refund-record.component.ts | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/app/routes/financial-management/components/refund-record/refund-record.component.ts b/src/app/routes/financial-management/components/refund-record/refund-record.component.ts index 68c1a15b..ffcec16d 100644 --- a/src/app/routes/financial-management/components/refund-record/refund-record.component.ts +++ b/src/app/routes/financial-management/components/refund-record/refund-record.component.ts @@ -57,6 +57,10 @@ export class RefundRecordComponent implements OnInit { label: '拒绝', type: 'default', onClick: () => { + if (!this.msg) { + this.service.msgSrv.warning('请填写原因') + return false; + } this.service .request(this.service.$api_disagree_refund_record, { applicationId: item.id, @@ -245,10 +249,10 @@ export class RefundRecordComponent implements OnInit { private initST(): STColumn[] { return [ - { title: '退款单号', render: 'orderRefundCode', width: 180 }, - { title: '退款类型', index: 'refundTypeLabel', width: 120 }, + { title: '退款单号', render: 'orderRefundCode', width: 190 }, + { title: '退款类型', index: 'refundTypeLabel', width: 130 }, { title: '退款金额', render: 'refundAmount', className: 'text-right', width: 160 }, - { title: '退款时间', index: 'applyTime', width: 160 }, + { title: '退款时间', index: 'applyTime', width: 170 }, { title: '货主', index: 'shipperId', width: 150 }, { title: '所属项目', index: 'enterpriseProjectName', width: 140 }, { title: '支付单', render: 'billRefundPaymentVOS', width: 150 }, @@ -258,8 +262,8 @@ export class RefundRecordComponent implements OnInit { { title: '收款人', render: 'captain', width: 150 }, { title: '网络货运人', index: 'ltdName', width: 180 }, { title: '银行类型', index: 'bankTypeLabel', width: 120 }, - { title: '退款原因', index: 'rejectionCause', width: 150 }, - { title: '失败原因', index: 'failCause', width: 150 }, + { title: '退款原因', index: 'rejectionCause', width: 170 }, + { title: '失败原因', index: 'failCause', width: 170 }, { title: '操作', fixed: 'right', From 51c750a712181257d026c5191f6c03a02e1c704e Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Thu, 24 Feb 2022 17:02:49 +0800 Subject: [PATCH 3/5] edit --- .../components/refund-record/refund-record.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/routes/financial-management/components/refund-record/refund-record.component.ts b/src/app/routes/financial-management/components/refund-record/refund-record.component.ts index ffcec16d..93ea2547 100644 --- a/src/app/routes/financial-management/components/refund-record/refund-record.component.ts +++ b/src/app/routes/financial-management/components/refund-record/refund-record.component.ts @@ -262,7 +262,7 @@ export class RefundRecordComponent implements OnInit { { title: '收款人', render: 'captain', width: 150 }, { title: '网络货运人', index: 'ltdName', width: 180 }, { title: '银行类型', index: 'bankTypeLabel', width: 120 }, - { title: '退款原因', index: 'rejectionCause', width: 170 }, + { title: '退款原因', index: 'reason', width: 170 }, { title: '失败原因', index: 'failCause', width: 170 }, { title: '操作', From c1f01ad245af43c0c51bc3b447dc48c9137e1ba8 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Thu, 24 Feb 2022 17:07:11 +0800 Subject: [PATCH 4/5] edit --- .../invoice-requested-detail.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/routes/ticket-management/components/invoice-requested/invoice-requested-detail/invoice-requested-detail.component.ts b/src/app/routes/ticket-management/components/invoice-requested/invoice-requested-detail/invoice-requested-detail.component.ts index 4c47b8a3..7b62c99c 100644 --- a/src/app/routes/ticket-management/components/invoice-requested/invoice-requested-detail/invoice-requested-detail.component.ts +++ b/src/app/routes/ticket-management/components/invoice-requested/invoice-requested-detail/invoice-requested-detail.component.ts @@ -285,7 +285,7 @@ export class InvoiceRequestedDetailComponent implements OnInit { { title: '订单号', render: 'billHCode', width: 170 }, { title: '订单完成日期', index: 'billTime', type: 'date', width: 150 }, { title: '开票状态', index: 'vatappStsLabel', width: 100 }, - { title: '所属项目', index: 'projectId', width: 140 }, + { title: '所属项目', index: 'projectIdName', width: 140 }, { title: '订单类型', index: 'billType', width: 100, type: 'enum', enum: { 1: '整车', 2: '大宗' } }, { title: '装货地', index: 'loadingfrom', width: 220 }, { title: '卸货地', index: 'loadingto', width: 220 }, From f7efbe28c0a67feeefef1f0d00ad4b45ccee6197 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Thu, 24 Feb 2022 17:16:16 +0800 Subject: [PATCH 5/5] 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}}