diff --git a/src/api/mes/deviceledger/index.ts b/src/api/mes/deviceledger/index.ts index 32040d08..d14f7e03 100644 --- a/src/api/mes/deviceledger/index.ts +++ b/src/api/mes/deviceledger/index.ts @@ -102,5 +102,14 @@ export const DeviceLedgerApi = { exportMold: async (params) => { return await request.download({ url: `/mes/device-ledger/export-mold`, params }) + }, + + // 查询设备关键件明细 + getDeviceCriticalComponent: async (id: number) => { + return await request.get({ url: `/mes/device-critical-component/getDetails?deviceId=` + id }) + }, + + exportDeviceComponent: async (params: any) => { + return await request.download({ url: `/mes/device-critical-component/export-excel`, params }) } } diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index d1e56667..56deda1e 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -716,6 +716,17 @@ const remainingRouter: AppRouteRecordRaw[] = [ activeMenu: '/mes/deviceledger' }, component: () => import('@/views/mes/deviceledger/detail/index.vue') + }, + { + path: 'device-ledger/detail/editIndex:id', + name: 'MesDeviceLedgerEditDetail', + meta: { + title: '编辑设备台账', + noCache: true, + hidden: true, + activeMenu: '/mes/deviceledger' + }, + component: () => import('@/views/mes/deviceledger/detail/editIndex.vue') } ] } diff --git a/src/views/erp/component/in/StockInForm.vue b/src/views/erp/component/in/StockInForm.vue index 03cee405..bf4c1cc4 100644 --- a/src/views/erp/component/in/StockInForm.vue +++ b/src/views/erp/component/in/StockInForm.vue @@ -1,100 +1,108 @@ - - - - - - - - - - - - + + {{ dialogTitle }} + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/erp/component/in/index.vue b/src/views/erp/component/in/index.vue index 39a1a982..38bf25e8 100644 --- a/src/views/erp/component/in/index.vue +++ b/src/views/erp/component/in/index.vue @@ -1,6 +1,7 @@ - - + + + - + + - - + + + + diff --git a/src/views/erp/component/out/index.vue b/src/views/erp/component/out/index.vue index e2da4546..e89456bb 100644 --- a/src/views/erp/component/out/index.vue +++ b/src/views/erp/component/out/index.vue @@ -1,6 +1,7 @@ - - + + + + - - + + + + diff --git a/src/views/erp/stock/out/index.vue b/src/views/erp/stock/out/index.vue index f11f485c..98fe6a75 100644 --- a/src/views/erp/stock/out/index.vue +++ b/src/views/erp/stock/out/index.vue @@ -1,5 +1,7 @@ - + + + + - - + + + + diff --git a/src/views/iot/feedback/index.vue b/src/views/iot/feedback/index.vue index 5c362804..336bf77e 100644 --- a/src/views/iot/feedback/index.vue +++ b/src/views/iot/feedback/index.vue @@ -1,5 +1,7 @@ - + + + + - - + + + - + + diff --git a/src/views/mes/criticalComponent/index.vue b/src/views/mes/criticalComponent/index.vue index e311b84d..d7504f19 100644 --- a/src/views/mes/criticalComponent/index.vue +++ b/src/views/mes/criticalComponent/index.vue @@ -1,154 +1,204 @@ - - - - - - - - - - - - - - - - - - - - - {{ showAllFilters ? t('FactoryModeling.FactoryStructure.collapseText') : t('FactoryModeling.FactoryStructure.expandText') }} - - - - - - {{ t('common.query') }} - - - - {{ t('common.reset') }} - - - - {{ t('action.add') }} - - - - {{ t('EquipmentManagement.EquipmentKeyItems.batchDelete') }} - - - - {{ t('action.import') }} - - - - {{ t('action.export') }} - - - - + + + + + + + + + + + + + + + + + + + + + + + {{ showAllFilters ? t('FactoryModeling.FactoryStructure.collapseText') : t('FactoryModeling.FactoryStructure.expandText') }} + + + + + + {{ t('common.query') }} + + + + {{ t('common.reset') }} + + + + {{ t('action.add') }} + + + + {{ t('EquipmentManagement.EquipmentKeyItems.batchDelete') }} + + + + {{ t('action.import') }} + + + + {{ t('action.export') }} + + + + - - - - - - - - - - - - - - {{ t('EquipmentManagement.EquipmentKeyItems.edit') }} - - - {{ t('EquipmentManagement.EquipmentKeyItems.delete') }} - - - - + + + + + + + + + + + + + + {{ t('EquipmentManagement.EquipmentKeyItems.edit') }} + + + {{ t('EquipmentManagement.EquipmentKeyItems.delete') }} + + + + - - - - - - - - - - 将文件拖到此处,或点击上传 - - - - - - 是否更新已存在的数据 - - 仅支持 .xlsx, .xls 格式 - - 下载导入模板 - - - - - - {{ t('common.ok') }} - {{ t('common.cancel') }} + + - + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/mes/deviceledger/index.vue b/src/views/mes/deviceledger/index.vue index f7074eea..af6e8725 100644 --- a/src/views/mes/deviceledger/index.vue +++ b/src/views/mes/deviceledger/index.vue @@ -1,5 +1,7 @@ - + + + {{ t('EquipmentManagement.EquipmentLedger.lineCategory') }} @@ -238,7 +240,7 @@ {{ t('EquipmentManagement.EquipmentLedger.detail') }} - {{ t('EquipmentManagement.EquipmentLedger.edit') }} @@ -319,10 +321,12 @@ - + + - - + + + + + diff --git a/src/views/mes/moldget/index.vue b/src/views/mes/moldget/index.vue index e5ab245b..ad033595 100644 --- a/src/views/mes/moldget/index.vue +++ b/src/views/mes/moldget/index.vue @@ -1,6 +1,8 @@ - + + + + - - + + + + + diff --git a/src/views/mes/moldreturn/index.vue b/src/views/mes/moldreturn/index.vue index 77993fb8..114ad4b2 100644 --- a/src/views/mes/moldreturn/index.vue +++ b/src/views/mes/moldreturn/index.vue @@ -1,5 +1,8 @@ - + + + + + - - + + +