This commit is contained in:
wangshiming
2022-04-25 15:58:23 +08:00
parent 3c896de836
commit ac0832aa50

View File

@ -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;
}
}
}