From ac1138c8d8fdbf99566bd6ac062b4f997d390a24 Mon Sep 17 00:00:00 2001 From: wangshiming Date: Thu, 10 Feb 2022 16:43:47 +0800 Subject: [PATCH] fix bug --- .../components/bulk/bulk.component.ts | 10 +++++----- .../components/vehicle/vehicle.component.ts | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/routes/supply-management/components/bulk/bulk.component.ts b/src/app/routes/supply-management/components/bulk/bulk.component.ts index 1f41f2d7..e326ad38 100644 --- a/src/app/routes/supply-management/components/bulk/bulk.component.ts +++ b/src/app/routes/supply-management/components/bulk/bulk.component.ts @@ -214,7 +214,7 @@ export class SupplyManagementBulkComponent implements OnInit { }, } }; - this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 24 } } }; + this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 16 } } }; } /** * 初始化数据列表 @@ -303,22 +303,22 @@ export class SupplyManagementBulkComponent implements OnInit { { text: '货源审核', click: (_record) => this.audit(_record, 1), - iif: item => item.auditStatus == 1, + iif: item => item.resourceStatus == 1, }, { text: '二维码 ', click: (_record) => this.assignedQrcode(_record), - iif: item => item.auditStatus == 1 || item.auditStatus == 2, + iif: item => item.resourceStatus == 1, }, { text: '修改单价', click: (_record) => this.modification(_record), - iif: item => item.auditStatus == 1 || item.auditStatus == 2, + iif: item => item.resourceStatus == 1 , }, { text: '取消货源', click: (_record) => this.delOne(_record), - iif: item => item.auditStatus == 1 || item.auditStatus == 2, + iif: item => item.resourceStatus == 1, }, { text: '再下一单', diff --git a/src/app/routes/supply-management/components/vehicle/vehicle.component.ts b/src/app/routes/supply-management/components/vehicle/vehicle.component.ts index 254e145b..3b617820 100644 --- a/src/app/routes/supply-management/components/vehicle/vehicle.component.ts +++ b/src/app/routes/supply-management/components/vehicle/vehicle.component.ts @@ -88,13 +88,13 @@ export class SupplyManagementVehicleComponent implements OnInit { maxLength: 50, ui: { placeholder: '请输入备注', - widget: 'textarea' + widget: 'textarea', } } }, require: ['remarks'] }; - this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 24 } } }; + this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 16 } } }; } add(): void { @@ -540,7 +540,7 @@ export class SupplyManagementVehicleComponent implements OnInit { { text: '货源审核', click: _record => this.audit(_record, 1), - iif: item => item.auditStatus === '1' + iif: item => item.resourceStatus === '1' }, { text: '修改货源',