This commit is contained in:
Taric Xin
2022-04-15 13:58:42 +08:00
parent a08187ca0e
commit ddfa9ae6ee

View File

@ -167,18 +167,18 @@ export class ETCInvoicedLogsComponent implements OnInit {
return [ return [
{ title: '发票号码', index: 'invoiceNum', width: 100, type: 'link', click: item => this.routeTo(item) }, { title: '发票号码', index: 'invoiceNum', width: 100, type: 'link', click: item => this.routeTo(item) },
{ title: '发票代码', index: 'invoiceCode', width: 130 }, { title: '发票代码', index: 'invoiceCode', width: 130 },
{ title: '订单号', index: 'billCode', width: 140 }, { title: '订单号', index: 'billCode', width: 180 },
{ title: '运单号', index: 'waybillCode', width: 140 }, { title: '运单号', index: 'waybillCode', width: 180 },
{ title: '入站口', index: 'enStationName', width: 100 }, { title: '入站口', index: 'enStationName', width: 100 },
{ title: '出站口', index: 'exStationName', width: 100 }, { title: '出站口', index: 'exStationName', width: 100 },
{ title: '司机', render: 'call3No', width: 140 }, { title: '司机', render: 'call3No', width: 140 },
{ title: '车牌号', index: 'carNo', width: 100 }, { title: '车牌号', index: 'carNo', width: 100 },
{ title: '里程km', index: 'mileage', width: 120 }, // { title: '里程km', index: 'mileage', width: 120 },
{ title: '交易id', index: 'tradeId', width: 200 }, { title: '交易id', index: 'tradeId', width: 200 },
{ {
title: '交易金额(元)', title: '交易金额(元)',
index: 'fee', index: 'fee',
width: 130, width: 150,
type: 'widget', type: 'widget',
className: 'text-right', className: 'text-right',
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.fee }) } widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.fee }) }
@ -195,7 +195,7 @@ export class ETCInvoicedLogsComponent implements OnInit {
{ {
title: '税额(元)', title: '税额(元)',
index: 'totalTaxAmount', index: 'totalTaxAmount',
width: 120, width: 150,
type: 'widget', type: 'widget',
className: 'text-right', className: 'text-right',
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.totalTaxAmount }) } widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.totalTaxAmount }) }
@ -203,15 +203,15 @@ export class ETCInvoicedLogsComponent implements OnInit {
{ {
title: '价税合计(元)', title: '价税合计(元)',
index: 'totalAmount', index: 'totalAmount',
width: 130, width: 150,
type: 'widget', type: 'widget',
className: 'text-right font-weight-bold', className: 'text-right font-weight-bold',
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.totalAmount }) } widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.totalAmount }) }
}, },
{ title: '交易时间', index: 'exTime', type: 'date', width: 150 }, { title: '交易时间', index: 'exTime', type: 'date', width: 150 },
{ title: '开票日期', index: 'invoiceMakeTime', type: 'date', width: 150 }, { title: '开票日期', index: 'invoiceMakeTime', type: 'date', width: 150 },
{ title: '销售方', index: 'sellerName', width: 90 }, { title: '销售方', index: 'sellerName', width: 150 },
{ title: '网络货运人', index: 'enterpriseInfoName', width: 120 } { title: '网络货运人', index: 'enterpriseInfoName', width: 220 }
]; ];
} }
} }