fix bug
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-01-18 09:51:21
|
* @Date : 2022-01-18 09:51:21
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-05-11 19:19:55
|
* @LastEditTime : 2022-05-12 16:51:55
|
||||||
* @FilePath : \\tms-obc-web\\proxy.conf.js
|
* @FilePath : \\tms-obc-web\\proxy.conf.js
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -30,7 +30,7 @@ module.exports = {
|
|||||||
// },
|
// },
|
||||||
'//api': {
|
'//api': {
|
||||||
target: {
|
target: {
|
||||||
host: 'tms-api-dev.eascs.com',
|
host: 'tms-api-test.eascs.com',
|
||||||
protocol: 'https:',
|
protocol: 'https:',
|
||||||
port: 443
|
port: 443
|
||||||
},
|
},
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-02-24 20:09:49
|
* @Date : 2022-02-24 20:09:49
|
||||||
* @LastEditors : Shiming
|
* @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
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\components\\rebate-record\\rebate-record.component.html
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
-->
|
-->
|
||||||
@ -42,7 +42,7 @@
|
|||||||
[loading]="service.http.loading"
|
[loading]="service.http.loading"
|
||||||
>
|
>
|
||||||
<ng-template st-row='abnormalFeedback' let-item let-index='index'>
|
<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>
|
||||||
<ng-template st-row='profitAmountSum' let-item let-index='index'>
|
<ng-template st-row='profitAmountSum' let-item let-index='index'>
|
||||||
<div >{{item?.profitAmountSum | currency}}</div>
|
<div >{{item?.profitAmountSum | currency}}</div>
|
||||||
|
|||||||
@ -118,7 +118,7 @@ export class ParterRebateManageMentRecordComponent implements OnInit {
|
|||||||
nzTitle: '明细',
|
nzTitle: '明细',
|
||||||
nzWidth: 1200,
|
nzWidth: 1200,
|
||||||
nzContent: ParterRebateManageMenRecordDetailComponent,
|
nzContent: ParterRebateManageMenRecordDetailComponent,
|
||||||
nzComponentParams: { },
|
nzComponentParams: { record: item },
|
||||||
nzFooter: null
|
nzFooter: null
|
||||||
});
|
});
|
||||||
modal.afterClose.subscribe((res: any) => {
|
modal.afterClose.subscribe((res: any) => {
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2022-03-10 14:50:45
|
* @Date : 2022-03-10 14:50:45
|
||||||
* @LastEditors : Shiming
|
* @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
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\model\\abnormal-feedback\\abnormal-feedback.component.ts
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -29,8 +29,17 @@ export class ParterRebateManageMenAbnormalFeedbackComponent implements OnInit {
|
|||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
this.initSF();
|
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() {
|
initSF() {
|
||||||
this.schema = {
|
this.schema = {
|
||||||
properties: {
|
properties: {
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
<st
|
<st
|
||||||
#st
|
#st
|
||||||
[bordered]="true"
|
[bordered]="true"
|
||||||
[data]="service.$api_get_listCompliancePage"
|
[data]="service.$api_get_partnerIncomeDetail"
|
||||||
[columns]="columns"
|
[columns]="columns"
|
||||||
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
|
||||||
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
|
||||||
|
|||||||
@ -21,6 +21,7 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
|
|||||||
spuStatus = '1';
|
spuStatus = '1';
|
||||||
size: NzButtonSize = 'large';
|
size: NzButtonSize = 'large';
|
||||||
_$expand = false;
|
_$expand = false;
|
||||||
|
record: any;
|
||||||
data = [{ name1: 1111 }];
|
data = [{ name1: 1111 }];
|
||||||
constructor(public service: RebateManagementService, public shipperservice: ShipperBaseService, public modalRef: NzModalRef) {}
|
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 || {});
|
const params: any = Object.assign({}, this.sf?.value || {});
|
||||||
delete params._$expand;
|
delete params._$expand;
|
||||||
return {
|
return {
|
||||||
|
partnerId: this.record.partnerId,
|
||||||
...params
|
...params
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
console.log(this.record);
|
||||||
|
|
||||||
this.initSF();
|
this.initSF();
|
||||||
this.initST();
|
this.initST();
|
||||||
}
|
}
|
||||||
@ -54,7 +58,7 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
|
|||||||
initSF() {
|
initSF() {
|
||||||
this.schema = {
|
this.schema = {
|
||||||
properties: {
|
properties: {
|
||||||
enterpriseInfoId: {
|
ltdId: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '网络货运人',
|
title: '网络货运人',
|
||||||
ui: {
|
ui: {
|
||||||
@ -68,18 +72,27 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
paymentStatus: {
|
bankType: {
|
||||||
title: '银行类型',
|
title: '银行类型',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
ui: {
|
enum: [
|
||||||
widget: 'dict-select',
|
{
|
||||||
params: { dictKey: 'overall:payment:status' },
|
label: '全部',
|
||||||
containsAllLabel: true,
|
value: ''
|
||||||
change: (value: any) => {
|
},
|
||||||
console.log(value);
|
{
|
||||||
this.st.reload();
|
label: '平安银行',
|
||||||
|
value: '1'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: '浦发银行',
|
||||||
|
value: '2'
|
||||||
}
|
}
|
||||||
} as SFSelectWidgetSchema
|
],
|
||||||
|
ui: {
|
||||||
|
widget: 'select',
|
||||||
|
containsAllLabel: true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -93,6 +106,10 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
|
|||||||
|
|
||||||
initST() {
|
initST() {
|
||||||
this.columns = [
|
this.columns = [
|
||||||
|
{
|
||||||
|
title: '网络货运人',
|
||||||
|
index: 'billCode'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '订单号',
|
title: '订单号',
|
||||||
index: 'billCode'
|
index: 'billCode'
|
||||||
@ -106,7 +123,7 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
|
|||||||
index: 'name1'
|
index: 'name1'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '预估返佣金额(元)',
|
title: '返佣金额(元)',
|
||||||
index: 'name1'
|
index: 'name1'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -118,27 +135,11 @@ export class ParterRebateManageMenRecordDetailComponent implements OnInit {
|
|||||||
index: 'name1'
|
index: 'name1'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '网络货运人',
|
title: '银行类型',
|
||||||
index: 'name1'
|
index: 'name1'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '销售渠道',
|
title: '虚拟账户',
|
||||||
index: 'name1'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '合伙人名称',
|
|
||||||
index: 'name1'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '合伙人等级',
|
|
||||||
index: 'name1'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '管理费比例',
|
|
||||||
index: 'name1'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '固定结算费率',
|
|
||||||
index: 'name1'
|
index: 'name1'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user