车辆接口更新
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user