fix bug
This commit is contained in:
		| @ -4,7 +4,7 @@ | ||||
|  * @Author       : Shiming | ||||
|  * @Date         : 2022-01-12 10:52:50 | ||||
|  * @LastEditors  : Shiming | ||||
|  * @LastEditTime : 2022-02-10 13:36:07 | ||||
|  * @LastEditTime : 2022-02-22 15:23:06 | ||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle\\vehicle.component.html | ||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||
| --> | ||||
| @ -90,10 +90,7 @@ | ||||
|         <div *ngIf="item.mybidDetailInfo.length > 0"> | ||||
|           <p *ngFor="let data of item.mybidDetailInfo"> | ||||
|             {{ data.expenseName }}:¥{{ data.price | number: '0.2-2' }} | ||||
|             <span *ngIf="data.paymentStatus && data.paymentStatus === '1'" style="color: #f59a63">待申请</span> | ||||
|             <span *ngIf="data.paymentStatus && data.paymentStatus === '2'" style="color: #f59a63">已拒绝</span> | ||||
|             <span *ngIf="data.paymentStatus && data.paymentStatus === '3'" style="color: #f59a63">已支付</span> | ||||
|             <span *ngIf="data.paymentStatus && data.paymentStatus === '4'" style="color: #f59a63">申请中</span> | ||||
|             <span *ngIf="data.paymentStatusLabel" style="color: #f59a63">{{ data.paymentStatusLabel }}</span> | ||||
|           </p> | ||||
|         </div> | ||||
|       </ng-template> | ||||
|  | ||||
| @ -4,7 +4,7 @@ | ||||
|  * @Author       : Shiming | ||||
|  * @Date         : 2022-02-22 13:53:29 | ||||
|  * @LastEditors  : Shiming | ||||
|  * @LastEditTime : 2022-02-22 15:09:46 | ||||
|  * @LastEditTime : 2022-02-22 15:15:24 | ||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\order-management\\modal\\vehicle\\cancel-confirm\\cancel-confirm.component.ts | ||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||
|  */ | ||||
| @ -79,7 +79,10 @@ export class OneCarOrderCancelConfirmComponent implements OnInit { | ||||
|         indexId += 1; | ||||
|         index += ele?.price; | ||||
|       } | ||||
|       if (ele.expenseCode === '"ATT"'){ | ||||
|       console.log(ele.expenseCode) | ||||
|       if (ele.expenseCode == '"ATT"' || ele.expenseCode == 'ATT'){ | ||||
|         console.log('ele.expenseCode') | ||||
|         console.log(ele) | ||||
|         if(ele?.paymentStatusLabel == '已支付') { | ||||
|           this.ATTPrice = ele.price; | ||||
|         } else { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user