Browse Source

打包问题处理

master
ljlong_2630 9 months ago
parent
commit
e7fd0388ec
  1. 8
      src/views/eam/device/devicemaintainjob/deviceMaintainOrderMain.data.ts
  2. 13
      src/views/eam/mold/moldmaintainjob/moldMaintainOrderMain.data.ts

8
src/views/eam/device/devicemaintainjob/deviceMaintainOrderMain.data.ts

@ -30,12 +30,6 @@ export const DeviceMaintainOrderMain = useCrudSchemas(reactive<CrudSchema[]>([
width: '150',
},
},
// {
// label: '名称',
// field: 'name',
// sort: 'custom',
// isSearch: true,
// },
{
label: '保养计划单号',
field: 'planNumber',
@ -423,7 +417,6 @@ export const DeviceMaintainOrderDetail = useCrudSchemas(reactive<CrudSchema[]>([
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<CrudSchema[]>([
}]
},
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择备件', // 输入框占位文本

13
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<CrudSchema[]>([
width: '150',
},
},
// {
// label: '名称',
// field: 'name',
// sort: 'custom',
// isSearch: true,
// },
{
label: '保养计划单号',
field: 'planNumber',

Loading…
Cancel
Save