车辆接口更新
This commit is contained in:
		| @ -624,6 +624,9 @@ export class OrderManagementBulkComponent implements OnInit { | |||||||
|    */ |    */ | ||||||
|   viewEvaluate(item: any) { |   viewEvaluate(item: any) { | ||||||
|     this.isVisibleEvaluate = true; |     this.isVisibleEvaluate = true; | ||||||
|  |     this.service.request(this.service.$api_getChangeRecordBulkDetail, { id: item.id }).subscribe(res => { | ||||||
|  |       this.ViewCause = res; | ||||||
|  |     }); | ||||||
|   } |   } | ||||||
|   /** |   /** | ||||||
|    *变更运费 |    *变更运费 | ||||||
|  | |||||||
| @ -1,3 +1,4 @@ | |||||||
|  | import { registerLocaleData } from '@angular/common'; | ||||||
| import { Router } from '@angular/router'; | import { Router } from '@angular/router'; | ||||||
| import { Component, OnInit, ViewChild } from '@angular/core'; | import { Component, OnInit, ViewChild } from '@angular/core'; | ||||||
| import { STColumn, STComponent } from '@delon/abc/st'; | import { STColumn, STComponent } from '@delon/abc/st'; | ||||||
| @ -448,6 +449,10 @@ export class OrderManagementRiskComponent implements OnInit { | |||||||
|     } else { |     } else { | ||||||
|       idList.push(this.sfView.value.billCode) |       idList.push(this.sfView.value.billCode) | ||||||
|     } |     } | ||||||
|  |     if(!this.sfView.value.representationsCause) { | ||||||
|  |       this.service.msgSrv.error('拒绝原因为空!'); | ||||||
|  |       return; | ||||||
|  |     } | ||||||
|     const parms = { |     const parms = { | ||||||
|       ids: idList, |       ids: idList, | ||||||
|       auditRemark: this.sfView.value.representationsCause, |       auditRemark: this.sfView.value.representationsCause, | ||||||
| @ -466,12 +471,18 @@ export class OrderManagementRiskComponent implements OnInit { | |||||||
|    *审核 |    *审核 | ||||||
|    */ |    */ | ||||||
|   audit(item?: any) { |   audit(item?: any) { | ||||||
|     this.isVisibleRE = true; |  | ||||||
|     if (item) { |     if (item) { | ||||||
|       this.auditId = item.id; |       this.auditId = item.id; | ||||||
|       this.initSTAudit(1); |       this.initSTAudit(1); | ||||||
|  |        this.isVisibleRE = true; | ||||||
|     } else { |     } else { | ||||||
|  |       if(this.selectedRows.length <= 0) { | ||||||
|  |         this.service.msgSrv.error('请选择订单!') | ||||||
|  |         return; | ||||||
|  |       } else { | ||||||
|       this.initSTAudit(2); |       this.initSTAudit(2); | ||||||
|  |       this.isVisibleRE = true; | ||||||
|  |       } | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|   /** |   /** | ||||||
|  | |||||||
| @ -312,10 +312,6 @@ tabs = { | |||||||
|         width: '110px', |         width: '110px', | ||||||
|         className: 'text-left', |         className: 'text-left', | ||||||
|         buttons: [ |         buttons: [ | ||||||
|           { |  | ||||||
|             text: '查看评价', |  | ||||||
|             click: (_record) => this.viewEvaluate(_record), |  | ||||||
|           }, |  | ||||||
|           { |           { | ||||||
|             text: '确认发车', |             text: '确认发车', | ||||||
|             click: (_record) => this.sureDepart(_record), |             click: (_record) => this.sureDepart(_record), | ||||||
|  | |||||||
| @ -313,10 +313,6 @@ export class WaybillManagementVehicleComponent implements OnInit { | |||||||
|         width: '110px', |         width: '110px', | ||||||
|         className: 'text-left', |         className: 'text-left', | ||||||
|         buttons: [ |         buttons: [ | ||||||
|           { |  | ||||||
|             text: '查看评价', |  | ||||||
|             click: _record => this.viewEvaluate(_record) |  | ||||||
|           }, |  | ||||||
|           { |           { | ||||||
|             text: '确认发车', |             text: '确认发车', | ||||||
|             click: _record => this.sureDepart(_record), |             click: _record => this.sureDepart(_record), | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user