This commit is contained in:
wangshiming
2022-04-15 15:16:31 +08:00
parent 7f8e5d748b
commit 450892e79d
2 changed files with 13 additions and 6 deletions

View File

@ -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);