This commit is contained in:
wangshiming
2022-04-22 14:50:58 +08:00
parent b67401d311
commit 33963ed45d
11 changed files with 431 additions and 238 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2022-03-21 09:26:45
* @LastEditors : Shiming
* @LastEditTime : 2022-03-29 10:53:39
* @LastEditTime : 2022-04-22 14:44:12
* @FilePath : \\tms-obc-web\\src\\app\\routes\\partner\\rebate-management\\components\\rebate-setting\\add\\add.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@ -26,6 +26,7 @@ import { inRange } from '@delon/util';
export class ParterRebateManageMentAddComponent implements OnInit {
@ViewChild('table') table!: any;
tabelData: any;
addStatus: boolean = false;
configName: string = '';
partnerType: string = '';
remarke: string = '';
@ -78,7 +79,7 @@ export class ParterRebateManageMentAddComponent implements OnInit {
widget: 'tinymce',
loadingTip: 'loading...',
config: {
height: 650
height: 500,
}
},
// default: data?.agreementContent || ''
@ -87,6 +88,7 @@ export class ParterRebateManageMentAddComponent implements OnInit {
};
}
ngOnInit() {
this.addStatus =false
this.initSF();
}
goBack() {
@ -123,7 +125,9 @@ export class ParterRebateManageMentAddComponent implements OnInit {
});
}
delete(item: any) {
console.log(item);
this.partnerPeopleList = this.partnerPeopleList.filter((d:any, i: any) => {
return item.id != d.id
});
}
save () {
const params = {
@ -146,4 +150,10 @@ export class ParterRebateManageMentAddComponent implements OnInit {
}
})
}
changePartner(value: any) {
console.log(value);
if(value) {
this.addStatus = true
}
}
}