edit
This commit is contained in:
@ -32,8 +32,22 @@
|
|||||||
|
|
||||||
<st #st [data]="service.$api_get_refund_record_page" [columns]="columns" [req]="{ process: beforeReq }"
|
<st #st [data]="service.$api_get_refund_record_page" [columns]="columns" [req]="{ process: beforeReq }"
|
||||||
[loading]="service.http.loading" [scroll]="{ x:'1200px' }">
|
[loading]="service.http.loading" [scroll]="{ x:'1200px' }">
|
||||||
<ng-template st-row="bankCardNumber" let-item let-index="index" let-column="column">
|
<ng-template st-row="orderRefundCode" let-item let-index="index" let-column="column">
|
||||||
{{ item.bankName }} <br> {{ item.bankCardNumber }}
|
{{ 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>
|
</ng-template>
|
||||||
</st>
|
</st>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
|
|||||||
@ -245,20 +245,13 @@ export class RefundRecordComponent implements OnInit {
|
|||||||
|
|
||||||
private initST(): STColumn[] {
|
private initST(): STColumn[] {
|
||||||
return [
|
return [
|
||||||
{ title: '退款单号', index: 'orderRefundCode', width: 180 },
|
{ title: '退款单号', render: 'orderRefundCode', width: 180 },
|
||||||
{ title: '退款类型', index: 'refundType', width: 120 },
|
{ title: '退款类型', index: 'refundType', width: 120 },
|
||||||
{
|
{ title: '退款金额', render: 'refundAmount', width: 120 },
|
||||||
title: '退款金额',
|
{ title: '退款时间', index: 'applyTime', width: 150 },
|
||||||
render: 'refundAmount',
|
|
||||||
width: 120,
|
|
||||||
type: 'widget',
|
|
||||||
className: 'text-right',
|
|
||||||
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.refundAmount }) }
|
|
||||||
},
|
|
||||||
{ title: '退款时间', index: 'applyTime', width: 100 },
|
|
||||||
{ title: '货主', index: 'shipperId', width: 100 },
|
{ title: '货主', index: 'shipperId', width: 100 },
|
||||||
{ title: '所属项目', index: 'enterpriseProjectName', width: 140 },
|
{ title: '所属项目', index: 'enterpriseProjectName', width: 140 },
|
||||||
{ title: '支付单', index: 'billRefundPaymentVOS.paymentApplicationCode', width: 100 },
|
{ title: '支付单', render: 'billRefundPaymentVOS', width: 100 },
|
||||||
{ title: '订单号', index: 'billCode', width: 100 },
|
{ title: '订单号', index: 'billCode', width: 100 },
|
||||||
{ title: '货源号', index: 'resourceCode', width: 100 },
|
{ title: '货源号', index: 'resourceCode', width: 100 },
|
||||||
{ title: '司机', render: 'driver', width: 100 },
|
{ title: '司机', render: 'driver', width: 100 },
|
||||||
|
|||||||
Reference in New Issue
Block a user