From cc2a5edaa0ed2012125427ec6f0bf281323b4ec0 Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Thu, 15 May 2025 14:45:06 +0800 Subject: [PATCH] SBBJ-1002 --- src/views/eam/device/deviceinspectionjob/index.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/eam/device/deviceinspectionjob/index.vue b/src/views/eam/device/deviceinspectionjob/index.vue index defc811..7bfbb9a 100644 --- a/src/views/eam/device/deviceinspectionjob/index.vue +++ b/src/views/eam/device/deviceinspectionjob/index.vue @@ -44,7 +44,7 @@ @searchTableSuccess="searchTableSuccess" :isBusiness="true" @onChange="onChange" - :tableAllSchemas="DeviceInspectionAddDetail.allSchemas" + :tableAllSchemas="DeviceInspectionDetailFilter.allSchemas" :tableFormRules="DeviceInspectionAddDetailRules" :tableData="tableData" @handleAddTable="handleAddTable" @@ -58,7 +58,7 @@ item.field !== 'action'); + }else{ + DeviceInspectionDetailFilter.value.allSchemas.tableColumns = DeviceInspectionDetail.allSchemas.tableColumns; + } const factoryList = await selectAllFactoryArea() const userListAll = await UserApi.getSimpleUserList() row.factoryAreaNumber1 = factoryList.find((account) => account.id == row.factoryAreaNumber)?.name