This commit is contained in:
Taric Xin
2022-02-22 09:38:19 +08:00
parent 602be660ce
commit 61d00a5c54
2 changed files with 21 additions and 14 deletions

View File

@ -32,8 +32,22 @@
<st #st [data]="service.$api_get_refund_record_page" [columns]="columns" [req]="{ process: beforeReq }"
[loading]="service.http.loading" [scroll]="{ x:'1200px' }">
<ng-template st-row="bankCardNumber" let-item let-index="index" let-column="column">
{{ item.bankName }} <br> {{ item.bankCardNumber }}
<ng-template st-row="orderRefundCode" let-item let-index="index" let-column="column">
{{ item.orderRefundCode }} <br> {{ item.refundStatusLabel }}
</ng-template>
<ng-template st-row="refundAmount" let-item let-index="index" let-column="column">
{{ item.refundAmount |currency }}
</ng-template>
<ng-template st-row="billRefundPaymentVOS" let-item let-index="index" let-column="column">
<ng-container *ngFor="let bill of item.billRefundPaymentVOS">
{{ bill.paymentApplicationCode }}<br>
</ng-container>
</ng-template>
<ng-template st-row="driver" let-item let-index="index" let-column="column">
{{ item.driverName }} <br> {{ item.driverTelephone }}<br>{{ item.driverLicencePlate }}
</ng-template>
<ng-template st-row="captain" let-item let-index="index" let-column="column">
{{ item.captainName }} <br> {{ item.captainTelephone }}
</ng-template>
</st>
</nz-card>

View File

@ -245,23 +245,16 @@ export class RefundRecordComponent implements OnInit {
private initST(): STColumn[] {
return [
{ title: '退款单号', index: 'orderRefundCode', width: 180 },
{ title: '退款单号', render: 'orderRefundCode', width: 180 },
{ title: '退款类型', index: 'refundType', width: 120 },
{
title: '退款金额',
render: 'refundAmount',
width: 120,
type: 'widget',
className: 'text-right',
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.refundAmount }) }
},
{ title: '退款时间', index: 'applyTime', width: 100 },
{ title: '退款金额', render: 'refundAmount', width: 120 },
{ title: '退款时间', index: 'applyTime', width: 150 },
{ title: '货主', index: 'shipperId', width: 100 },
{ title: '所属项目', index: 'enterpriseProjectName', width: 140 },
{ title: '支付单', index: 'billRefundPaymentVOS.paymentApplicationCode', width: 100 },
{ title: '支付单', render: 'billRefundPaymentVOS', width: 100 },
{ title: '订单号', index: 'billCode', width: 100 },
{ title: '货源号', index: 'resourceCode', width: 100 },
{ title: '司机', render: ' driver', width: 100 },
{ title: '司机', render: 'driver', width: 100 },
{ title: '收款人', render: 'captain', width: 100 },
{ title: '网络货运人', render: 'ltdName', width: 180 },
{ title: '银行类型', index: 'bankTypeLabel', width: 100 },