批量审核
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* @Author: your name
|
||||
* @Date: 2021-12-21 10:14:52
|
||||
* @LastEditTime: 2021-12-21 10:17:02
|
||||
* @LastEditTime: 2022-01-18 16:35:03
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\vehicle\cancel\cancel.component.ts
|
||||
@ -68,8 +68,6 @@ export class OneCarOrderCancelComponent implements OnInit {
|
||||
this.service.request(this.service.$api_get_cancelAnOrder, { id: this.i?.id, ...this.sf.value }).subscribe(res => {
|
||||
if (res) {
|
||||
this.modalRef.close(true);
|
||||
} else {
|
||||
this.service.msgSrv.error(res.msg);
|
||||
}
|
||||
}),
|
||||
nzOnCancel: () => this.modalRef.destroy()
|
||||
@ -78,8 +76,6 @@ export class OneCarOrderCancelComponent implements OnInit {
|
||||
this.service.request(this.service.$api_get_cancelAnOrder, { id: this.i?.id, ...this.sf.value }).subscribe(res => {
|
||||
if (res) {
|
||||
this.modalRef.close(true);
|
||||
} else {
|
||||
this.service.msgSrv.error(res.msg);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* @Author: your name
|
||||
* @Date: 2021-12-15 13:17:42
|
||||
* @LastEditTime: 2022-01-12 14:01:00
|
||||
* @LastEditTime: 2022-01-18 16:35:11
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
* @FilePath: \tms-obc-web\src\app\routes\order-management\modal\vehicle\confir-receipt\confir-receipt.component.ts
|
||||
@ -79,8 +79,6 @@ export class VehicleConfirReceiptComponent implements OnInit {
|
||||
if(res) {
|
||||
this.service.msgSrv.success('确认签收成功!')
|
||||
this.modal.destroy();
|
||||
} else {
|
||||
this.service.msgSrv.error(res.msg)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@ -438,8 +438,6 @@ export class VehicleSureArriveComponent implements OnInit {
|
||||
if(res) {
|
||||
this.service.msgSrv.success('确认到车成功!')
|
||||
this.modal.destroy(true);
|
||||
} else{
|
||||
this.service.msgSrv.error(res.msg)
|
||||
}
|
||||
})
|
||||
} else {
|
||||
@ -463,8 +461,6 @@ export class VehicleSureArriveComponent implements OnInit {
|
||||
if(res) {
|
||||
this.service.msgSrv.success('确认到车成功!')
|
||||
this.modal.destroy(true);
|
||||
} else{
|
||||
this.service.msgSrv.error(res.msg)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@ -283,8 +283,6 @@ export class VehicleSureDepartComponent implements OnInit {
|
||||
if(res) {
|
||||
this.service.msgSrv.success('确认发车成功!')
|
||||
this.modal.destroy(true);
|
||||
} else{
|
||||
this.service.msgSrv.error(res.msg)
|
||||
}
|
||||
})
|
||||
} else {
|
||||
@ -306,8 +304,6 @@ export class VehicleSureDepartComponent implements OnInit {
|
||||
if(res) {
|
||||
this.service.msgSrv.success('确认发车成功!')
|
||||
this.modal.destroy(true);
|
||||
} else{
|
||||
this.service.msgSrv.error(res.msg)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user