merge partner
This commit is contained in:
@ -28,8 +28,9 @@ export class WithdrawalsRecordComponent {
|
||||
refundStatus: any = '';
|
||||
|
||||
msg = '';
|
||||
constructor(public service: FreightAccountService, private nzModalService: NzModalService, private router: Router) { }
|
||||
|
||||
constructor(public service: FreightAccountService, private nzModalService: NzModalService, private router: Router) {}
|
||||
ngOnInit(): void { }
|
||||
|
||||
beforeReq = (requestOptions: STRequestOptions) => {
|
||||
if (this.sf) {
|
||||
@ -42,6 +43,7 @@ export class WithdrawalsRecordComponent {
|
||||
refundStatus: this.refundStatus || null
|
||||
});
|
||||
}
|
||||
delete requestOptions?.body?.expand;
|
||||
return requestOptions;
|
||||
};
|
||||
|
||||
@ -81,7 +83,7 @@ export class WithdrawalsRecordComponent {
|
||||
disabled: () => this.service.http.loading,
|
||||
type: 'default',
|
||||
onClick: () => {
|
||||
if (!this.msg) {
|
||||
if (!this.msg || this.msg.trim().length === 0) {
|
||||
this.service.msgSrv.warning('请填写拒绝原因 ');
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user