This commit is contained in:
Taric Xin
2022-02-16 15:31:37 +08:00
parent af9a1c4bf4
commit a42498eb2b
17 changed files with 197 additions and 113 deletions

View File

@ -74,12 +74,22 @@ export class AdvanceCollectionComponent implements OnInit {
cno: {
type: 'string',
title: '结算客户',
ui: { placeholder: '请输入' }
ui: {
widget: 'select',
placeholder: '请选择',
allowClear: true,
asyncData: () => this.service.getCloseAccount()
}
},
arto: {
type: 'string',
title: '付款人',
ui: { placeholder: '请输入' }
ui: {
widget: 'select',
placeholder: '请选择',
allowClear: true,
asyncData: () => this.service.getCRM()
}
},
brmtype: {
type: 'string',
@ -118,9 +128,9 @@ export class AdvanceCollectionComponent implements OnInit {
private initST(): STColumn[] {
return [
{ title: '网络货运人', width: 160, index: 'ltdName' },
{ title: '银行类型', width: 120, index: 'bankTypeLabel' },
{ title: '收款账户', width: 120, index: 'ltdaccountId' },
{ title: '收款类型', width: 120, index: 'brmtype' },
{ title: '银行类型', width: 120, index: 'banktypeLabel' },
{ title: '收款账户', width: 150, index: 'ltdaccountId' },
{ title: '收款类型', width: 120, index: 'brmtypeLabel' },
{
title: '预收余额',
index: 'yskmoney',
@ -129,8 +139,8 @@ export class AdvanceCollectionComponent implements OnInit {
className: 'text-right',
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.yskmoney }) }
},
{ title: '付款人', index: 'arto', width: 180 },
{ title: '结算客户', index: 'cno', width: 150 },
{ title: '付款人', index: 'artoName', width: 180 },
{ title: '结算客户', index: 'cnoName', width: 150 },
{
title: '操作',
width: 120,
@ -142,10 +152,10 @@ export class AdvanceCollectionComponent implements OnInit {
click: item => this.router.navigate(['/financial-management/advance-collection/detail/' + item.id])
},
{
text: '核销',
text: '核销'
},
{
text: '退款',
text: '退款'
}
]
}