This commit is contained in:
wangshiming
2022-03-03 14:13:13 +08:00
parent 2e5164fe3c
commit d1fa642b83
3 changed files with 41 additions and 21 deletions

View File

@ -51,6 +51,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
totalDistance = 0.0; //总里程
totalTime = 0.0; //路程总时间
currentRate = 0; //实时计算的费率
shipperAppName = '';
constructor(
private http: _HttpClient,
fb: FormBuilder,
@ -156,10 +157,12 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
return of([]);
}
},
change: (q: any) => {
change: (q: any, qq: any) => {
let str = q.replace(/^\s+|\s+$/g, '');
if (str) {
console.log(qq)
this.getRegionCode(str);
this.shipperAppName = qq;
this.payChange();
}
}
@ -977,7 +980,7 @@ export class SupplyManagementReleasePublishComponent implements OnInit {
nzContent: TranAgreementComponent,
nzWidth: 900,
nzFooter: null,
nzComponentParams: { Object: params }
nzComponentParams: { object: params }
});
modalRef.afterClose.subscribe(result => {
if (result) {