fix bug
This commit is contained in:
@ -31,7 +31,7 @@
|
||||
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
|
||||
</div>
|
||||
<div nz-col [nzSpan]="_$expand ? 24 : 6" class="text-right">
|
||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="search()">查询</button>
|
||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="search()" acl [acl-ability]="['SUPPLY-INDEX-bulkSearch']">查询</button>
|
||||
<button nz-button nzType="primary" [disabled]="service.http.loading">导入</button>
|
||||
<button nz-button [disabled]="service.http.loading" (click)="resetSF()">重置</button>
|
||||
<button nz-button nzType="link" (click)="expandToggle()">
|
||||
@ -44,8 +44,8 @@
|
||||
</nz-card>
|
||||
<ng-template #extraTemplate>
|
||||
<div>
|
||||
<button (click)="audit('', 2)" nz-button nzType="primary">批量审核</button>
|
||||
<button (click)="releaseGoods()" nz-button nzType="primary">代发货源</button>
|
||||
<button (click)="audit('', 2)" nz-button nzType="primary" acl [acl-ability]="['SUPPLY-INDEX-bulkBatchAudit']">批量审核</button>
|
||||
<button (click)="releaseGoods()" nz-button nzType="primary" acl [acl-ability]="['SUPPLY-INDEX-bulkUndertakesToSupply']">代发货源</button>
|
||||
</div>
|
||||
</ng-template>
|
||||
<nz-card>
|
||||
|
||||
@ -303,9 +303,10 @@ export class SupplyManagementBulkComponent implements OnInit {
|
||||
{
|
||||
text: '货源审核',
|
||||
click: (_record) => this.audit(_record, 1),
|
||||
iif: item => item.auditStatus === '1'
|
||||
iif: item => item.auditStatus === '1',
|
||||
acl: { ability: ['SUPPLY-INDEX-bulkBatchAudit'] },
|
||||
},
|
||||
{
|
||||
{
|
||||
text: '二维码 ',
|
||||
click: (_record) => this.assignedQrcode(_record),
|
||||
iif: item => item.resourceStatus == 1,
|
||||
@ -314,15 +315,18 @@ export class SupplyManagementBulkComponent implements OnInit {
|
||||
text: '修改单价',
|
||||
click: (_record) => this.modification(_record),
|
||||
iif: item => item.resourceStatus == 1 ,
|
||||
acl: { ability: ['SUPPLY-INDEX-modificationUnitPrice'] },
|
||||
},
|
||||
{
|
||||
text: '取消货源',
|
||||
click: (_record) => this.delOne(_record),
|
||||
iif: item => item.resourceStatus == 1,
|
||||
acl: { ability: ['SUPPLY-INDEX-bulkCancelSupply'] },
|
||||
},
|
||||
{
|
||||
text: '再下一单',
|
||||
click: (_record) => this.nextOrder(_record),
|
||||
acl: { ability: ['SUPPLY-INDEX-bulkPlaceOrder'] },
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user