edit
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user