更改大宗二维码按钮显示的条件

This commit is contained in:
潘晓云
2022-04-24 11:07:14 +08:00
parent e8a961acfe
commit 3f1073df67

View File

@ -42,7 +42,7 @@ export class SupplyManagementBulkComponent implements OnInit {
private modal: NzModalService, private modal: NzModalService,
private router: Router, private router: Router,
public shipperservice: ShipperBaseService public shipperservice: ShipperBaseService
) {} ) { }
ngOnInit(): void { ngOnInit(): void {
this.initSF(); this.initSF();
@ -335,7 +335,7 @@ export class SupplyManagementBulkComponent implements OnInit {
{ {
text: '二维码', text: '二维码',
click: _record => this.assignedQrcode(_record), click: _record => this.assignedQrcode(_record),
iif: item => item.resourceStatus == 1 iif: item => item.resourceStatus == 1 && item.serviceType === '1'
}, },
{ {
text: '修改单价', text: '修改单价',
@ -565,7 +565,7 @@ export class SupplyManagementBulkComponent implements OnInit {
} }
}); });
} }
userAction() {} userAction() { }
// 导出 // 导出
exportFire() { exportFire() {
this.service.exportStart(this.reqParams, this.service.$api_asyncExportBulkList); this.service.exportStart(this.reqParams, this.service.$api_asyncExportBulkList);