This commit is contained in:
wangshiming
2022-05-12 17:54:52 +08:00
parent 59ff3f477d
commit a43d56bdc9

View File

@ -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-05-12 17:41:17 * @LastEditTime : 2022-05-12 17:54:15
* @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.
*/ */
@ -36,9 +36,11 @@ export class ParterRebateManageMenAbnormalFeedbackComponent implements OnInit {
if (this.i) { if (this.i) {
console.log(this.i); console.log(this.i);
this.service.request(this.service.$api_get_getExceptionMessage, { partnerId: this.i?.partnerId,month: this.i.month,year: this.i.year }).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); console.log(res);
this.mybidDetailInfo = res this.mybidDetailInfo = res;
}); });
} }
} }
@ -66,13 +68,20 @@ export class ParterRebateManageMenAbnormalFeedbackComponent implements OnInit {
} }
close() { close() {
if (!this.sf.valid) { if (!this.sf.valid) {
this.service.msgSrv.error('请填写必填项!') this.service.msgSrv.error('请填写必填项!');
return return;
} }
let params = { let params = {
partnerId: this.i?.partnerId,
} month: this.i.month,
this.service.request(this.service.$api_get_partnerIncomeExceptionAdd) year: this.i.year,
...this.sf.value
};
this.service.request(this.service.$api_get_partnerIncomeExceptionAdd,params).subscribe((res) => {
if(res) {
this.service.msgSrv.success('保存成功!');
this.modalRef.destroy(); this.modalRef.destroy();
} }
})
}
} }