返佣
This commit is contained in:
		| @ -19,8 +19,8 @@ | ||||
|     </div> | ||||
|     <div nz-row style="display: flex; justify-content: end;" class="mb-xs"> | ||||
|       <div nz-col> | ||||
|         <button nz-button *ngIf="i.wayBillStatus == '2'"  (click)="sureDepart(i)" acl  [acl-ability]="['WAYBILL-BULK-DETAIL-insertBulkStartCarInfo']">确认发车</button> | ||||
|         <button nz-button nzType="primary" *ngIf="i.wayBillStatus == '3'" (click)="sureArrive(i)" nzGhost acl  [acl-ability]="['WAYBILL-BULK-DETAIL-insertBulkUnloadCarInfo']" >确认到车</button> | ||||
|         <button nz-button *ngIf="i?.wayBillStatus == '2'"  (click)="sureDepart(i)" acl  [acl-ability]="['WAYBILL-BULK-DETAIL-insertBulkStartCarInfo']">确认发车</button> | ||||
|         <button nz-button nzType="primary" *ngIf="i?.wayBillStatus == '3'" (click)="sureArrive(i)" nzGhost acl  [acl-ability]="['WAYBILL-BULK-DETAIL-insertBulkUnloadCarInfo']" >确认到车</button> | ||||
|       </div> | ||||
|     </div> | ||||
|    <div> | ||||
| @ -29,10 +29,10 @@ | ||||
|         <sv label="货主">{{ i?.shippername }} </sv> | ||||
|         <sv label="所属项目">{{i?.enterpriseProject}}</sv> | ||||
|         <sv label="服务类型">{{i?.serviceTypeLabel}}</sv> | ||||
|         <sv label="调度员">{{i?.dispatch?.name}} /{{i?.dispatch?.phone}}</sv> | ||||
|         <sv label="调度员">{{i?.dispatchName}} /{{i?.dispatchPhone}}</sv> | ||||
|         <sv label="外部订单号">{{ i?.externalBillCode }}</sv> | ||||
|         <sv label="货源编号">{{ i?.resourceCode }} </sv> | ||||
|         <sv label="运单号">{{ i?.wayBillCode }}</sv> | ||||
|         <sv label="运单号">{{ i?.wayBill?.wayBillCode }}</sv> | ||||
|         <sv label="承诺付款天数">{{ i?.paymentDays }}</sv> | ||||
|      </div> | ||||
|      <nz-tabset style="margin-top: 15px;"> | ||||
| @ -92,13 +92,13 @@ | ||||
|       {{i?.unloadPlanTime}} | ||||
|     </sv> --> | ||||
|     <sv label="接单数量"> | ||||
|       {{i?.acceptWeight}}吨,{{i?.acceptVolume}}方,{{i?.acceptNumber}}件 | ||||
|       {{ i?.acceptWeight }}吨,{{ i?.acceptVolume }}方 | ||||
|     </sv> | ||||
|     <sv *ngIf="i?.billStatus =='3' || i?.billStatus =='4' || i?.billStatus =='5'" label="装货数量"> | ||||
|       {{i?.acceptWeight}}吨,{{i?.acceptVolume}}方,{{i?.acceptNumber}}件 | ||||
|       {{ i?.loadWeight }}吨,{{ i?.loadVolume }}方 | ||||
|     </sv> | ||||
|     <sv *ngIf="i?.billStatus =='4' || i?.billStatus =='5'" label="卸货数量"> | ||||
|       {{i?.settlementWeight}}吨,{{i?.settlementVolume}}方,{{i?.acceptNumber}}件 | ||||
|       {{ i?.settlementWeight }}吨,{{ i?.settlementVolume }}方 | ||||
|     </sv> | ||||
| </sv-container> | ||||
| <div class="mt-md"> | ||||
| @ -182,7 +182,7 @@ | ||||
|     <sv label="协议附件"> | ||||
|       <!-- {{i?.supplementaryInformationVO?.stateReceipt?'是':'否'}} --> | ||||
|       <a href="javascript:;" (click)="agreement('1')">查看附件</a>      | ||||
|       <a href="javascript:;" (click)="agreement('2')">补充协议</a> | ||||
|       <a target="_blank" [routerLink]="['/agreement']" [queryParams]="{ type: 8 }">补充协议</a> | ||||
|     </sv> | ||||
|   </sv-container> | ||||
|   <sv-container col="2" class="mt-md"> | ||||
| @ -224,13 +224,12 @@ | ||||
|     </sv> | ||||
|   </sv-container> | ||||
| </nz-card> | ||||
|  | ||||
| <nz-card> | ||||
|   <div nz-row> | ||||
|     <nz-card nzTitle="轨迹信息" style="width: 100%" [nzExtra]="extraTemplate" #distannce5> | ||||
|       <div nz-row> | ||||
|         <div nz-col [nzSpan]="12"> | ||||
|           <st [scroll]="{y: '500px'}" #st [data]="addressItems" [columns]="logColumns2" [ps]="0" [page]="{ show: false, showSize: false }"> | ||||
|           <st [scroll]="{y: '500px'}" style="min-height: 600px;" #st [data]="addressItems" [columns]="logColumns2" [ps]="0" [page]="{ show: false, showSize: false }"> | ||||
|           </st> | ||||
|         </div> | ||||
|         <div nz-col [nzSpan]="12"> | ||||
| @ -249,6 +248,7 @@ | ||||
|  | ||||
| <nz-modal [(nzVisible)]="isVisible"   [nzFooter]="nzModalFooter" nzTitle="附件信息" (nzOnOk)="handleOK()" (nzOnCancel)="handleCancel()"> | ||||
|   <ng-container *nzModalContent> | ||||
|     <div *ngIf="!imges">暂无附件信息</div> | ||||
|     <app-imagelist [imgList]="imges"></app-imagelist> | ||||
|   </ng-container> | ||||
|   <ng-template #nzModalFooter> | ||||
|  | ||||
| @ -72,7 +72,7 @@ export class WaybillManagementBulkeDetailComponent implements OnInit { | ||||
|  | ||||
|   ngOnInit(): void { | ||||
|     this.initData() | ||||
|     this.getDriverTrajectory() | ||||
|     this.getTrajectory() | ||||
|   } | ||||
|   initData() { | ||||
|     const params = { | ||||
| @ -84,7 +84,7 @@ export class WaybillManagementBulkeDetailComponent implements OnInit { | ||||
|       this.unLoadingPlaceVOList.push(...res.dischargePlace) | ||||
|       console.log(this.unLoadingPlaceVOList) | ||||
|       this.i = res; | ||||
|       this.billExpenses = this.i?.billExpenseDetailVOList?.filter((data: any) => data.costCode === 'TRA'); | ||||
|       this.billExpenses = this.i?.billExpenseDetails?.filter((data: any) => data.costCode === 'TRA'); | ||||
|         this.i.scheduleVOList = this.i?.scheduleVOList?.filter((data:any)=>data.displayStatus !=="HIDE"); | ||||
|     }) | ||||
|   } | ||||
| @ -102,17 +102,7 @@ export class WaybillManagementBulkeDetailComponent implements OnInit { | ||||
|     window.history.go(-1); | ||||
|   } | ||||
|   agreement(value: any) { | ||||
|     console.log('123') | ||||
|     console.log(value) | ||||
|     if(value === '1') { | ||||
|       this.imges = this.i?.supplementAgreement | ||||
|     } else if (value === '2') { | ||||
|       this.imges = this.i?.loadingCertificate | ||||
|     } else if (value === '3') { | ||||
|       this.imges = this.i?.unLoadingCertificate | ||||
|     } else if (value === '4') { | ||||
|       this.imges = this.i?.receiptCertificate | ||||
|     } | ||||
|     this.imges = this.i?.agreementFilePath | ||||
|     this.isVisible = true; | ||||
|   } | ||||
|   handleCancel() { | ||||
|  | ||||
| @ -86,9 +86,9 @@ | ||||
|         <div>{{item?.settlementBasisLabel}}</div> | ||||
|       </ng-template> | ||||
|       <ng-template st-row="billExpenseDetailVOList" let-item let-index="index"> | ||||
|         <div *ngIf="item?.billExpenseDetailVOList.length > 0"> | ||||
|         <div *ngIf="item?.billExpenseDetailVOList?.length > 0"> | ||||
|           <p *ngFor="let data of item?.billExpenseDetailVOList"> | ||||
|             {{ data.costCodeLabel }}:{{ data.price | currency }} | ||||
|             {{ data.costName }}:{{ data.price | currency }} | ||||
|             <span style="color: #f59a63">{{ data.paymentStatusLabel }}</span> | ||||
|           </p> | ||||
|         </div> | ||||
|  | ||||
| @ -283,8 +283,7 @@ tabs = { | ||||
|         width: '200px', | ||||
|         className: 'text-left', | ||||
|         format: (item: any) => | ||||
|           `${item.settlementWeight || '0'}吨/ | ||||
|            ${item.settlementVolume || '0'}方` | ||||
|           `${item.settlementWeight || ''}` | ||||
|       }, | ||||
|       { | ||||
|         title: '承运司机', | ||||
|  | ||||
| @ -29,10 +29,10 @@ | ||||
|         <sv label="货主">{{ i?.shippername }} </sv> | ||||
|         <sv label="所属项目">{{i?.enterpriseProject}}</sv> | ||||
|         <sv label="服务类型">{{i?.serviceTypeLabel}}</sv> | ||||
|         <sv label="调度员">{{i?.dispatch?.name}} /{{i?.dispatch?.phone}}</sv> | ||||
|         <sv label="调度员">{{i?.dispatchName}} /{{i?.dispatchPhone}}</sv> | ||||
|         <sv label="外部订单号">{{ i?.externalBillCode }}</sv> | ||||
|         <sv label="货源编号">{{ i?.resourceCode }} </sv> | ||||
|         <sv label="运单号">{{ i?.wayBillCode }}</sv> | ||||
|         <sv label="运单号">{{ i?.wayBill?.wayBillCode }}</sv> | ||||
|         <sv label="承诺付款天数">{{ i?.paymentDays }}</sv> | ||||
|      </div> | ||||
|      <nz-tabset style="margin-top: 15px;"> | ||||
| @ -133,13 +133,13 @@ | ||||
| <nz-card nzTitle="服务信息"> | ||||
|   <sv-container> | ||||
|     <sv label="服务包"> | ||||
|       {{i?.goodsResource?.insuranceTypeLabel}} | ||||
|       {{i?.insuranceTypeLabel}} | ||||
|     </sv> | ||||
|     <sv label="货物价值"> | ||||
|       {{i?.goodsResource?.goodsValue !==null?(i?.goodsResource?.goodsValue|currency)+'元':'-'}} | ||||
|       {{i?.goodsValue !==null?(i?.goodsValue|currency)+'元':'-'}} | ||||
|     </sv> | ||||
|     <sv label="保价费金额"> | ||||
|       {{i?.goodsResource?.insurancePremium!==null?(i?.goodsResource?.insurancePremium |currency)+'元':'-'}} | ||||
|     <sv label="服务包费用"> | ||||
|       {{i?.insurancePremium!==null?(i?.insurancePremium |currency)+'元':'-'}} | ||||
|     </sv> | ||||
|   </sv-container> | ||||
| </nz-card> | ||||
| @ -164,7 +164,7 @@ | ||||
|     <sv label="协议附件"> | ||||
|       <!-- {{i?.supplementaryInformationVO?.stateReceipt?'是':'否'}} --> | ||||
|       <a href="javascript:;" (click)="agreement('1')">查看附件</a>      | ||||
|       <a href="javascript:;" (click)="agreement('2')">补充协议</a> | ||||
|       <a target="_blank" [routerLink]="['/agreement']" [queryParams]="{ type: 8 }">补充协议</a> | ||||
|     </sv> | ||||
|   </sv-container> | ||||
|   <sv-container col="2" class="mt-md"> | ||||
| @ -181,28 +181,25 @@ | ||||
| <nz-card nzTitle="补充信息"> | ||||
|   <sv-container> | ||||
|     <sv label="是否回单"> | ||||
|       {{i?.receiptType == 1 ?'是':'否'}} | ||||
|       {{ i?.supplementaryInformationVO?.stateReceipt ? '是' : '否' }} | ||||
|     </sv> | ||||
|     <sv label="回单类型" *ngIf="i?.receiptType == 1"> | ||||
|       {{i?.receiptTypeLabel}} | ||||
|     <sv label="回单类型" *ngIf="i?.supplementaryInformationVO?.stateReceipt"> | ||||
|       {{ i?.supplementaryInformationVO?.receiptType === '1' ? '电子回单' : '纸质回单' }} | ||||
|     </sv> | ||||
|     <sv label="联系人" *ngIf="i?.receiptType == 1"> | ||||
|       {{i?.receiptUser}}{{ i?.receiptUserPhone ? ' /' + i?.receiptUserPhone : ''}} | ||||
|     <sv label="联系人" *ngIf="i?.supplementaryInformationVO?.stateReceipt">  {{ i?.supplementaryInformationVO?.receiptUserName }} / {{ i?.supplementaryInformationVO?.phon }} </sv> | ||||
|     <sv label="所在地区" *ngIf="i?.supplementaryInformationVO?.stateReceipt"> | ||||
|       {{ i?.supplementaryInformationVO?.area }} | ||||
|     </sv> | ||||
|     <sv label="所在地区" *ngIf="i?.receiptType == 1"> | ||||
|       {{i?.receiptPlace}} | ||||
|     <sv label="详细地址" *ngIf="i?.supplementaryInformationVO?.stateReceipt"> | ||||
|       {{ i?.supplementaryInformationVO?.address }} | ||||
|     </sv> | ||||
|     <sv label="详细地址" *ngIf="i?.receiptType == 1"> | ||||
|       {{i?.receiptAddress}} | ||||
|     </sv> | ||||
|    | ||||
|   </sv-container> | ||||
|   <sv-container col="1" class="mt-md"> | ||||
|     <sv label="回单凭证" *ngIf="i?.receiptType == 1"> | ||||
|       <app-imagelist *ngIf="i?.receiptFilePath" [imgList]="[i?.receiptFilePath]"></app-imagelist> | ||||
|     <sv label="回单凭证" *ngIf="i?.supplementaryInformationVO?.stateReceipt"> | ||||
|       <app-imagelist [imgList]="i?.receiptFilePath"></app-imagelist> | ||||
|     </sv> | ||||
|     <sv label="备注"> | ||||
|       {{i?.goodsResource?.remarks}} | ||||
|       {{ i?.supplementaryInformationVO?.remarks }} | ||||
|     </sv> | ||||
|   </sv-container> | ||||
| </nz-card> | ||||
| @ -212,7 +209,7 @@ | ||||
|     <nz-card nzTitle="轨迹信息" style="width: 100%" [nzExtra]="extraTemplate" #distannce5> | ||||
|       <div nz-row> | ||||
|         <div nz-col [nzSpan]="12"> | ||||
|           <st [scroll]="{y: '500px'}" #st [data]="addressItems" [columns]="logColumns2" [ps]="0" [page]="{ show: false, showSize: false }"> | ||||
|           <st [scroll]="{y: '500px'}" style="min-height: 600px;" #st [data]="addressItems" [columns]="logColumns2" [ps]="0" [page]="{ show: false, showSize: false }"> | ||||
|           </st> | ||||
|         </div> | ||||
|         <div nz-col [nzSpan]="12"> | ||||
| @ -231,6 +228,7 @@ | ||||
|  | ||||
| <nz-modal [(nzVisible)]="isVisible"   [nzFooter]="nzModalFooter" nzTitle="附件信息" (nzOnOk)="handleOK()" (nzOnCancel)="handleCancel()"> | ||||
|   <ng-container *nzModalContent> | ||||
|     <div *ngIf="!imges">暂无附件信息</div> | ||||
|     <app-imagelist [imgList]="imges"></app-imagelist> | ||||
|   </ng-container> | ||||
|   <ng-template #nzModalFooter> | ||||
|  | ||||
| @ -24,12 +24,11 @@ import { WaybillManagementServe } from '../../services/waybill-management.servic | ||||
|   styleUrls: ['./vehicle-detail.component.less'] | ||||
| }) | ||||
| export class WaybillManagementVehicleDetailComponent implements OnInit, OnDestroy { | ||||
|  | ||||
|   id = this.route.snapshot.params.id; | ||||
|   MapList: any[]=[]; | ||||
|   MapList: any[] = []; | ||||
|   trajectory = 'car'; | ||||
|   mapList:any[] = [];  //地图点位数据组 | ||||
|   addressItems:any[] = [];  //打点地址数据组 | ||||
|   mapList: any[] = []; //地图点位数据组 | ||||
|   addressItems: any[] = []; //打点地址数据组 | ||||
|   i: any; | ||||
|   totalObj: any; | ||||
|   attObj: any; | ||||
| @ -50,7 +49,7 @@ export class WaybillManagementVehicleDetailComponent implements OnInit, OnDestro | ||||
|     { | ||||
|       title: '支付状态', | ||||
|       className: 'text-center', | ||||
|       index: 'paymentStatusLabel', | ||||
|       index: 'paymentStatusLabel' | ||||
|     } | ||||
|   ]; | ||||
|  | ||||
| @ -60,19 +59,16 @@ export class WaybillManagementVehicleDetailComponent implements OnInit, OnDestro | ||||
|     private route: ActivatedRoute, | ||||
|     private msgSrv: NzMessageService, | ||||
|     private service: WaybillManagementServe, | ||||
|     private modal: NzModalService, | ||||
|   ) { | ||||
|  | ||||
|   } | ||||
|     private modal: NzModalService | ||||
|   ) {} | ||||
|  | ||||
|   ngOnDestroy(): void { | ||||
|     this.subscribeScoll.unsubscribe(); | ||||
|   } | ||||
|  | ||||
|  | ||||
|   ngOnInit(): void { | ||||
|     this.initData() | ||||
|     this.getTrajectory() | ||||
|     this.initData(); | ||||
|     this.getTrajectory(); | ||||
|     this.subscribeScoll = fromEvent(window, 'scroll').subscribe(event => { | ||||
|       this.scrollTop = document.documentElement.scrollTop; | ||||
|     }); | ||||
| @ -80,48 +76,38 @@ export class WaybillManagementVehicleDetailComponent implements OnInit, OnDestro | ||||
|   initData() { | ||||
|     const params = { | ||||
|       id: this.id | ||||
|     } | ||||
|     this.service.request(this.service.$api_get_getWholeDetail, params).subscribe((res) => { | ||||
|       console.log(res) | ||||
|       this.unLoadingPlaceVOList.push(...res.loadingPlace) | ||||
|       this.unLoadingPlaceVOList.push(...res.dischargePlace) | ||||
|       console.log(this.unLoadingPlaceVOList) | ||||
|     }; | ||||
|     this.service.request(this.service.$api_get_getWholeDetail, params).subscribe(res => { | ||||
|       console.log(res); | ||||
|       this.unLoadingPlaceVOList.push(...res.loadingPlace); | ||||
|       this.unLoadingPlaceVOList.push(...res.dischargePlace); | ||||
|       console.log(this.unLoadingPlaceVOList); | ||||
|       this.i = res; | ||||
|       this.billExpenses = this.i?.billExpenseDetailVOList?.filter( | ||||
|       this.billExpenses = this.i?.billExpenseDetails?.filter( | ||||
|         (data: any) => data.costCode === 'PRE' || data.costCode === 'RECE' || data.costCode === 'BACK' | ||||
|       ); | ||||
|       this.i.scheduleVOList = this.i?.scheduleVOList?.filter((data: any) => data.displayStatus !== 'HIDE'); | ||||
|     }) | ||||
|     }); | ||||
|   } | ||||
|  | ||||
|   goBack() { | ||||
|     window.history.go(-1); | ||||
|   } | ||||
|   agreement(value: any) { | ||||
|     console.log('123') | ||||
|     console.log(value) | ||||
|     if(value === '1') { | ||||
|       this.imges = this.i?.supplementAgreement | ||||
|     } else if (value === '2') { | ||||
|       this.imges = this.i?.loadingCertificate | ||||
|     } else if (value === '3') { | ||||
|       this.imges = this.i?.unLoadingCertificate | ||||
|     } else if (value === '4') { | ||||
|       this.imges = this.i?.receiptCertificate | ||||
|     } | ||||
|     this.imges = this.i?.agreementFilePath; | ||||
|     this.isVisible = true; | ||||
|   } | ||||
|   handleCancel() { | ||||
|     this.isVisible = false | ||||
| } | ||||
| handleOK() { | ||||
|   this.isVisible = false | ||||
| } | ||||
| goDistance(elf: NzCardComponent) { | ||||
|   if (elf) { | ||||
|     elf['elementRef'].nativeElement.scrollIntoView({ behavior: 'smooth', block: 'start', inline: 'start' }); | ||||
|     this.isVisible = false; | ||||
|   } | ||||
|   handleOK() { | ||||
|     this.isVisible = false; | ||||
|   } | ||||
|   goDistance(elf: NzCardComponent) { | ||||
|     if (elf) { | ||||
|       elf['elementRef'].nativeElement.scrollIntoView({ behavior: 'smooth', block: 'start', inline: 'start' }); | ||||
|     } | ||||
|   } | ||||
| } | ||||
|   //  *确认发车 | ||||
|  | ||||
|   sureDepart(item: any) { | ||||
| @ -136,9 +122,8 @@ goDistance(elf: NzCardComponent) { | ||||
|       nzFooter: null | ||||
|     }); | ||||
|     modalRef.afterClose.subscribe((result: any) => { | ||||
|       this.initData() | ||||
|    | ||||
|   }); | ||||
|       this.initData(); | ||||
|     }); | ||||
|   } | ||||
|   // 确认到车 | ||||
|   sureArrive(item: any) { | ||||
| @ -153,17 +138,16 @@ goDistance(elf: NzCardComponent) { | ||||
|       nzFooter: null | ||||
|     }); | ||||
|     modalRef.afterClose.subscribe((result: any) => { | ||||
|       this.initData() | ||||
|     | ||||
|   }); | ||||
|       this.initData(); | ||||
|     }); | ||||
|   } | ||||
|  | ||||
|   // 获取车辆轨迹 | ||||
|   getTrajectory(){ | ||||
|   getTrajectory() { | ||||
|     this.service.request(this.service.$api_get_getTrajectory, { id: this.id }).subscribe(res => { | ||||
|       if (res) { | ||||
|         const points = res.trackArray; | ||||
|         let list :any[] = []; | ||||
|         let list: any[] = []; | ||||
|         points?.forEach((item: any) => { | ||||
|           list.push({ | ||||
|             name: item.hgt, | ||||
| @ -172,7 +156,7 @@ goDistance(elf: NzCardComponent) { | ||||
|         }); | ||||
|         this.mapList = list; | ||||
|         this.addressItems = res.cityArray; | ||||
|         if(this.addressItems && this.addressItems.length > 0){ | ||||
|         if (this.addressItems && this.addressItems.length > 0) { | ||||
|           this.addressItems.forEach(item => { | ||||
|             item.vinOutTime = this.getLocalTime(item.vinOutTime); | ||||
|           }); | ||||
| @ -181,12 +165,12 @@ goDistance(elf: NzCardComponent) { | ||||
|     }); | ||||
|   } | ||||
|  | ||||
|    // 获取司机轨迹 | ||||
|    getDriverTrajectory(){ | ||||
|   // 获取司机轨迹 | ||||
|   getDriverTrajectory() { | ||||
|     this.service.request(this.service.$api_get_getAppDriverPosition, { id: this.id }).subscribe(res => { | ||||
|       if (res) { | ||||
|         const points = res.tracks; | ||||
|         let list :any[] = []; | ||||
|         let list: any[] = []; | ||||
|         points?.forEach((item: any) => { | ||||
|           list.push({ | ||||
|             name: item.hgt, | ||||
| @ -195,7 +179,7 @@ goDistance(elf: NzCardComponent) { | ||||
|         }); | ||||
|         this.mapList = list; | ||||
|         this.addressItems = [...res.enclosureDataAppTrack]; | ||||
|         if(this.addressItems && this.addressItems.length > 0){ | ||||
|         if (this.addressItems && this.addressItems.length > 0) { | ||||
|           this.addressItems.forEach(item => { | ||||
|             item.vinOutTime = this.getLocalTime(item.gtm); | ||||
|             item.cityName = item.appAdress; | ||||
| @ -203,14 +187,14 @@ goDistance(elf: NzCardComponent) { | ||||
|         } | ||||
|       } | ||||
|     }); | ||||
|    } | ||||
|    trajectoryChange(event:any){ | ||||
|     if(event ==='car'){ | ||||
|       this.getTrajectory() | ||||
|     }else if(event ==='driver'){ | ||||
|   } | ||||
|   trajectoryChange(event: any) { | ||||
|     if (event === 'car') { | ||||
|       this.getTrajectory(); | ||||
|     } else if (event === 'driver') { | ||||
|       this.getDriverTrajectory(); | ||||
|     } | ||||
|  } | ||||
|   } | ||||
|   getLocalTime(time: any) { | ||||
|     return format(new Date(parseInt(time)), 'yyyy-MM-dd HH:mm:ss'); | ||||
|   } | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| <!-- | ||||
|  * @Author: your name | ||||
|  * @Date: 2021-12-03 11:10:14 | ||||
|  * @LastEditTime : 2022-03-21 14:50:07 | ||||
|  * @LastEditTime : 2022-03-21 14:52:24 | ||||
|  * @LastEditors  : Shiming | ||||
|  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE | ||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\waybill-management\\components\\vehicle\\vehicle.component.html | ||||
|  | ||||
| @ -56,7 +56,7 @@ export class WaybillManagementServe extends BaseService { | ||||
|  // 获取轨迹 | ||||
|  $api_get_getTrajectory = `/api/sdc/billShipper/getTrajectoryByBillId`; | ||||
|  //  获取订单司机轨迹 | ||||
|  $api_get_getAppDriverPosition = `/api/sdc/billShipper/getAppDriverPosition`; | ||||
|  $api_get_getAppDriverPosition = `/api/sdc/wayBillOperate/getAppDriverPosition`; | ||||
|   // 获取货主企业列表 | ||||
|   public $api_enterpriceList = '/api/mdc/cuc/enterpriseInfo/operate/enterpriceList'; | ||||
|   constructor(public injector: Injector) { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user