账户管理
This commit is contained in:
@ -16,11 +16,11 @@
|
||||
</ng-template>
|
||||
<ng-template #action>
|
||||
<div class="mr-xl">
|
||||
<p class="text-lg mb-sm mt-xs">待审批</p>
|
||||
<div>
|
||||
<p class="text-lg mb-sm mt-xs">{{formData?.stsLabel}}</p>
|
||||
<div *ngIf="formData?.sts === '0' || formData?.sts ==='1'">
|
||||
<button nz-button [nzType]="'primary'" (click)="auditAction(formData,formData?.refundStatus)">{{formData?.sts
|
||||
===
|
||||
0 ?'审核':'复审'}}</button>
|
||||
'0' ?'审核':'复审'}}</button>
|
||||
</div>
|
||||
</div>
|
||||
</ng-template>
|
||||
@ -61,14 +61,14 @@
|
||||
{{formData?.stsLabel}}
|
||||
</se>
|
||||
<se label="发票图片">
|
||||
<img *ngIf="formData?.invoiceUrl" nz-image width="200px" height="200px" [nzSrc]="formData?.invoiceUrl" alt="" />
|
||||
<img *ngIf="formData?.invoiceUrl" nz-image width="100px" height="100px" [nzSrc]="formData?.invoiceUrl" alt="" />
|
||||
<span *ngIf="!formData?.invoiceUrl">-</span>
|
||||
</se>
|
||||
<se label="快递单号">
|
||||
{{formData?.expressName}}
|
||||
</se>
|
||||
<se label="纳税凭证">
|
||||
<img *ngIf="formData?.taxVoucherUrl" nz-image width="200px" height="200px" [nzSrc]="formData?.taxVoucherUrl"
|
||||
<img *ngIf="formData?.taxVoucherUrl" nz-image width="100px" height="100px" [nzSrc]="formData?.taxVoucherUrl"
|
||||
alt="" />
|
||||
<span *ngIf="!formData?.taxVoucherUrl">-</span>
|
||||
</se>
|
||||
|
||||
@ -88,7 +88,7 @@ export class PartnerRecordedDetailComponent implements OnInit {
|
||||
this.service.msgSrv.warning('请填写拒绝原因 ');
|
||||
return;
|
||||
}
|
||||
this.audit({ id: params, rejectReason: this.msg, sts: '3' }, () => {
|
||||
this.audit({ ids: params, rejectReason: this.msg, sts: '3' }, () => {
|
||||
modal.destroy(true);
|
||||
}, '审核拒绝成功');
|
||||
}
|
||||
@ -97,7 +97,7 @@ export class PartnerRecordedDetailComponent implements OnInit {
|
||||
label: '通过',
|
||||
type: 'primary',
|
||||
onClick: () => {
|
||||
this.audit({ id: params, rejectReason: this.msg, sts: this.formData?.sts === '0' ? 1 : 2 }, () => {
|
||||
this.audit({ ids: params, rejectReason: this.msg, sts: this.formData?.sts === '0' ? 1 : 2 }, () => {
|
||||
modal.destroy(true);
|
||||
}, `${this.formData?.sts === '1' ? '审核' : '复审'}通过成功`);
|
||||
}
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
<st #st [data]="service.$api_get_recorded_page" [columns]="columns"
|
||||
[req]="{ method: 'POST', allInBody: true,process: beforeReq}" [loading]="service.http.loading"
|
||||
[scroll]="{ x:'1200px' }" (change)="stChange($event)"
|
||||
[res]="{ reName: { list: 'data', total: 'data.total' }, process: afterRes }"
|
||||
[res]="{ reName: { list: 'data.records', total: 'data.total' }, process: afterRes }"
|
||||
[page]="{ show: true, pageSizes: [10, 20, 50, 100, 200, 500] }">
|
||||
<ng-template st-row="bankCardNumber" let-item let-index="index" let-column="column">
|
||||
{{ item.bankName }} <br> {{ item.bankCardNumber }}
|
||||
|
||||
@ -70,7 +70,7 @@ export class PartnerRecordedRecordComponent implements OnInit {
|
||||
};
|
||||
|
||||
afterRes = (data: any[], rawData?: any) => {
|
||||
data = data.map(node => ({ ...node, disabled: node.sts !== '0' }));
|
||||
// data = data.map(node => ({ ...node, disabled: node.sts !== '0' }));
|
||||
return data;
|
||||
};
|
||||
|
||||
@ -148,7 +148,7 @@ export class PartnerRecordedRecordComponent implements OnInit {
|
||||
this.service.msgSrv.warning('请填写拒绝原因 ');
|
||||
return;
|
||||
}
|
||||
this.audit({ id: params, rejectReason: this.msg, sts: '3' }, () => {
|
||||
this.audit({ ids: params, rejectReason: this.msg, sts: '3' }, () => {
|
||||
modal.destroy();
|
||||
this.st.load(1);
|
||||
}, '审核拒绝成功');
|
||||
@ -170,7 +170,7 @@ export class PartnerRecordedRecordComponent implements OnInit {
|
||||
label: '通过',
|
||||
type: 'primary',
|
||||
onClick: () => {
|
||||
this.audit({ id: params, rejectReason: this.msg, sts: '1' }, () => {
|
||||
this.audit({ ids: params, rejectReason: this.msg, sts: '1' }, () => {
|
||||
modal.destroy();
|
||||
this.st.load(1);
|
||||
}, '审核通过成功');
|
||||
@ -238,10 +238,10 @@ export class PartnerRecordedRecordComponent implements OnInit {
|
||||
default: '',
|
||||
enum: [
|
||||
{ label: '全部', value: '' },
|
||||
{ label: '待初审', value: 0 },
|
||||
{ label: '待复核', value: 1 },
|
||||
{ label: '已入账', value: 2 },
|
||||
{ label: '已拒绝', value: 3 },
|
||||
{ label: '待初审', value: '0' },
|
||||
{ label: '待复核', value: '1' },
|
||||
{ label: '已入账', value: '2' },
|
||||
{ label: '已拒绝', value: '3' },
|
||||
],
|
||||
ui: {
|
||||
widget: 'select',
|
||||
@ -309,7 +309,7 @@ export class PartnerRecordedRecordComponent implements OnInit {
|
||||
},
|
||||
|
||||
{ title: '提交时间', index: 'submitTime', width: 160, className: 'text-center' },
|
||||
{ title: '入账状态', index: 'stsLabel', width: 100, className: 'text-center' },
|
||||
{ title: '入账状态', index: 'stsLabel', width: 120, className: 'text-center' },
|
||||
{
|
||||
title: '操作',
|
||||
fixed: 'right',
|
||||
|
||||
Reference in New Issue
Block a user