diff --git a/src/app/routes/order-management/components/risk/risk.component.ts b/src/app/routes/order-management/components/risk/risk.component.ts index 0edd09df..9b7237ea 100644 --- a/src/app/routes/order-management/components/risk/risk.component.ts +++ b/src/app/routes/order-management/components/risk/risk.component.ts @@ -287,11 +287,12 @@ export class OrderManagementRiskComponent implements OnInit { buttons: [ { text: '审核', - click: _record => this.audit(_record) + click: _record => this.audit(_record), + iif: item => item.representationsStatus == '1' || item.representationsStatus == '2' , }, { text: '详情', - click: _record => this.viewEvaluate(_record) + click: _record => this.viewEvaluate(_record), } ] } @@ -372,17 +373,6 @@ export class OrderManagementRiskComponent implements OnInit { this._$expand = false; } - // 获取录单员 - getCatalogueMember() { - const params = {}; - return this.service.request(this.service.$api_get_catalogue_member, params, 'GET').pipe( - map(res => { - if (res) { - console.log(res); - } - }) - ); - } selectChange(e: number) { console.log(e); @@ -412,7 +402,7 @@ export class OrderManagementRiskComponent implements OnInit { id: this.sfView.value.billCode, representationsCause: this.sfView.value.representationsCause }; - this.service.request(this.service.$api_get_catalogue_member, parms).subscribe(res => { + this.service.request(this.service.$api_get_listRisk_audit, parms).subscribe(res => { console.log(res); if (res) { this.service.msgSrv.success('审核通过!'); @@ -431,7 +421,7 @@ export class OrderManagementRiskComponent implements OnInit { id: this.sfView.value.billCode, representationsCause: this.sfView.value.representationsCause }; - this.service.request(this.service.$api_get_catalogue_member, parms).subscribe(res => { + this.service.request(this.service.$api_get_listRisk_audit, parms).subscribe(res => { console.log(res); if (res) { this.service.msgSrv.success('审核通过!'); diff --git a/src/app/routes/supply-management/components/bulk/bulk.component.html b/src/app/routes/supply-management/components/bulk/bulk.component.html index 30bbc768..a1be75ca 100644 --- a/src/app/routes/supply-management/components/bulk/bulk.component.html +++ b/src/app/routes/supply-management/components/bulk/bulk.component.html @@ -1,7 +1,7 @@