This commit is contained in:
Taric Xin
2022-02-28 11:38:47 +08:00
parent 2b013e0e48
commit 23df1cc8fc
11 changed files with 59 additions and 17 deletions

View File

@ -52,7 +52,13 @@ export class CostManagementDetailComponent implements OnInit {
{ title: '结算客户', render: 'cnoName', className: 'text-left', width: 200 },
{ title: '订单费用类型', index: 'billLTypeLabel', className: 'text-left', width: 200 },
{ title: '费用科目', index: 'feeSubName', className: 'text-left', width: 200 },
{ title: '税率', index: 'hrvatrate', className: 'text-right', width: 200 },
{
title: '税率',
index: 'hrvatrate',
className: 'text-right',
width: 200,
format: item => `${item.hrvatrate ? ((item.hrvatrate as number) * 100).toFixed(2) : 0}%`
},
{ title: '费用金额', render: 'hrvatmoney', className: 'text-right', width: 200 },
{ title: '收/付款金额', render: 'armoney', className: 'text-right', width: 200 },
{ title: '开/收票金额', render: 'arkpmoney', className: 'text-right', width: 200 }

View File

@ -10,7 +10,6 @@ import { FreightAccountService } from '../../../services/freight-account.service
styleUrls: ['./expenses-payable.component.less']
})
export class ExpensesPayableComponent implements OnInit {
@ViewChild('st', { static: true })
st!: STComponent;
@ViewChild('sf', { static: false })
@ -125,7 +124,12 @@ export class ExpensesPayableComponent implements OnInit {
return [
{ title: '结算客户', render: 'description1', width: 150 },
{ title: '费用科目', render: 'description2', width: 120 },
{ title: '税率', render: 'description3', width: 120 },
{
title: '税率',
render: 'description3',
width: 120,
format: item => `${item.description3 ? ((item.description3 as number) * 100).toFixed(2) : 0}%`
},
{ title: '应付金额', render: 'num', width: 120 },
{ title: '备注', render: 'description5', width: 150 },
{

View File

@ -124,7 +124,12 @@ export class ExpensesReceivableComponent implements OnInit {
return [
{ title: '结算客户', render: 'description1', width: 150 },
{ title: '费用科目', render: 'description2', width: 120 },
{ title: '税率', render: 'description3', width: 120 },
{
title: '税率',
render: 'description3',
width: 120,
format: item => `${item.description3 ? ((item.description3 as number) * 100).toFixed(2) : 0}%`
},
{ title: '应收金额', render: 'num', width: 120 },
{ title: '备注', render: 'description5', width: 150 },
{