This commit is contained in:
Taric Xin
2022-05-10 09:51:46 +08:00
parent 083b308103
commit b69aaa38d5
2 changed files with 12 additions and 3 deletions

View File

@ -41,9 +41,10 @@
{{ item.orderRefundCode }} <br> {{ item.refundStatusLabel }} {{ item.orderRefundCode }} <br> {{ item.refundStatusLabel }}
</ng-template> </ng-template>
<ng-template st-row="refundAmount" let-item let-index="index" let-column="column"> <ng-template st-row="refundAmount" let-item let-index="index" let-column="column">
<ng-container *ngFor="let cost of item.billRefundDetailVOS"> <p *ngFor="let cost of item.billRefundDetailVOS"
{{cost.costName}}{{ cost.refundAmount |currency }}<br> style="display: flex;align-items: center;justify-content: space-between;margin: 0;">
</ng-container> <label> {{cost.costName}}</label><label>{{ cost.refundAmount |currency }}</label>
</p>
</ng-template> </ng-template>
<ng-template st-row="billRefundPaymentVOS" let-item let-index="index" let-column="column"> <ng-template st-row="billRefundPaymentVOS" let-item let-index="index" let-column="column">
<ng-container *ngFor="let bill of item.billRefundPaymentVOS"> <ng-container *ngFor="let bill of item.billRefundPaymentVOS">

View File

@ -233,6 +233,14 @@ export class RefundRecordComponent extends BasicTableComponent implements OnInit
{ title: '退款单号', render: 'orderRefundCode', width: 190 }, { title: '退款单号', render: 'orderRefundCode', width: 190 },
{ title: '退款类型', index: 'refundTypeLabel', width: 140 }, { title: '退款类型', index: 'refundTypeLabel', width: 140 },
{ title: '退款金额', render: 'refundAmount', className: 'text-right', width: 180 }, { title: '退款金额', render: 'refundAmount', className: 'text-right', width: 180 },
{
title: '合计金额',
index: 'refundAmount',
width: 150,
type: 'widget',
className: 'text-right',
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.refundAmount }) }
},
{ title: '退款时间', index: 'refundExecuteTime', width: 170 }, { title: '退款时间', index: 'refundExecuteTime', width: 170 },
{ title: '货主', index: 'enterpriseInfoName', width: 150 }, { title: '货主', index: 'enterpriseInfoName', width: 150 },
{ title: '所属项目', index: 'enterpriseProjectName', width: 140 }, { title: '所属项目', index: 'enterpriseProjectName', width: 140 },