From 4fe135f4ed772fa95aff3b493cca21c28aa7e0f5 Mon Sep 17 00:00:00 2001 From: songguoqiang <765017469@qq.com> Date: Sat, 22 Jun 2024 09:35:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3eam=E5=A4=87=E4=BB=B6?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../applicationRecordMain.data.ts | 54 +++--- src/views/eam/applicationRecord/index.vue | 10 +- src/views/eam/itemApplyMain/index.vue | 4 +- .../eam/itemApplyMain/itemApplyMain.data.ts | 160 +++++++++--------- 4 files changed, 114 insertions(+), 114 deletions(-) diff --git a/src/views/eam/applicationRecord/applicationRecordMain.data.ts b/src/views/eam/applicationRecord/applicationRecordMain.data.ts index 0160659a8..f36966a98 100644 --- a/src/views/eam/applicationRecord/applicationRecordMain.data.ts +++ b/src/views/eam/applicationRecord/applicationRecordMain.data.ts @@ -1,8 +1,8 @@ import type { CrudSchema } from '@/hooks/web/useCrudSchemas' import { dateFormatter } from '@/utils/formatTime' -import { ItemAccounts } from '@/views/eam/item/itemAccounts/itemAccounts.data' -import * as ItemAccountsApi from '@/api/eam/item/itemAccounts' -import * as DeviceMoldItemsApi from '@/api/eam/basic/deviceMaintenance' +import { ItemAccounts } from '@/views/eam/itemAccounts/itemAccounts.data' +import * as ItemAccountsApi from '@/api/eam/itemAccounts' +//import * as DeviceMoldItemsApi from '@/api/eam/basic/deviceMaintenance' import { validateHanset, validateEmail } from '@/utils/validator' const { t } = useI18n() // 国际化 @@ -154,30 +154,30 @@ export const ApplicationRecordDetail = useCrudSchemas(reactive([ }, - { - label: '设备/模具编号', - field: 'deviceNumber', - sort: 'custom', - isSearch: true, - tableForm: { - isInpuFocusShow: true, - searchListPlaceholder: '请选择单号', - searchField: 'number', - searchTitle: '单号信息', - searchAllSchemas: DeviceMOLD.allSchemas, // 查询弹窗所需类 - searchPage: DeviceMoldItemsApi.getNumber, // 查询弹窗所需分页方法 - searchCondition: [{ - key: 'available', - value: "TRUE", - isMainValue: false - }, { - key: 'type', - value: "type", - isMainValue: true - } - ] - }, - }, + // { + // label: '设备/模具编号', + // field: 'deviceNumber', + // sort: 'custom', + // isSearch: true, + // tableForm: { + // isInpuFocusShow: true, + // searchListPlaceholder: '请选择单号', + // searchField: 'number', + // searchTitle: '单号信息', + // searchAllSchemas: DeviceMOLD.allSchemas, // 查询弹窗所需类 + // searchPage: DeviceMoldItemsApi.getNumber, // 查询弹窗所需分页方法 + // searchCondition: [{ + // key: 'available', + // value: "TRUE", + // isMainValue: false + // }, { + // key: 'type', + // value: "type", + // isMainValue: true + // } + // ] + // }, + // }, { label: '申领数量', field: 'qty', diff --git a/src/views/eam/applicationRecord/index.vue b/src/views/eam/applicationRecord/index.vue index 7e81e1ab7..a661723ef 100644 --- a/src/views/eam/applicationRecord/index.vue +++ b/src/views/eam/applicationRecord/index.vue @@ -47,13 +47,13 @@ :isShowAddBtn="false" :detailButtonIsShow="true" /> - + @agree="getList"/> --> @@ -62,12 +62,12 @@