This commit is contained in:
wangshiming
2022-02-22 15:11:57 +08:00
parent 1a49a3bcd5
commit 1e898b4672
4 changed files with 31 additions and 7 deletions

View File

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

View File

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