This commit is contained in:
wangshiming
2022-03-10 14:31:12 +08:00
parent a6c357e77a
commit c3afc62cb1
5 changed files with 133 additions and 106 deletions

View File

@ -180,15 +180,15 @@ export class SupplyManagementVehicleComponent implements OnInit {
type: 'primary',
onClick: () => {
this.service.request(this.service.$api_getFailUploadGoodsOperateResource, result.ids).subscribe((res: any) => {
if(res) {
if (res) {
console.log(res);
}
})
});
console.log(111);
}
},
}
]
})
});
}
});
}
@ -252,7 +252,7 @@ export class SupplyManagementVehicleComponent implements OnInit {
* 审核通过按钮
*/
handleOK(value: any) {
if (this.auditMany === false) {
if (this.auditMany === false) {
const params: any = {
id: this.auditID,
remarks: this.sfFre.value.remarks
@ -508,7 +508,7 @@ export class SupplyManagementVehicleComponent implements OnInit {
width: '180px',
className: 'text-left'
},
{
title: '项目名称',
index: 'enterpriseProjectName',
@ -576,7 +576,7 @@ export class SupplyManagementVehicleComponent implements OnInit {
title: '创建时间',
width: '200px',
index: 'createTime',
className: 'text-left',
className: 'text-left'
},
{
title: '审核状态',
@ -606,7 +606,7 @@ export class SupplyManagementVehicleComponent implements OnInit {
{
text: '修改货源',
click: _record => this.amend(_record),
iif: item => item.resourceStatus === '1' ,
iif: item => item.resourceStatus === '1' && item.insurancePayment !== 'Y',
acl: { ability: ['SUPPLY-INDEX-vehicleModificationSupply'] }
},
// {
@ -636,12 +636,12 @@ export class SupplyManagementVehicleComponent implements OnInit {
}
];
}
// 导出
exportFire() {
this.service.request(this.service.$api_asyncExportWholeList, this.reqParams ).subscribe((res: any) => {
if(res) {
this.service.msgSrv.success('导出成功,请去下载中心下载!')
// 导出
exportFire() {
this.service.request(this.service.$api_asyncExportWholeList, this.reqParams).subscribe((res: any) => {
if (res) {
this.service.msgSrv.success('导出成功,请去下载中心下载!');
}
})
});
}
}