fix bug
This commit is contained in:
@ -20,6 +20,11 @@ export class ParterRebateManageMentParticularsComponent implements OnInit {
|
||||
sf!: SFComponent;
|
||||
spuStatus = '1';
|
||||
_$expand = false;
|
||||
tabs = {
|
||||
payQuantity: 0,
|
||||
cancelQuantity: 0,
|
||||
};
|
||||
resourceStatus: any;
|
||||
data = [{ name1: 1111 }];
|
||||
constructor(
|
||||
public router: Router,
|
||||
@ -46,8 +51,13 @@ export class ParterRebateManageMentParticularsComponent implements OnInit {
|
||||
*/
|
||||
get reqParams() {
|
||||
const params: any = Object.assign({}, this.sf?.value || {});
|
||||
const a: any = {};
|
||||
if (this.resourceStatus) {
|
||||
a.representationsStatus = this.resourceStatus;
|
||||
}
|
||||
delete params._$expand;
|
||||
return {
|
||||
...a,
|
||||
...params,
|
||||
deadlineTime: {
|
||||
start: this.sf?.value?.deadlineTime?.[0] || '',
|
||||
@ -120,7 +130,13 @@ export class ParterRebateManageMentParticularsComponent implements OnInit {
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
selectChange(e: number) {
|
||||
this.resourceStatus = e;
|
||||
this.initST();
|
||||
setTimeout(() => {
|
||||
this.st.load();
|
||||
}, 500);
|
||||
}
|
||||
initST() {
|
||||
this.columns = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user