车辆对接
This commit is contained in:
		| @ -1,7 +1,7 @@ | ||||
| <!-- | ||||
|  * @Author: your name | ||||
|  * @Date: 2021-12-03 15:31:52 | ||||
|  * @LastEditTime: 2021-12-27 13:56:18 | ||||
|  * @LastEditTime: 2021-12-27 21:06:47 | ||||
|  * @LastEditors: Please set LastEditors | ||||
|  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE | ||||
|  * @FilePath: \tms-obc-web\src\app\routes\order-management\components\vehicle-detail\vehicle-detail.component.html | ||||
| @ -82,13 +82,15 @@ | ||||
| <nz-card nzTitle="运单进度"> | ||||
|   <div class="approval-status"> | ||||
|     <div style="width: 60%; margin: 0 auto"> | ||||
|       <!-- <nz-steps [nzLabelPlacement]="'vertical'"> | ||||
|         <nz-step [nzStatus]="i?.resourceStatus !== '1'?'finish':'process'" nzIcon="solution" | ||||
|           [nzDescription]="i?.createAt" nzTitle="下单"></nz-step> | ||||
|         <nz-step *ngIf="i?.resourceStatus === '1' || i?.resourceStatus === '2' " | ||||
|           [nzStatus]="i?.resourceStatus=== '1'? 'wait':'finish'" nzIcon="file-done" [nzTitle]="'接单'"></nz-step> | ||||
|         <nz-step nzStatus="finish" nzIcon="close-circle" nzTitle="取消货源" *ngIf="i?.resourceStatus === '3'"></nz-step> | ||||
|       </nz-steps> --> | ||||
|         <nz-steps [nzCurrent]="approvalLsit?.length + 1" nzLabelPlacement="vertical"> | ||||
|            <nz-step | ||||
|              *ngFor="let item of approvalLsit" | ||||
|              [nzTitle]="item?.state" | ||||
|              [nzSubtitle]="item?.stateTime" | ||||
|              [nzStatus]="item?.displayStatus === 'SHOW' ? 'finish' : 'wait'" | ||||
|            > | ||||
|           </nz-step> | ||||
|          </nz-steps> | ||||
|     </div> | ||||
|   </div> | ||||
| </nz-card> | ||||
|  | ||||
| @ -57,5 +57,7 @@ | ||||
|     .leftPadding { | ||||
|         padding-right: 100px; | ||||
|     } | ||||
|  | ||||
|     .hide{ | ||||
|         display: none; | ||||
|     } | ||||
| } | ||||
| @ -2,7 +2,7 @@ import { ViewChild } from '@angular/core'; | ||||
| /* | ||||
|  * @Author: your name | ||||
|  * @Date: 2021-12-03 15:31:52 | ||||
|  * @LastEditTime: 2021-12-27 13:54:45 | ||||
|  * @LastEditTime: 2021-12-27 21:05:48 | ||||
|  * @LastEditors: Please set LastEditors | ||||
|  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE | ||||
|  * @FilePath: \tms-obc-web\src\app\routes\order-management\components\vehicle-detail\vehicle-detail.component.ts | ||||
| @ -29,6 +29,7 @@ export class OrderManagementVehicleDetailComponent implements OnInit { | ||||
|     goodsResource: [] | ||||
|   }; | ||||
|   imges: any; | ||||
|   approvalLsit: any; | ||||
|   isVisible = false; | ||||
|   logColumns: STColumn[] = [ | ||||
|     { title: '款项', index: 'costName' }, | ||||
| @ -72,19 +73,18 @@ export class OrderManagementVehicleDetailComponent implements OnInit { | ||||
|       console.log(res) | ||||
|       if (res) { | ||||
|         this.i =res; | ||||
|         console.log(this.i?.unLoadingPlaceList) | ||||
|         this.approvalLsit =  res.scheduleVOList | ||||
|         this.approvalLsit.map((item: any, key: any) => { | ||||
|           console.log(item) | ||||
|           if(item.displayStatus === 'HIDE') { | ||||
|             delete(this.approvalLsit[key]) | ||||
|           } | ||||
|         }) | ||||
|         console.log(this.approvalLsit) | ||||
|       } | ||||
|     }) | ||||
|   } | ||||
|  | ||||
|   hand() { | ||||
|     this.modalService.create({ | ||||
|       nzTitle: '', | ||||
|       // nzContent: OrderManagementGaodeMapComponent, | ||||
|       nzWidth: 1200 | ||||
|     }); | ||||
|   } | ||||
|  | ||||
|   goBack() { | ||||
|     window.history.go(-1); | ||||
|   } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user