fix bug
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
<sf #sf [ui]="ui" [schema]="schema" [button]="'none'" [formData]="record">
|
<sf #sf [loading]="service.http.loading" [ui]="ui" [schema]="schema" [button]="'none'" [formData]="record">
|
||||||
</sf>
|
</sf>
|
||||||
|
|
||||||
<div *nzModalFooter>
|
<div *nzModalFooter>
|
||||||
<button nz-button nzType="default" (click)="close()">取消</button>
|
<button nz-button nzType="default" (click)="close()">取消</button>
|
||||||
|
|||||||
@ -132,6 +132,7 @@ export class ParterChannelSalesListComponent implements OnInit {
|
|||||||
{
|
{
|
||||||
text: '冻结',
|
text: '冻结',
|
||||||
acl: { ability: ['channelSales-frozen'] },
|
acl: { ability: ['channelSales-frozen'] },
|
||||||
|
iif: (item) => {return item.stateLocked == false},
|
||||||
click: (_record, _modal, _instance) => this.stop(_record),
|
click: (_record, _modal, _instance) => this.stop(_record),
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user