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