fix bug
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2022-03-10 14:50:45
|
||||
* @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
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
*/
|
||||
@ -35,11 +35,13 @@ export class ParterRebateManageMenAbnormalFeedbackComponent implements OnInit {
|
||||
initData() {
|
||||
if (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 => {
|
||||
console.log(res);
|
||||
this.mybidDetailInfo = 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() {
|
||||
@ -65,14 +67,21 @@ export class ParterRebateManageMenAbnormalFeedbackComponent implements OnInit {
|
||||
};
|
||||
}
|
||||
close() {
|
||||
if(!this.sf.valid) {
|
||||
this.service.msgSrv.error('请填写必填项!')
|
||||
return
|
||||
if (!this.sf.valid) {
|
||||
this.service.msgSrv.error('请填写必填项!');
|
||||
return;
|
||||
}
|
||||
let params = {
|
||||
|
||||
}
|
||||
this.service.request(this.service.$api_get_partnerIncomeExceptionAdd)
|
||||
this.modalRef.destroy();
|
||||
partnerId: this.i?.partnerId,
|
||||
month: this.i.month,
|
||||
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();
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user