This commit is contained in:
Taric Xin
2022-03-01 13:42:06 +08:00
parent b405f2403e
commit dfff01a8ee
3 changed files with 11 additions and 4 deletions

View File

@ -24,9 +24,11 @@ export class RefundRecordComponent implements OnInit {
refundStatus: any = '';
msg = '';
constructor(public service: FreightAccountService, private nzModalService: NzModalService, private router: Router) {}
ngOnInit(): void {}
ngOnInit(): void {
}
beforeReq = (requestOptions: STRequestOptions) => {
Object.assign(requestOptions.body, { refundStatus: this.refundStatus || null });
@ -58,7 +60,7 @@ export class RefundRecordComponent implements OnInit {
type: 'default',
onClick: () => {
if (!this.msg) {
this.service.msgSrv.warning('请填写原因')
this.service.msgSrv.warning('请填写原因');
return false;
}
this.service