edit
This commit is contained in:
@ -12,25 +12,25 @@
|
||||
<se-container col="3" labelWidth="100">
|
||||
<se-title class="mb-md" style="font-size: 18px">基本信息</se-title>
|
||||
<se label="网络货运人" required>
|
||||
{{ costInfo?.ltdId }}
|
||||
{{ costInfo?.ltdName }}
|
||||
</se>
|
||||
<se label="银行类型">
|
||||
{{ costInfo?.brmdate }}
|
||||
</se>
|
||||
<se label="付款人" required>
|
||||
{{ costInfo?.brmModeLabel }}
|
||||
</se>
|
||||
<se label="结算客户" required>
|
||||
{{ costInfo?.banktypeLabel }}
|
||||
</se>
|
||||
<se label="收款账户">
|
||||
<se label="付款人" required>
|
||||
{{ costInfo?.artoname }}
|
||||
</se>
|
||||
<se label="结算客户" required>
|
||||
{{ costInfo?.shipperId }}
|
||||
</se>
|
||||
<se label="收款账户">
|
||||
{{ costInfo?.ltdaccountId }}
|
||||
</se>
|
||||
<se label="预收金额">
|
||||
{{ costInfo?.recnopay |currency }}
|
||||
{{ costInfo?.premoney |currency }}
|
||||
</se>
|
||||
<se label="收款类型" required>
|
||||
{{ costInfo?.ltdaccountId }}
|
||||
{{ costInfo?.brmtypeLabel }}
|
||||
</se>
|
||||
</se-container>
|
||||
</div>
|
||||
@ -52,7 +52,8 @@
|
||||
<button nz-button (click)="resetInputSF()">重置</button>
|
||||
</div>
|
||||
</div>
|
||||
<st #inputST [scroll]="{ x: '2000px' }" [data]="service.$api_get_fico_detail_header" [columns]="columns.input" [page]="{ show: false }"
|
||||
<st #inputST [scroll]="{ x: '2000px' }" [data]="service.$api_get_advance_collection_detail"
|
||||
[columns]="columns.input" [page]="{ show: false }" [res]="{ reName: { list: 'data' } }"
|
||||
[loading]="service.http.loading" [scroll]="{ x: '1200px', y: '370px' }" class="mt-md">
|
||||
<ng-template st-row="no" let-item let-index="index" let-column="column">
|
||||
{{index+1}}
|
||||
|
||||
@ -39,7 +39,7 @@ export class AdvanceCollectionDetailComponent implements OnInit {
|
||||
};
|
||||
|
||||
loadDetail(id: any) {
|
||||
this.service.request(this.service.$api_get_receipt_header, { id }).subscribe(res => {
|
||||
this.service.request(this.service.$api_get_advance_collection_header, { id }).subscribe(res => {
|
||||
if (res) {
|
||||
this.costInfo = res;
|
||||
}
|
||||
@ -111,11 +111,11 @@ export class AdvanceCollectionDetailComponent implements OnInit {
|
||||
return {
|
||||
input: [
|
||||
{ title: '序号', render: 'no', width: 70, className: 'text-left' },
|
||||
{ title: '收款单号', index: 'feeHId', className: 'text-left', width: 200 },
|
||||
{ title: '收款单号', index: 'brmHCode', className: 'text-left', width: 200 },
|
||||
{ title: '到账日期', index: 'billHId', className: 'text-center', width: 150 },
|
||||
{
|
||||
title: '到账金额',
|
||||
index: 'hrvatrate',
|
||||
index: 'yskmoney',
|
||||
type: 'widget',
|
||||
className: 'text-right',
|
||||
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.yskmoney }) },
|
||||
@ -123,7 +123,7 @@ export class AdvanceCollectionDetailComponent implements OnInit {
|
||||
},
|
||||
{
|
||||
title: '转预收金额',
|
||||
index: 'hrvatrate',
|
||||
index: 'yskmoney',
|
||||
type: 'widget',
|
||||
className: 'text-right',
|
||||
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.yskmoney }) },
|
||||
|
||||
@ -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: '退款'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user