入账记录对接
This commit is contained in:
@ -8,7 +8,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" [class.expend-options]="_$expand"
|
<div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" [class.expend-options]="_$expand"
|
||||||
class="text-right">
|
class="text-right">
|
||||||
<button nz-button nzType="primary" (click)="st?.load(1)">查询</button>
|
<button nz-button nzType="primary" (click)="search()">查询</button>
|
||||||
<button nz-button (click)="resetSF()">重置</button>
|
<button nz-button (click)="resetSF()">重置</button>
|
||||||
<button nz-button> 导出</button>
|
<button nz-button> 导出</button>
|
||||||
<button nz-button nzType="link" (click)="expandToggle()">
|
<button nz-button nzType="link" (click)="expandToggle()">
|
||||||
@ -51,12 +51,15 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
</st>
|
</st>
|
||||||
<div class=" text-md" *ngIf="st?.list?.length !== 0 ">
|
<div class=" text-md" *ngIf="st?.list?.length !== 0 ">
|
||||||
<span class="mr-md">合伙人数:<label class="text-red-dark font-weight-bold">{{totalInfo?.partnerNum}}</label></span>
|
<span class="mr-md">合伙人数:<label
|
||||||
|
class="text-red-dark font-weight-bold">{{totalInfo?.invoiceAmountSum}}</label></span>
|
||||||
<span class="mr-md">入账笔数:<label class="text-red-dark font-weight-bold">{{totalInfo?.count}}</label></span>
|
<span class="mr-md">入账笔数:<label class="text-red-dark font-weight-bold">{{totalInfo?.count}}</label></span>
|
||||||
<span class="mr-md">开票金额:<label class="text-red-dark font-weight-bold">{{totalInfo?.invoiceAmount}}</label></span>
|
<span class="mr-md">开票金额:<label
|
||||||
<span class="mr-md">代缴个税:<label class="text-red-dark font-weight-bold">{{totalInfo?.tax}}</label></span>
|
class="text-red-dark font-weight-bold">{{totalInfo?.invoiceEntryNum}}</label></span>
|
||||||
|
<span class="mr-md">代缴个税:<label
|
||||||
|
class="text-red-dark font-weight-bold">{{totalInfo?.taxPersonalSum}}</label></span>
|
||||||
<span class="mr-md">入账金额:<label
|
<span class="mr-md">入账金额:<label
|
||||||
class="text-red-dark font-weight-bold">{{totalInfo?.recorededAmount}}</label></span>
|
class="text-red-dark font-weight-bold">{{totalInfo?.recordedAmountSum}}</label></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nz-card>
|
</nz-card>
|
||||||
|
|||||||
@ -22,11 +22,11 @@ export class PartnerRecordedRecordComponent implements OnInit {
|
|||||||
columns!: STColumn[];
|
columns!: STColumn[];
|
||||||
searchSchema!: SFSchema;
|
searchSchema!: SFSchema;
|
||||||
totalInfo: any = {
|
totalInfo: any = {
|
||||||
partnerNum: 34,
|
invoiceAmountSum: 0,
|
||||||
count: 98,
|
invoiceEntryNum: 0,
|
||||||
invoiceAmount: 978239.98,
|
partnerNum: 0,
|
||||||
tax: 9878.00,
|
recordedAmountSum: 0,
|
||||||
recorededAmount: 728698.98
|
taxPersonalSum: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
_$expand = false;
|
_$expand = false;
|
||||||
@ -306,7 +306,7 @@ export class PartnerRecordedRecordComponent implements OnInit {
|
|||||||
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.amount }) }
|
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.amount }) }
|
||||||
},
|
},
|
||||||
|
|
||||||
{ title: '提交时间', index: 'submitTime', width: 160, className: 'text-center' },
|
{ title: '提交时间', index: 'submitTime', width: 180, className: 'text-center' },
|
||||||
{ title: '入账状态', index: 'stsLabel', width: 120, className: 'text-center' },
|
{ title: '入账状态', index: 'stsLabel', width: 120, className: 'text-center' },
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
@ -345,4 +345,19 @@ export class PartnerRecordedRecordComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
search() {
|
||||||
|
this.st.load(1);
|
||||||
|
this.getSummary();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* 底部统计
|
||||||
|
*/
|
||||||
|
getSummary() {
|
||||||
|
this.service.request(this.service.$api_get_list_summary, { ...this.sf.value }).subscribe(res => {
|
||||||
|
if (res) {
|
||||||
|
this.totalInfo = res;
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -11,6 +11,7 @@ export class RecordedService extends BaseService {
|
|||||||
$api_disagree_recorded = ``; // 拒绝审核
|
$api_disagree_recorded = ``; // 拒绝审核
|
||||||
$api_agree_recorded = ``; // 同意审核
|
$api_agree_recorded = ``; // 同意审核
|
||||||
$api_audit_recored = `/api/bpc/partnerInvoiceEntry/oprationAudit`; // 审核单据
|
$api_audit_recored = `/api/bpc/partnerInvoiceEntry/oprationAudit`; // 审核单据
|
||||||
|
$api_get_list_summary = `/api/bpc/partnerInvoiceEntry/invoiceEntrySummary`; // 每页统计
|
||||||
constructor(public injector: Injector) {
|
constructor(public injector: Injector) {
|
||||||
super(injector);
|
super(injector);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user