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