fix bug
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2021-12-15 13:17:42
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-03-11 09:53:23
|
||||
* @LastEditTime : 2022-03-31 14:20:41
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\confir-receipt\\confir-receipt.component.html
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
-->
|
||||
@ -28,7 +28,10 @@
|
||||
{{item.BACK | currency}}
|
||||
</ng-template>
|
||||
<ng-template st-row="traiPrice" let-item let-index="index">
|
||||
{{ item.traiPrice | currency }}
|
||||
{{item.surcharge + item.traiPrice | currency}}
|
||||
</ng-template>
|
||||
<ng-template st-row="surcharge" let-item let-index="index">
|
||||
{{item.surcharge | currency}}
|
||||
</ng-template>
|
||||
</st>
|
||||
</sv>
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2021-12-15 13:17:42
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-03-02 13:52:27
|
||||
* @LastEditTime : 2022-03-31 14:21:48
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\confir-receipt\\confir-receipt.component.ts
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
*/
|
||||
@ -121,7 +121,9 @@ export class VehicleConfirReceiptComponent implements OnInit {
|
||||
cost.RECE = element.price;
|
||||
} else if (element.expenseName === '回单付' || element.expenseCode === 'BACK') {
|
||||
cost.BACK = element.price;
|
||||
} else if (element.expenseName === '总费用') {
|
||||
} else if (element.expenseCode === 'ATT') {
|
||||
cost.surcharge = element.price;
|
||||
} else if (element.expenseCode === 'TOTAL') {
|
||||
cost.traiPrice = element.price;
|
||||
}
|
||||
});
|
||||
@ -160,6 +162,11 @@ export class VehicleConfirReceiptComponent implements OnInit {
|
||||
index: 'BACK',
|
||||
render:'BACK'
|
||||
},
|
||||
{
|
||||
title: '附加费',
|
||||
index: 'surcharge',
|
||||
render:'surcharge'
|
||||
},
|
||||
{
|
||||
title: '总运费',
|
||||
index: 'traiPrice',
|
||||
|
||||
Reference in New Issue
Block a user