fix bug
This commit is contained in:
@ -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);
|
||||
|
||||
@ -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 || ''
|
||||
}`, // 发货信息
|
||||
|
||||
Reference in New Issue
Block a user