fix bug
This commit is contained in:
		@ -9,7 +9,7 @@ import { UpdateFreightComponent } from '../../modal/bulk/update-freight/update-f
 | 
				
			|||||||
import { ConfirReceiptComponent } from '../../modal/bulk/confir-receipt/confir-receipt.component';
 | 
					import { ConfirReceiptComponent } from '../../modal/bulk/confir-receipt/confir-receipt.component';
 | 
				
			||||||
import { of } from 'rxjs';
 | 
					import { of } from 'rxjs';
 | 
				
			||||||
import { ShipperBaseService } from '@shared';
 | 
					import { ShipperBaseService } from '@shared';
 | 
				
			||||||
import { Router } from '@angular/router';
 | 
					import { Router, ActivatedRoute } from '@angular/router';
 | 
				
			||||||
import { OneCarOrderCancelConfirmComponent } from '../../modal/vehicle/cancel-confirm/cancel-confirm.component';
 | 
					import { OneCarOrderCancelConfirmComponent } from '../../modal/vehicle/cancel-confirm/cancel-confirm.component';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@Component({
 | 
					@Component({
 | 
				
			||||||
@ -71,7 +71,8 @@ export class OrderManagementBulkComponent implements OnInit {
 | 
				
			|||||||
    public service: OrderManagementService,
 | 
					    public service: OrderManagementService,
 | 
				
			||||||
    private modal: NzModalService,
 | 
					    private modal: NzModalService,
 | 
				
			||||||
    public shipperservice: ShipperBaseService,
 | 
					    public shipperservice: ShipperBaseService,
 | 
				
			||||||
    private router: Router
 | 
					    private router: Router,
 | 
				
			||||||
 | 
					    private ar: ActivatedRoute,
 | 
				
			||||||
  ) {}
 | 
					  ) {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /**
 | 
					  /**
 | 
				
			||||||
@ -493,6 +494,13 @@ export class OrderManagementBulkComponent implements OnInit {
 | 
				
			|||||||
            iif: item => item.billStatus == '5',
 | 
					            iif: item => item.billStatus == '5',
 | 
				
			||||||
            acl: { ability: ['ORDER-BULK-evaluation'] },
 | 
					            acl: { ability: ['ORDER-BULK-evaluation'] },
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
 | 
					          {
 | 
				
			||||||
 | 
					            text: '查看详情 ',
 | 
				
			||||||
 | 
					            click: (item: any) => {
 | 
				
			||||||
 | 
					              this.router.navigate(['./bulk-detail', item.id], { relativeTo: this.ar });
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            acl: { ability: ['USERCENTER-FREIGHT-USER-view'] },
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
          {
 | 
					          {
 | 
				
			||||||
            text: '变更运费 ',
 | 
					            text: '变更运费 ',
 | 
				
			||||||
            click: _record => this.updateFreight(_record),
 | 
					            click: _record => this.updateFreight(_record),
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
import { Component, OnInit, ViewChild } from '@angular/core';
 | 
					import { Component, OnInit, ViewChild } from '@angular/core';
 | 
				
			||||||
import { Router } from '@angular/router';
 | 
					import { Router, ActivatedRoute } from '@angular/router';
 | 
				
			||||||
import { STColumn, STComponent } from '@delon/abc/st';
 | 
					import { STColumn, STComponent } from '@delon/abc/st';
 | 
				
			||||||
import { SFComponent, SFDateWidgetSchema, SFSchema, SFSchemaEnum, SFSelectWidgetSchema, SFUISchema } from '@delon/form';
 | 
					import { SFComponent, SFDateWidgetSchema, SFSchema, SFSchemaEnum, SFSelectWidgetSchema, SFUISchema } from '@delon/form';
 | 
				
			||||||
import { ShipperBaseService } from '@shared';
 | 
					import { ShipperBaseService } from '@shared';
 | 
				
			||||||
@ -70,6 +70,7 @@ resourceStatus: any;
 | 
				
			|||||||
    private modal: NzModalService,
 | 
					    private modal: NzModalService,
 | 
				
			||||||
    public shipperservice: ShipperBaseService,
 | 
					    public shipperservice: ShipperBaseService,
 | 
				
			||||||
    public router: Router,
 | 
					    public router: Router,
 | 
				
			||||||
 | 
					    public ar: ActivatedRoute,
 | 
				
			||||||
     ) { }
 | 
					     ) { }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /**
 | 
					  /**
 | 
				
			||||||
@ -405,13 +406,20 @@ resourceStatus: any;
 | 
				
			|||||||
        width: '130px',
 | 
					        width: '130px',
 | 
				
			||||||
        className: 'text-left',
 | 
					        className: 'text-left',
 | 
				
			||||||
        buttons: [
 | 
					        buttons: [
 | 
				
			||||||
         
 | 
					      
 | 
				
			||||||
          {
 | 
					          {
 | 
				
			||||||
            text: '运费变更记录',
 | 
					            text: '运费变更记录',
 | 
				
			||||||
            click: (_record) => this.OpenPrice(_record),
 | 
					            click: (_record) => this.OpenPrice(_record),
 | 
				
			||||||
            iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' || item.billStatus == '6', 
 | 
					            iif: item => item.billStatus == '4' || item.billStatus == '5' || item.billStatus == '2' || item.billStatus == '3' || item.billStatus == '6', 
 | 
				
			||||||
            acl: { ability: ['ORDER-VEHICLE-ChangeApplyList'] },
 | 
					            acl: { ability: ['ORDER-VEHICLE-ChangeApplyList'] },
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
 | 
					          {
 | 
				
			||||||
 | 
					            text: '查看详情 ',
 | 
				
			||||||
 | 
					            click: (item: any) => {
 | 
				
			||||||
 | 
					              this.router.navigate(['./vehicle-detail', item.id], { relativeTo: this.ar });
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            acl: { ability: ['USERCENTER-FREIGHT-USER-view'] },
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
          {
 | 
					          {
 | 
				
			||||||
            text: '查看评价 ',
 | 
					            text: '查看评价 ',
 | 
				
			||||||
            click: (_record) => this.viewEvaluate(_record),
 | 
					            click: (_record) => this.viewEvaluate(_record),
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user