This commit is contained in:
wangshiming
2022-02-11 13:24:02 +08:00
parent aa1ac020bb
commit b2925be94d
2 changed files with 5 additions and 4 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2021-12-15 13:17:42
* @LastEditors : Shiming
* @LastEditTime : 2022-01-18 17:24:08
* @LastEditTime : 2022-02-11 11:08:42
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\update-freight\\update-freight.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
@ -14,9 +14,9 @@
<div>
<p>
<span style="font-weight: bolder"
>总运费:<span style="color: #dc112a">{{ data.totalFreight | currency }}</span></span
>总运费:<span style="color: #dc112a">{{ data?.totalAmount | currency }}</span></span
>
(运输费:{{ data.freight | currency }},附加费:{{ data.surcharge | currency }}
(运输费:{{ data?.totalFreight | currency }},附加费:{{ data?.totalSurcharge | currency }},附加费率:{{ data?.totalRate * 100 + '%' }}
</p>
<p>
<label nz-checkbox [(ngModel)]="aggreechecked">确认已阅读并知晓<a>《变更协议》</a></label>

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2021-12-15 13:17:42
* @LastEditors : Shiming
* @LastEditTime : 2022-01-18 17:24:18
* @LastEditTime : 2022-02-11 11:06:40
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\update-freight\\update-freight.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@ -35,6 +35,7 @@ export class VehicleUpdateFreightComponent implements OnInit {
constructor(private modal: NzModalRef, private msgSrv: NzMessageService, public service: OrderManagementService) {}
ngOnInit(): void {
console.log(this.data)
this.initSF(this.data);
}
initSF(data: any) {