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);
|
||||
|
||||
Reference in New Issue
Block a user