This commit is contained in:
wangshiming
2022-05-12 17:52:16 +08:00
parent 317f6e73b1
commit 33ae979b08
5 changed files with 30 additions and 21 deletions

View File

@ -68,7 +68,7 @@ export class ParterRebateManageMentRecordComponent implements OnInit {
{
title: '月份',
index: 'month',
format: (item: any) => {return item?.month ? item?.month + '月' : ''}
format: (item: any) => {return ((item?.year ? item?.year + '-' : '') + (item?.month ? item.month : ''))}
},
{
title: '返佣金额(元)',

View File

@ -4,23 +4,22 @@
* @Author : Shiming
* @Date : 2022-02-24 20:09:49
* @LastEditors : Shiming
* @LastEditTime : 2022-03-10 15:10:47
* @LastEditTime : 2022-05-12 17:43:46
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\model\\abnormal-feedback\\abnormal-feedback.component.html
* Copyright (C) 2022 huzhenhong. All rights reserved.
-->
<sv-container col="1">
<sv label="异常反馈">
<div>有订单有异常请查看 </div>
<div>2022-09-08 00:00:00 </div>
<sv *ngFor="let item of mybidDetailInfo" label="异常反馈" >
<div>{{item.feedbackInfo}} </div>
<div>{{item.createTime}} </div>
<sv label="回复" *ngIf="item.replyVOList">
<div>{{item.replyVOList}} </div>
<div>{{item.feedbackInfo}} </div>
</sv>
</sv>
<sv *ngIf="mybidDetailInfo.length == 0"label="异常反馈" >
<div>暂无反馈信息 </div>
</sv>
<!-- <sv label="异常反馈">
<p *ngFor="let data of i?.mybidDetailInfo; let index = index">
<label *ngIf="data?.paymentStatusLabel == '已支付'">
<span>{{data?.expenseName}}</span>
<span>{{ data.price | number: '0.2-2' }}</span>
</label>
</p>
</sv> -->
</sv-container>
<div>
<sf

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-03-10 14:50:45
* @LastEditors : Shiming
* @LastEditTime : 2022-05-12 16:46:35
* @LastEditTime : 2022-05-12 17:41:17
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\model\\abnormal-feedback\\abnormal-feedback.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@ -24,6 +24,7 @@ export class ParterRebateManageMenAbnormalFeedbackComponent implements OnInit {
@ViewChild('sf', { static: false })
sf!: SFComponent;
i!: any;
mybidDetailInfo: any = [];
data = [{ name1: 1111 }];
constructor(public service: RebateManagementService, public shipperservice: ShipperBaseService, public modalRef: NzModalRef) {}
@ -35,15 +36,16 @@ export class ParterRebateManageMenAbnormalFeedbackComponent implements OnInit {
if (this.i) {
console.log(this.i);
this.service.request(this.service.$api_get_getExceptionMessage, { partnerId: this.i?.partnerId }).subscribe(res => {
this.service.request(this.service.$api_get_getExceptionMessage, { partnerId: this.i?.partnerId,month: this.i.month,year: this.i.year }).subscribe(res => {
console.log(res);
this.mybidDetailInfo = res
});
}
}
initSF() {
this.schema = {
properties: {
name3: {
feedbackInfo: {
type: 'string',
title: '回复',
maxLength: 50,
@ -63,6 +65,14 @@ export class ParterRebateManageMenAbnormalFeedbackComponent implements OnInit {
};
}
close() {
if(!this.sf.valid) {
this.service.msgSrv.error('请填写必填项!')
return
}
let params = {
}
this.service.request(this.service.$api_get_partnerIncomeExceptionAdd)
this.modalRef.destroy();
}
}

View File

@ -505,9 +505,9 @@ export class FreightComponentsListDetailComponent implements OnInit, OnDestroy {
if (res.name) {
this.detailData.enterpriseName = res.name;
}
if (res.type) {
this.detailData.enterpriseType = res.type;
}
// if (res.type) {
// this.detailData.enterpriseType = res.type;
// }
if (res.addressRegionCodes) {
this.detailData.enterpriseAddressCode = res.addressRegionCodes;
}