edit
This commit is contained in:
@ -238,8 +238,15 @@ export class PaymentRecordComponent implements OnInit {
|
||||
|
||||
private initST(): STColumn[] {
|
||||
return [
|
||||
{ title: '支付编号', render: 'orderPaymentCode', width: 170 },
|
||||
{ title: '支付金额', render: 'payAmount', width: 100, format: item => `¥${item.payAmount}` },
|
||||
{ title: '支付编号', render: 'orderPaymentCode', width: 180 },
|
||||
{
|
||||
title: '支付金额',
|
||||
render: 'payAmount',
|
||||
width: 120,
|
||||
type: 'widget',
|
||||
className: 'text-right',
|
||||
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.payAmount }) }
|
||||
},
|
||||
{
|
||||
title: '运费明细',
|
||||
render: 'amountDetails',
|
||||
@ -259,10 +266,10 @@ export class PaymentRecordComponent implements OnInit {
|
||||
index: 'payTypeLabel',
|
||||
width: 130
|
||||
},
|
||||
{ title: '货主', index: 'enterpriseInfoName', width: 140 },
|
||||
{ title: '订单号', render: 'billCode', width: 140 },
|
||||
{ title: '运单号', render: 'wayBillCode', width: 140 },
|
||||
{ title: '货源编号', index: 'resourceCode', width: 120 },
|
||||
{ title: '货主', index: 'enterpriseInfoName', width: 160 },
|
||||
{ title: '订单号', render: 'billCode', width: 160 },
|
||||
{ title: '运单号', render: 'wayBillCode', width: 160 },
|
||||
{ title: '货源编号', index: 'resourceCode', width: 160 },
|
||||
{
|
||||
title: '服务类型',
|
||||
index: 'serviceTypeLabel',
|
||||
@ -271,12 +278,12 @@ export class PaymentRecordComponent implements OnInit {
|
||||
{ title: '承运司机', render: 'driverId', width: 120 },
|
||||
{ title: '收款人', render: 'captainName', width: 120 },
|
||||
{ title: '银行类型', index: 'bankType', width: 150, type: 'enum', enum: { 1: '平安银行', 2: '浦发银行' } },
|
||||
{ title: '网络货运人', index: 'ltdName', width: 120 },
|
||||
{ title: '网络货运人', index: 'ltdName', width: 160 },
|
||||
{ title: '申请时间', index: 'applyTime', width: 160 },
|
||||
{ title: '申请人', index: 'applyUserName', width: 90 },
|
||||
{ title: '处理时间', index: 'handlerTime', width: 180 },
|
||||
{ title: '处理人', index: 'handlerUserName', width: 90 },
|
||||
{ title: '失败原因', index: 'failCause', width: 100 },
|
||||
{ title: '失败原因', index: 'failCause', width: 250 },
|
||||
{
|
||||
title: '操作',
|
||||
fixed: 'right',
|
||||
@ -285,7 +292,7 @@ export class PaymentRecordComponent implements OnInit {
|
||||
buttons: [
|
||||
{
|
||||
text: '关闭',
|
||||
iif: item => item.paymentStatus === 4,
|
||||
iif: item => item.paymentStatus === '4',
|
||||
click: item => this.refund(item)
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user