diff --git a/src/app/routes/supply-management/components/release-publish/release-publish.component.ts b/src/app/routes/supply-management/components/release-publish/release-publish.component.ts index 6683e303..d82b9567 100644 --- a/src/app/routes/supply-management/components/release-publish/release-publish.component.ts +++ b/src/app/routes/supply-management/components/release-publish/release-publish.component.ts @@ -173,9 +173,14 @@ export class SupplyManagementReleasePublishComponent implements OnInit { ui: { widget: 'select', placeholder: '请选择', - allowClear: true + allowClear: true, } as SFSelectWidgetSchema }, + enterpriseInfoNamer: { + type: 'string', + title: '', + ui: { hidden: true } + }, enterpriseInfoName: { type: 'string', title: '网络货运人', @@ -184,7 +189,11 @@ export class SupplyManagementReleasePublishComponent implements OnInit { placeholder: '请选择', allowClear: true, asyncData: () => this.shipperSrv.getNetworkFreightForwarder(), - change: () => this.payChange() + change: (q: any, qs: any) => { + console.log(qs.label); + this.sf1.setValue('/enterpriseInfoNamer', qs.label); + this.payChange() + } } }, externalResourceCode: { @@ -753,8 +762,6 @@ export class SupplyManagementReleasePublishComponent implements OnInit { resourcetype: '1' }; this.service.request(this.service.$api_getCalculatedSurcharge, params).subscribe(res => { - console.log('999'); - console.log(this?.sf1.value); if (res) { this.sf7.setValue('/appendFee', res.surcharge); this.sf7.setValue('/subtotal', subtotal); diff --git a/src/app/routes/supply-management/components/tran-agreement/tran-agreement.component.ts b/src/app/routes/supply-management/components/tran-agreement/tran-agreement.component.ts index a70664c4..8cfa9ca5 100644 --- a/src/app/routes/supply-management/components/tran-agreement/tran-agreement.component.ts +++ b/src/app/routes/supply-management/components/tran-agreement/tran-agreement.component.ts @@ -4,7 +4,7 @@ * @Author : Shiming * @Date : 2022-02-24 20:19:51 * @LastEditors : Shiming - * @LastEditTime : 2022-03-23 19:57:34 + * @LastEditTime : 2022-04-15 15:15:13 * @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\components\\tran-agreement\\tran-agreement.component.ts * Copyright (C) 2022 huzhenhong. All rights reserved. */ @@ -60,7 +60,7 @@ export class TranAgreementComponent { shipperLegalPersonName: this.enterpriseInfo.legalPersonName || '', //托运法定代表人 carrierLegalPersonName: this.enterpriseInfo.netLegalPersonName || '', //承运法定代表人 shipperName: this?.shipperName || '', //托运人 - carrierName: this.object?.enterpriseInfoName || '', //承运人 + carrierName: this.object?.enterpriseInfoNamer || this.object?.enterpriseInfoName || '', //承运人 consignorInfo: `${this.object?.unLoadingPlaceDTOList[0]?.appUserName || ''} ${ this.object?.unLoadingPlaceDTOList[0]?.contractTelephone || '' }`, // 发货信息