返佣
This commit is contained in:
		| @ -24,7 +24,7 @@ | ||||
|         <button | ||||
|           (click)="cancellation()" | ||||
|           nz-button | ||||
|           *ngIf="i?.billStatus == '4' || i?.billStatus == '5' || i?.billStatus == '2' || i?.billStatus == '3' || i?.billStatus == '1'" | ||||
|           *ngIf="i?.billStatus !== '1'   && i?.billStatus !== '5'  && i?.billStatus !== '6' && i?.overallPaymentStatus != '2'" | ||||
|           acl  [acl-ability]="['ORDER-BULK-DETAIL-cancelAnOrder']" | ||||
|           >取消订单</button | ||||
|         > | ||||
| @ -47,7 +47,7 @@ | ||||
|         <sv label="调度员">{{ i?.goodsResource?.dispatchName }}/{{ i?.goodsResource?.dispatchPhone }} </sv> | ||||
|         <sv label="外部订单号">{{ i?.externalBillCode }}</sv> | ||||
|         <sv label="货源编号">{{ i?.goodsResource?.resourceCode }} </sv> | ||||
|         <sv label="运单号">{{ i?.wayBillCode }}</sv> | ||||
|         <sv label="运单号">{{ i?.wayBill?.wayBillCode }}</sv> | ||||
|         <sv label="承诺付款天数">{{ i?.goodsResource?.paymentDays }}</sv> | ||||
|       </div> | ||||
|       <nz-tabset style="margin-top: 15px"> | ||||
| @ -94,8 +94,8 @@ | ||||
|       {{ i?.unloadPlanTime }} | ||||
|     </sv> --> | ||||
|     <sv label="接单数量"> {{ i?.acceptWeight }}吨,{{ i?.acceptVolume }}方 </sv> | ||||
|     <sv *ngIf="i?.billStatus =='3' || i?.billStatus =='4' || i?.billStatus =='5'" label="装货数量"> {{ i?.acceptWeight }}吨,{{ i?.acceptVolume }}方,{{ i?.acceptNumber }}件 </sv> | ||||
|     <sv *ngIf="i?.billStatus =='4' || i?.billStatus =='5'" label="卸货数量"> {{ i?.settlementWeight }}吨,{{ i?.settlementVolume }}方,{{ i?.acceptNumber }}件 </sv> | ||||
|     <sv *ngIf="i?.billStatus =='3' || i?.billStatus =='4' || i?.billStatus =='5'" label="装货数量"> {{ i?.loadWeight }}吨,{{ i?.loadVolume }}方</sv> | ||||
|     <sv *ngIf="i?.billStatus =='4' || i?.billStatus =='5'" label="卸货数量"> {{ i?.settlementWeight }}吨,{{ i?.settlementVolume }}方</sv> | ||||
|   </sv-container> | ||||
|   <div class="mt-md"> | ||||
|     <h4 class="text-md" | ||||
| @ -165,7 +165,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"> | ||||
| @ -208,11 +208,11 @@ | ||||
|     <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"> | ||||
|           <amap-path-simplifier [mapWidth]="'100%'" [mapHeight]="'600px'" [MapList]="mapList"></amap-path-simplifier> | ||||
|           <amap-path-simplifier [mapWidth]="'100%'" [pois]="pois" [mapHeight]="'600px'" [MapList]="mapList"></amap-path-simplifier> | ||||
|         </div> | ||||
|       </div> | ||||
|     </nz-card> | ||||
| @ -251,6 +251,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> | ||||
|  | ||||
| @ -28,6 +28,7 @@ export class OrderManagementBulkeDetailComponent implements OnInit { | ||||
|   MapList: any[]=[]; | ||||
|   id = this.route.snapshot.params.id; | ||||
|   billExpenses: any[] = []; //运费信息表格信息 | ||||
|   pois: any[] = []; | ||||
|   i: any; | ||||
|   imges: any; | ||||
|   totalObj: any; | ||||
| @ -79,6 +80,20 @@ export class OrderManagementBulkeDetailComponent implements OnInit { | ||||
|         this.i = res; | ||||
|         this.billExpenses = this.i?.billExpenseDetails?.filter((data: any) => data.expenseCode === 'TRA'); | ||||
|         this.i.scheduleVOList = this.i?.scheduleVOList?.filter((data:any)=>data.displayStatus !=="HIDE"); | ||||
|         this.pois = [ | ||||
|           { | ||||
|             markerLabel: '起', | ||||
|             color: 'blue', | ||||
|             position: [res.startingPoint.longitude, res.startingPoint.latitude], | ||||
|             title: res.startingPoint.detailedAddress | ||||
|           }, | ||||
|           { | ||||
|             markerLabel: '卸', | ||||
|             color: 'red', | ||||
|             position: [res.endPoint.longitude, res.endPoint.latitude], | ||||
|             title: res.endPoint.detailedAddress | ||||
|           } | ||||
|         ]; | ||||
|       } | ||||
|     }); | ||||
|     this.service.request(this.service.$api_get_getRiskDetail, { id: this.id }).subscribe(res => { | ||||
| @ -97,11 +112,7 @@ export class OrderManagementBulkeDetailComponent implements OnInit { | ||||
|     this.router.navigate(['order-management/bulk-detailChange', this.id]); | ||||
|   } | ||||
|   agreement(value: any) { | ||||
|     if (value === '1') { | ||||
|       this.imges = this.i?.supplementAgreement; | ||||
|     } else if (value === '2') { | ||||
|       this.imges = this.i?.supplementAgreement; | ||||
|     } | ||||
|     this.imges = this.i?.agreementFilePath; | ||||
|     this.isVisible = true; | ||||
|   } | ||||
|   handleCancel() { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user