diff --git a/src/api/eam/item/itemLocationInRecord/index.ts b/src/api/eam/item/itemLocationInRecord/index.ts
deleted file mode 100644
index b097160..0000000
--- a/src/api/eam/item/itemLocationInRecord/index.ts
+++ /dev/null
@@ -1,56 +0,0 @@
-import request from '@/config/axios'
-
-export interface ItemLocationInRecordVO {
- itemNumber: string
- locationNumber: string
- transactionType: string
- inventoryAction: string
- businessType: string
- inventoryStatus: string
- uom: string
- qty: number
- siteId: string
- available: string
- concurrencyStamp: number
-}
-
-// 查询备件库存记录列表
-export const getItemLocationInRecordPage = async (params) => {
- if (params.isSearch) {
- delete params.isSearch
- const data = {...params}
- return await request.post({ url: '/eam/item-location-record/senior', data })
- } else {
- return await request.get({ url: `/eam/item-location-record/page`, params })
- }
-}
-
-// 查询备件库存记录详情
-export const getItemLocationInRecord = async (id: number) => {
- return await request.get({ url: `/eam/item-location-record/get?id=` + id })
-}
-
-// 新增备件库存记录
-export const createItemLocationInRecord = async (data: ItemLocationInRecordVO) => {
- return await request.post({ url: `/eam/item-location-record/create`, data })
-}
-
-// 修改备件库存记录
-export const updateItemLocationInRecord = async (data: ItemLocationInRecordVO) => {
- return await request.put({ url: `/eam/item-location-record/update`, data })
-}
-
-// 删除备件库存记录
-export const deleteItemLocationInRecord = async (id: number) => {
- return await request.delete({ url: `/eam/item-location-record/delete?id=` + id })
-}
-
-// 导出备件库存记录 Excel
-export const exportItemLocationInRecord = async (params) => {
- return await request.download({ url: `/eam/item-location-record/export-excel`, params })
-}
-
-// 下载用户导入模板
-export const importTemplate = () => {
- return request.download({ url: '/eam/item-location-record/get-import-template' })
-}
\ No newline at end of file
diff --git a/src/api/eam/item/itemLocationOutRecord/index.ts b/src/api/eam/item/itemLocationOutRecord/index.ts
deleted file mode 100644
index aab3d8d..0000000
--- a/src/api/eam/item/itemLocationOutRecord/index.ts
+++ /dev/null
@@ -1,56 +0,0 @@
-import request from '@/config/axios'
-
-export interface ItemLocationOutRecordVO {
- itemNumber: string
- locationNumber: string
- transactionType: string
- inventoryAction: string
- businessType: string
- inventoryStatus: string
- uom: string
- qty: number
- siteId: string
- available: string
- concurrencyStamp: number
-}
-
-// 查询备件库存记录列表
-export const getItemLocationOutRecordPage = async (params) => {
- if (params.isSearch) {
- delete params.isSearch
- const data = {...params}
- return await request.post({ url: '/eam/item-location-record/senior', data })
- } else {
- return await request.get({ url: `/eam/item-location-record/page`, params })
- }
-}
-
-// 查询备件库存记录详情
-export const getItemLocationOutRecord = async (id: number) => {
- return await request.get({ url: `/eam/item-location-record/get?id=` + id })
-}
-
-// 新增备件库存记录
-export const createItemLocationOutRecord = async (data: ItemLocationOutRecordVO) => {
- return await request.post({ url: `/eam/item-location-record/create`, data })
-}
-
-// 修改备件库存记录
-export const updateItemLocationOutRecord = async (data: ItemLocationOutRecordVO) => {
- return await request.put({ url: `/eam/item-location-record/update`, data })
-}
-
-// 删除备件库存记录
-export const deleteItemLocationOutRecord = async (id: number) => {
- return await request.delete({ url: `/eam/item-location-record/delete?id=` + id })
-}
-
-// 导出备件库存记录 Excel
-export const exportItemLocationOutRecord = async (params) => {
- return await request.download({ url: `/eam/item-location-record/export-excel`, params })
-}
-
-// 下载用户导入模板
-export const importTemplate = () => {
- return request.download({ url: '/eam/item-location-record/get-import-template' })
-}
\ No newline at end of file
diff --git a/src/views/eam/item/itemLocationInRecord/index.vue b/src/views/eam/item/itemLocationInRecord/index.vue
deleted file mode 100644
index 4fa16be..0000000
--- a/src/views/eam/item/itemLocationInRecord/index.vue
+++ /dev/null
@@ -1,244 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ row.code }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/eam/item/itemLocationInRecord/itemLocationInRecord.data.ts b/src/views/eam/item/itemLocationInRecord/itemLocationInRecord.data.ts
deleted file mode 100644
index 87646b0..0000000
--- a/src/views/eam/item/itemLocationInRecord/itemLocationInRecord.data.ts
+++ /dev/null
@@ -1,134 +0,0 @@
-import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
-import { dateFormatter } from '@/utils/formatTime'
-
-// 表单校验
-export const ItemLocationInRecordRules = reactive({
- itemNumber: [required],
- locationNumber: [required],
- inventoryAction: [required],
- businessType: [required],
- uom: [required],
- concurrencyStamp: [required],
-})
-
-export const ItemLocationInRecord = useCrudSchemas(reactive([
- {
- label: '归还编号',
- field: 'itemNumber',
- sort: 'custom',
- isSearch: true,
- },
- {
- label: '库存编码',
- field: 'locationNumber',
- sort: 'custom',
- },
- {
- label: '事务类型',
- field: 'transactionType',
- dictType: DICT_TYPE.TRANSACTION_TYPE,
- dictClass: 'string',
- isSearch: false,
- isTable: true,
- sort: 'custom',
- table: {
- width: 150
- },
- tableForm: {
- type: 'Select',
- inactiveValue: 'FALSE',
- disabled: true
- },
- form: {
- component: 'Switch',
- value: 'TRUE',
- componentProps: {
- inactiveValue: 'FALSE',
- activeValue: 'TRUE'
- }
- }
- },
- {
- label: '库存动作',
- field: 'inventoryAction',
- sort: 'custom',
- isSearch: false,
- },
- {
- label: '业务类型',
- field: 'businessType',
- sort: 'custom',
- isSearch: false,
- form: {
- component: 'Select'
- },
- },
- {
- label: '库存状态',
- field: 'inventoryStatus',
- sort: 'custom',
- form: {
- component: 'Radio'
- },
- },
- {
- label: '计量单位',
- field: 'uom',
- sort: 'custom',
- },
- {
- label: '数量',
- field: 'qty',
- sort: 'custom',
- },
- {
- label: '创建时间',
- field: 'createTime',
- sort: 'custom',
- formatter: dateFormatter,
- isSearch: false,
- search: {
- component: 'DatePicker',
- componentProps: {
- valueFormat: 'YYYY-MM-DD HH:mm:ss',
- type: 'daterange',
- defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
- }
- },
- isForm: false,
- },
- {
- label: '是否可用',
- field: 'available',
- dictType: DICT_TYPE.TRUE_FALSE,
- dictClass: 'string',
- isSearch: false,
- isTable: true,
- sort: 'custom',
- table: {
- width: 150
- },
- tableForm: {
- type: 'Select',
- inactiveValue: 'FALSE',
- disabled: true
- },
- form: {
- component: 'Switch',
- value: 'TRUE',
- componentProps: {
- inactiveValue: 'FALSE',
- activeValue: 'TRUE'
- }
- }
- },
- {
- label: '操作',
- field: 'action',
- isForm: false,
- table: {
- width: 150,
- fixed: 'right'
- }
- }
-]))
diff --git a/src/views/eam/item/itemLocationOutRecord/index.vue b/src/views/eam/item/itemLocationOutRecord/index.vue
deleted file mode 100644
index e23be63..0000000
--- a/src/views/eam/item/itemLocationOutRecord/index.vue
+++ /dev/null
@@ -1,244 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ row.code }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/eam/item/itemLocationOutRecord/itemLocationOutRecord.data.ts b/src/views/eam/item/itemLocationOutRecord/itemLocationOutRecord.data.ts
deleted file mode 100644
index 6daca45..0000000
--- a/src/views/eam/item/itemLocationOutRecord/itemLocationOutRecord.data.ts
+++ /dev/null
@@ -1,135 +0,0 @@
-import type { CrudSchema } from '@/hooks/web/useCrudSchemas'
-import { dateFormatter } from '@/utils/formatTime'
-
-// 表单校验
-export const ItemLocationOutRecordRules = reactive({
- itemNumber: [required],
- locationNumber: [required],
- inventoryAction: [required],
- businessType: [required],
- uom: [required],
- concurrencyStamp: [required],
-})
-
-export const ItemLocationOutRecord = useCrudSchemas(reactive([
- {
- label: '出库编号',
- field: 'itemNumber',
- sort: 'custom',
- isSearch: true,
- },
- {
- label: '库存编码',
- field: 'locationNumber',
- sort: 'custom',
- },
-
- {
- label: '事务类型',
- field: 'transactionType',
- dictType: DICT_TYPE.TRANSACTION_TYPE,
- dictClass: 'string',
- isSearch: false,
- isTable: true,
- sort: 'custom',
- table: {
- width: 150
- },
- tableForm: {
- type: 'Select',
- inactiveValue: 'FALSE',
- disabled: true
- },
- form: {
- component: 'Switch',
- value: 'TRUE',
- componentProps: {
- inactiveValue: 'FALSE',
- activeValue: 'TRUE'
- }
- }
- },
- {
- label: '库存动作',
- field: 'inventoryAction',
- sort: 'custom',
- isSearch: false,
- },
- {
- label: '业务类型',
- field: 'businessType',
- sort: 'custom',
- isSearch: false,
- form: {
- component: 'Select'
- },
- },
- {
- label: '库存状态',
- field: 'inventoryStatus',
- sort: 'custom',
- form: {
- component: 'Radio'
- },
- },
- {
- label: '计量单位',
- field: 'uom',
- sort: 'custom',
- },
- {
- label: '数量',
- field: 'qty',
- sort: 'custom',
- },
- {
- label: '创建时间',
- field: 'createTime',
- sort: 'custom',
- formatter: dateFormatter,
- isSearch: false,
- search: {
- component: 'DatePicker',
- componentProps: {
- valueFormat: 'YYYY-MM-DD HH:mm:ss',
- type: 'daterange',
- defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
- }
- },
- isForm: false,
- },
- {
- label: '是否可用',
- field: 'available',
- dictType: DICT_TYPE.TRUE_FALSE,
- dictClass: 'string',
- isSearch: false,
- isTable: true,
- sort: 'custom',
- table: {
- width: 150
- },
- tableForm: {
- type: 'Select',
- inactiveValue: 'FALSE',
- disabled: true
- },
- form: {
- component: 'Switch',
- value: 'TRUE',
- componentProps: {
- inactiveValue: 'FALSE',
- activeValue: 'TRUE'
- }
- }
- },
- {
- label: '操作',
- field: 'action',
- isForm: false,
- table: {
- width: 150,
- fixed: 'right'
- }
- }
-]))