车辆接口更新

This commit is contained in:
wangshiming
2022-01-25 14:49:56 +08:00
parent 03c77e2695
commit d55e607d55
4 changed files with 15 additions and 9 deletions

View File

@ -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;
}
}
}
/**