This commit is contained in:
wangshiming
2022-05-12 16:53:50 +08:00
parent ded0c5e48b
commit 230bcce9f3
6 changed files with 47 additions and 37 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-02-24 20:09:49
* @LastEditors : Shiming
* @LastEditTime : 2022-05-12 15:42:27
* @LastEditTime : 2022-05-12 16:43:10
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\components\\rebate-record\\rebate-record.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
@ -42,7 +42,7 @@
[loading]="service.http.loading"
>
<ng-template st-row='abnormalFeedback' let-item let-index='index'>
<div style="color: #f59a23;" (click)="feedback()">123212{{item?.abnormalFeedback}}</div>
<div style="color: #f59a23;" (click)="feedback(item)">123212{{item?.abnormalFeedback}}</div>
</ng-template>
<ng-template st-row='profitAmountSum' let-item let-index='index'>
<div >{{item?.profitAmountSum | currency}}</div>

View File

@ -118,7 +118,7 @@ export class ParterRebateManageMentRecordComponent implements OnInit {
nzTitle: '明细',
nzWidth: 1200,
nzContent: ParterRebateManageMenRecordDetailComponent,
nzComponentParams: { },
nzComponentParams: { record: item },
nzFooter: null
});
modal.afterClose.subscribe((res: any) => {

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-03-10 14:50:45
* @LastEditors : Shiming
* @LastEditTime : 2022-03-10 15:09:51
* @LastEditTime : 2022-05-12 16:46:35
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\model\\abnormal-feedback\\abnormal-feedback.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@ -29,8 +29,17 @@ export class ParterRebateManageMenAbnormalFeedbackComponent implements OnInit {
ngOnInit() {
this.initSF();
this.initData();
}
initData() {
if (this.i) {
console.log(this.i);
this.service.request(this.service.$api_get_getExceptionMessage, { partnerId: this.i?.partnerId }).subscribe(res => {
console.log(res);
});
}
}
initSF() {
this.schema = {
properties: {

View File

@ -23,7 +23,7 @@
<st
#st
[bordered]="true"
[data]="service.$api_get_listCompliancePage"
[data]="service.$api_get_partnerIncomeDetail"
[columns]="columns"
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"

View File

@ -21,6 +21,7 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
spuStatus = '1';
size: NzButtonSize = 'large';
_$expand = false;
record: any;
data = [{ name1: 1111 }];
constructor(public service: RebateManagementService, public shipperservice: ShipperBaseService, public modalRef: NzModalRef) {}
/**
@ -43,10 +44,13 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
const params: any = Object.assign({}, this.sf?.value || {});
delete params._$expand;
return {
partnerId: this.record.partnerId,
...params
};
}
ngOnInit() {
console.log(this.record);
this.initSF();
this.initST();
}
@ -54,7 +58,7 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
initSF() {
this.schema = {
properties: {
enterpriseInfoId: {
ltdId: {
type: 'string',
title: '网络货运人',
ui: {
@ -68,18 +72,27 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
}
}
},
paymentStatus: {
bankType: {
title: '银行类型',
type: 'string',
ui: {
widget: 'dict-select',
params: { dictKey: 'overall:payment:status' },
containsAllLabel: true,
change: (value: any) => {
console.log(value);
this.st.reload();
enum: [
{
label: '全部',
value: ''
},
{
label: '平安银行',
value: '1'
},
{
label: '浦发银行',
value: '2'
}
} as SFSelectWidgetSchema
],
ui: {
widget: 'select',
containsAllLabel: true
}
}
}
};
@ -93,6 +106,10 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
initST() {
this.columns = [
{
title: '网络货运人',
index: 'billCode'
},
{
title: '订单号',
index: 'billCode'
@ -106,7 +123,7 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
index: 'name1'
},
{
title: '预估返佣金额(元)',
title: '返佣金额(元)',
index: 'name1'
},
{
@ -118,27 +135,11 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
index: 'name1'
},
{
title: '网络货运人',
title: '银行类型',
index: 'name1'
},
{
title: '销售渠道',
index: 'name1'
},
{
title: '合伙人名称',
index: 'name1'
},
{
title: '合伙人等级',
index: 'name1'
},
{
title: '管理费比例',
index: 'name1'
},
{
title: '固定结算费率',
title: '虚拟账户',
index: 'name1'
},
{