fix bug
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2022-03-21 09:26:45
|
||||
* @LastEditors : Shiming
|
||||
* @LastEditTime : 2022-04-22 15:01:43
|
||||
* @LastEditTime : 2022-04-25 15:52:41
|
||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\components\\rebate-setting\\add\\add.component.ts
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
*/
|
||||
@ -131,13 +131,16 @@ export class ParterRebateManageMentAddComponent implements OnInit {
|
||||
});
|
||||
}
|
||||
save() {
|
||||
console.log(this.partnerId);
|
||||
console.log(this.partnerId.join(','));
|
||||
|
||||
const params = {
|
||||
accountingRate: this.accountingRate,
|
||||
configName: this.configName,
|
||||
configType: this.configType,
|
||||
rebateConfigLineDTO: this.table.data,
|
||||
priority: this.priority, // 优先级
|
||||
partnerId: this.partnerId.join(','),
|
||||
partnerIds: this.partnerId,
|
||||
ruleDescription: this.sf.value.ruleDescription,
|
||||
remarke: this.remarke,
|
||||
partnerType: this.partnerType
|
||||
@ -153,8 +156,10 @@ export class ParterRebateManageMentAddComponent implements OnInit {
|
||||
}
|
||||
changePartner(value: any) {
|
||||
console.log(value);
|
||||
if (value) {
|
||||
if (value == '3') {
|
||||
this.addStatus = true;
|
||||
} else {
|
||||
this.addStatus = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user