fix bug
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2022-02-22 13:53:29
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-02-22 15:03:49
|
||||
* @LastEditTime : 2022-02-22 15:11:35
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\cancel-confirm\\cancel-confirm.component.html
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
-->
|
||||
@ -20,7 +20,7 @@
|
||||
</sv>
|
||||
<sv label="退款金额">
|
||||
<p *ngFor="let data of i?.mybidDetailInfo; let index = index">
|
||||
<label *ngIf="data?.paymentStatus == 3">
|
||||
<label *ngIf="data?.paymentStatusLabel == '已支付'">
|
||||
<span>{{data?.expenseName}}</span>
|
||||
<span>{{ data.price | number: '0.2-2' }}</span>
|
||||
</label>
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2022-02-22 13:53:29
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-02-22 15:04:58
|
||||
* @LastEditTime : 2022-02-22 15:09:46
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\cancel-confirm\\cancel-confirm.component.ts
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
*/
|
||||
@ -75,12 +75,12 @@ export class OneCarOrderCancelConfirmComponent implements OnInit {
|
||||
let indexId = 0
|
||||
let index = 0
|
||||
this.i?.mybidDetailInfo.forEach((ele: any) => {
|
||||
if (ele?.paymentStatus == 3) {
|
||||
if (ele?.paymentStatusLabel == '已支付') {
|
||||
indexId += 1;
|
||||
index += ele?.price;
|
||||
}
|
||||
if (ele.expenseCode === '"ATT"'){
|
||||
if(ele?.paymentStatus == 3) {
|
||||
if(ele?.paymentStatusLabel == '已支付') {
|
||||
this.ATTPrice = ele.price;
|
||||
} else {
|
||||
this.ATTPrice = 0;
|
||||
|
||||
Reference in New Issue
Block a user