From e7fd0388eca7786aa66fa8677cf113e613f17aed Mon Sep 17 00:00:00 2001 From: ljlong_2630 Date: Fri, 1 Mar 2024 16:14:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85=E9=97=AE=E9=A2=98=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../deviceMaintainOrderMain.data.ts | 8 -------- .../moldmaintainjob/moldMaintainOrderMain.data.ts | 13 ------------- 2 files changed, 21 deletions(-) diff --git a/src/views/eam/device/devicemaintainjob/deviceMaintainOrderMain.data.ts b/src/views/eam/device/devicemaintainjob/deviceMaintainOrderMain.data.ts index 3536fd3..940b604 100644 --- a/src/views/eam/device/devicemaintainjob/deviceMaintainOrderMain.data.ts +++ b/src/views/eam/device/devicemaintainjob/deviceMaintainOrderMain.data.ts @@ -30,12 +30,6 @@ export const DeviceMaintainOrderMain = useCrudSchemas(reactive([ width: '150', }, }, - // { - // label: '名称', - // field: 'name', - // sort: 'custom', - // isSearch: true, - // }, { label: '保养计划单号', field: 'planNumber', @@ -423,7 +417,6 @@ export const DeviceMaintainOrderDetail = useCrudSchemas(reactive([ searchPage: ItemApi.getItemList, tableSelectionChange: (value) => { console.log('value', value) - // tableData.value.itemNumbers1 = value.map(item => item.itemNumber) }, searchCondition: [{ key: 'deviceNumber', @@ -433,7 +426,6 @@ export const DeviceMaintainOrderDetail = useCrudSchemas(reactive([ }] }, form: { - // labelMessage: '信息提示说明!!!', componentProps: { isSearchList: true, // 开启查询弹窗 searchListPlaceholder: '请选择备件', // 输入框占位文本 diff --git a/src/views/eam/mold/moldmaintainjob/moldMaintainOrderMain.data.ts b/src/views/eam/mold/moldmaintainjob/moldMaintainOrderMain.data.ts index f3a5587..3d3f1a5 100644 --- a/src/views/eam/mold/moldmaintainjob/moldMaintainOrderMain.data.ts +++ b/src/views/eam/mold/moldmaintainjob/moldMaintainOrderMain.data.ts @@ -1,19 +1,12 @@ import type { CrudSchema } from '@/hooks/web/useCrudSchemas' import { selectAllFactoryArea } from '@/api/system/dept' -import * as MoldAccountsApi from '@/api/eam/mold/moldAccounts' -import { useUserStore } from '@/store/modules/user' import { selecUserByType } from '@/api/system/dept' -import * as MoldMaintenanceMainApi from '@/api/eam/mold/moldMaintenanceMain' import { dateFormatter } from '@/utils/formatTime' import { ItemSearchTable } from '../../basic/item/item.data' import * as ItemApi from '@/api/eam/basic/item' -const userStore = useUserStore() const factoryList = await selectAllFactoryArea() -const moldList = await MoldAccountsApi.getMoldAccountsNoPage({}) const userList = await selecUserByType({ classType: 'MOLD', factoryAreaNumber: undefined, flag: 1 }) const dutyUserList = await selecUserByType({ classType: 'MOLD', factoryAreaNumber: undefined, flag: undefined }) -const engineerList = await selecUserByType({ classType: 'MOLD', factoryAreaNumber: undefined, flag: 2}) -const repairList = await MoldMaintenanceMainApi.getMoldMainTempList('MOLD') // 表单校验 export const MoldMaintainOrderMainRules = reactive({ @@ -37,12 +30,6 @@ export const MoldMaintainOrderMain = useCrudSchemas(reactive([ width: '150', }, }, - // { - // label: '名称', - // field: 'name', - // sort: 'custom', - // isSearch: true, - // }, { label: '保养计划单号', field: 'planNumber',