From 73eb4801383158dedd0ffbdfabfab9a7c970556d Mon Sep 17 00:00:00 2001 From: wangshiming Date: Tue, 22 Mar 2022 09:42:33 +0800 Subject: [PATCH 1/2] fix bug --- .../order-management/components/risk/risk.component.html | 4 ++-- .../routes/order-management/components/risk/risk.component.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/routes/order-management/components/risk/risk.component.html b/src/app/routes/order-management/components/risk/risk.component.html index fd61afec..00a56cc6 100644 --- a/src/app/routes/order-management/components/risk/risk.component.html +++ b/src/app/routes/order-management/components/risk/risk.component.html @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-01-12 10:52:50 * @LastEditors : Shiming - * @LastEditTime : 2022-03-21 15:09:10 + * @LastEditTime : 2022-03-22 09:42:03 * @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\risk\\risk.component.html * Copyright (C) 2022 huzhenhong. All rights reserved. --> @@ -92,7 +92,7 @@

货物名称:{{ i?.goodsName }}

重量/体积:{{ i?.weight }}吨/{{ i?.volume }}方

-

车型/车长:{{ i?.carModel }}/ {{ i?.carLength }}

+

车型/车长:{{ i?.carModelLabel }}/ {{ i?.carLengthLabel }}

diff --git a/src/app/routes/order-management/components/risk/risk.component.ts b/src/app/routes/order-management/components/risk/risk.component.ts index a15c8233..7c8d3ae5 100644 --- a/src/app/routes/order-management/components/risk/risk.component.ts +++ b/src/app/routes/order-management/components/risk/risk.component.ts @@ -279,7 +279,7 @@ export class OrderManagementRiskComponent implements OnInit { { title: '货物信息', className: 'text-left', - width: '200px', + width: '250px', render: 'goodsInfoVOList' }, { From 6ba71ef342c956f51e8cb0fc10b13787800e3c17 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Tue, 22 Mar 2022 10:05:39 +0800 Subject: [PATCH 2/2] fix bug --- .../freight/freight-config/freight-config.component.ts | 1 + .../dynamic-setting-modal.component.ts | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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 e4aa738f..1f605413 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 @@ -70,6 +70,7 @@ export class FreightConfigComponent implements OnInit { nzWidth: 900, nzComponentParams: { extendType: '2', + spareBusinessId: item.networkTransporter, businessId: item.id, formatTypeList: (item: any[]) => [ ...item, diff --git a/src/app/shared/components/dynamic-setting/dynamic-setting-modal/dynamic-setting-modal.component.ts b/src/app/shared/components/dynamic-setting/dynamic-setting-modal/dynamic-setting-modal.component.ts index 426e0ddb..0de00c17 100644 --- a/src/app/shared/components/dynamic-setting/dynamic-setting-modal/dynamic-setting-modal.component.ts +++ b/src/app/shared/components/dynamic-setting/dynamic-setting-modal/dynamic-setting-modal.component.ts @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-01-10 16:06:17 * @LastEditors : Shiming - * @LastEditTime : 2022-02-17 13:28:39 + * @LastEditTime : 2022-03-22 10:05:15 * @FilePath : \\tms-obc-web\\src\\app\\shared\\components\\dynamic-setting\\dynamic-setting-modal\\dynamic-setting-modal.component.ts * Copyright (C) 2022 huzhenhong. All rights reserved. */ @@ -34,6 +34,8 @@ export class DynamicSettingModalComponent implements OnInit { @Input() extendType!: string; @Input() + spareBusinessId!: string; + @Input() businessId!: string; @Input() configvalue!: string; @@ -54,7 +56,8 @@ export class DynamicSettingModalComponent implements OnInit { .request('/api/mdc/pbc/sysConfigItemExtend/getSysConfigExtend', { configFullKey: this.configFullKey, extendType: this.extendType, - businessId: this.businessId + businessId: this.businessId, + spareBusinessId: this.spareBusinessId, }) .pipe( map((res: Array) => {