edit
This commit is contained in:
		@ -156,20 +156,48 @@ export class ETCInvoicedLogsComponent implements OnInit {
 | 
			
		||||
  private initST(): STColumn[] {
 | 
			
		||||
    return [
 | 
			
		||||
      { title: '发票号码', index: 'invoiceNum', width: 100, type: 'link', click: item => this.routeTo(item) },
 | 
			
		||||
      { title: '发票代码', index: 'invoiceCode', width: 100 },
 | 
			
		||||
      { title: '订单号', index: 'billCode', width: 100 },
 | 
			
		||||
      { title: '运单号', index: 'waybillCode', width: 100 },
 | 
			
		||||
      { title: '发票代码', index: 'invoiceCode', width: 130 },
 | 
			
		||||
      { title: '订单号', index: 'billCode', width: 140 },
 | 
			
		||||
      { title: '运单号', index: 'waybillCode', width: 140 },
 | 
			
		||||
      { title: '入站口', index: 'enStationName', width: 100 },
 | 
			
		||||
      { title: '出站口', index: 'exStationName', width: 100 },
 | 
			
		||||
      { title: '司机', render: 'call3No', width: 140 },
 | 
			
		||||
      { title: '车牌号', index: 'carNo', width: 100 },
 | 
			
		||||
      { title: '里程(km)', index: 'mileage', width: 120 },
 | 
			
		||||
      { title: '交易id', index: 'tradeId', width: 100 },
 | 
			
		||||
      { title: '交易金额(元)', index: 'fee', width: 130 },
 | 
			
		||||
      { title: '交易id', index: 'tradeId', width: 200 },
 | 
			
		||||
      {
 | 
			
		||||
        title: '交易金额(元)',
 | 
			
		||||
        index: 'fee',
 | 
			
		||||
        width: 130,
 | 
			
		||||
        type: 'widget',
 | 
			
		||||
        className: 'text-right',
 | 
			
		||||
        widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.fee }) }
 | 
			
		||||
      },
 | 
			
		||||
      { title: '税率', index: 'taxRate', width: 90 },
 | 
			
		||||
      { title: '金额(元)', index: 'invoiceAmount', width: 120 },
 | 
			
		||||
      { title: '税额(元)', index: 'totalTaxAmount', width: 120 },
 | 
			
		||||
      { title: '价税合计(元)', index: 'totalAmount', width: 130 },
 | 
			
		||||
      {
 | 
			
		||||
        title: '金额(元)',
 | 
			
		||||
        index: 'invoiceAmount',
 | 
			
		||||
        width: 120,
 | 
			
		||||
        type: 'widget',
 | 
			
		||||
        className: 'text-right',
 | 
			
		||||
        widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.invoiceAmount }) }
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        title: '税额(元)',
 | 
			
		||||
        index: 'totalTaxAmount',
 | 
			
		||||
        width: 120,
 | 
			
		||||
        type: 'widget',
 | 
			
		||||
        className: 'text-right',
 | 
			
		||||
        widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.totalTaxAmount }) }
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        title: '价税合计(元)',
 | 
			
		||||
        index: 'totalAmount',
 | 
			
		||||
        width: 130,
 | 
			
		||||
        type: 'widget',
 | 
			
		||||
        className: 'text-right font-weight-bold',
 | 
			
		||||
        widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.totalAmount }) }
 | 
			
		||||
      },
 | 
			
		||||
      { title: '交易时间', index: 'exTime', type: 'date', width: 150 },
 | 
			
		||||
      { title: '开票日期', index: 'invoiceMakeTime', type: 'date', width: 150 },
 | 
			
		||||
      { title: '销售方', index: 'sellerName', width: 90 },
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user