This commit is contained in:
Taric Xin
2022-04-14 17:04:22 +08:00
parent 2ef736324b
commit e98f198920
2 changed files with 7 additions and 7 deletions

View File

@ -44,12 +44,12 @@
<se label="退款流水号">
{{formData?.paySerialNumber2}}
</se>
<se label="入金回单">
<a (click)="downBack()">{{formData?.refundStatus==='3'?'查看回单':'暂无回单'}}</a>
<!-- <se label="入金回单">
<a (click)="downBack('06',formData?.receiptUrl)">{{formData?.refundStatus==='3'?'查看回单':'暂无回单'}}</a>
</se>
<se label="退款回单">
<a (click)="downBack()">{{formData?.refundStatus==='3'?'查看回单':'暂无回单'}}</a>
</se>
<a (click)="downBack('06',formData?.receiptAbnormalUrl)">{{formData?.refundStatus==='3'?'查看回单':'暂无回单'}}</a>
</se> -->
</div>
</nz-card>

View File

@ -25,15 +25,15 @@ export class AbnormalGoldDetailComponent implements OnInit {
});
}
downBack() {
downBack(bussType: string, receiptUrl: string) {
if (this.formData?.refundStatus !== '3') {
return;
}
this.service.getReceiptUrl(this.formData.receiptUrl, {
this.service.getReceiptUrl(receiptUrl, {
bankType: this.formData.bankType,
rmYll: this.formData.userId,
snglFlgCd: this.formData.coreSerNo,
bussType: '06',
bussType,
ltdId: this.formData.ltdId,
accountType: this.formData.accountType
});