fix:模具出入库bug修复
parent
a049c54d7d
commit
152838e14b
@ -1,49 +1,49 @@
|
||||
import request from '@/config/axios'
|
||||
|
||||
// 模具管理-领模申请 VO
|
||||
export interface MoldGetVO {
|
||||
id: number // ID
|
||||
orderId: number // 领模单号
|
||||
code: string // 模具编码
|
||||
name: string // 模具名称
|
||||
state: string // 状态
|
||||
person: string // 领模人
|
||||
deviceId: number // 设备id
|
||||
deviceName: string // 设备名称
|
||||
getTime: Date // 领取时间
|
||||
principal: string // 库管员
|
||||
remark: string // 备注
|
||||
}
|
||||
|
||||
// 模具管理-领模申请 API
|
||||
export const MoldGetApi = {
|
||||
// 查询模具管理-领模申请分页
|
||||
getMoldGetPage: async (params: any) => {
|
||||
return await request.get({ url: `/mes/mold-get/page`, params })
|
||||
},
|
||||
|
||||
// 查询模具管理-领模申请详情
|
||||
getMoldGet: async (id: number) => {
|
||||
return await request.get({ url: `/mes/mold-get/get?id=` + id })
|
||||
},
|
||||
|
||||
// 新增模具管理-领模申请
|
||||
createMoldGet: async (data: MoldGetVO) => {
|
||||
return await request.post({ url: `/mes/mold-get/create`, data })
|
||||
},
|
||||
|
||||
// 修改模具管理-领模申请
|
||||
updateMoldGet: async (data: MoldGetVO) => {
|
||||
return await request.put({ url: `/mes/mold-get/update`, data })
|
||||
},
|
||||
|
||||
// 删除模具管理-领模申请
|
||||
deleteMoldGet: async (id: number) => {
|
||||
return await request.delete({ url: `/mes/mold-get/delete?id=` + id })
|
||||
},
|
||||
|
||||
// 导出模具管理-领模申请 Excel
|
||||
exportMoldGet: async (params) => {
|
||||
return await request.download({ url: `/mes/mold-get/export-excel`, params })
|
||||
},
|
||||
}
|
||||
import request from '@/config/axios'
|
||||
|
||||
// 模具管理-领模申请 VO
|
||||
export interface MoldGetVO {
|
||||
id: number // ID
|
||||
orderId: number // 领模单号
|
||||
code: string // 模具编码
|
||||
name: string // 模具名称
|
||||
state: string // 状态
|
||||
person: string // 领模人
|
||||
deviceId: number // 设备id
|
||||
deviceName: string // 设备名称
|
||||
getTime: Date // 领取时间
|
||||
principal: string // 库管员
|
||||
remark: string // 备注
|
||||
}
|
||||
|
||||
// 模具管理-领模申请 API
|
||||
export const MoldGetApi = {
|
||||
// 查询模具管理-领模申请分页
|
||||
getMoldGetPage: async (params: any) => {
|
||||
return await request.get({ url: `/mes/mold-get/page`, params })
|
||||
},
|
||||
|
||||
// 查询模具管理-领模申请详情
|
||||
getMoldGet: async (id: number) => {
|
||||
return await request.get({ url: `/mes/mold-get/get?id=` + id })
|
||||
},
|
||||
|
||||
// 新增模具管理-领模申请
|
||||
createMoldGet: async (data: MoldGetVO) => {
|
||||
return await request.post({ url: `/mes/mold-get/create`, data })
|
||||
},
|
||||
|
||||
// 修改模具管理-领模申请
|
||||
updateMoldGet: async (data: MoldGetVO) => {
|
||||
return await request.put({ url: `/mes/mold-get/update`, data })
|
||||
},
|
||||
|
||||
// 删除模具管理-领模申请
|
||||
deleteMoldGet: async (id: number) => {
|
||||
return await request.delete({ url: `/mes/mold-get/delete?id=` + id })
|
||||
},
|
||||
|
||||
// 导出模具管理-领模申请 Excel
|
||||
exportMoldGet: async (params) => {
|
||||
return await request.download({ url: `/mes/mold-get/export-excel`, params })
|
||||
},
|
||||
}
|
||||
|
||||
@ -1,47 +1,47 @@
|
||||
import request from '@/config/axios'
|
||||
|
||||
// 模具管理-模具入库 VO
|
||||
export interface MoldReturnVO {
|
||||
id: number // ID
|
||||
orderId: number // 领模单号
|
||||
code: string // 模具编码
|
||||
name: string // 模具名称
|
||||
state: string // 状态
|
||||
person: string // 归还人
|
||||
returnTime: Date // 入库时间
|
||||
principal: string // 库管员
|
||||
remark: string // 备注
|
||||
}
|
||||
|
||||
// 模具管理-模具入库 API
|
||||
export const MoldReturnApi = {
|
||||
// 查询模具管理-模具入库分页
|
||||
getMoldReturnPage: async (params: any) => {
|
||||
return await request.get({ url: `/mes/mold-return/page`, params })
|
||||
},
|
||||
|
||||
// 查询模具管理-模具入库详情
|
||||
getMoldReturn: async (id: number) => {
|
||||
return await request.get({ url: `/mes/mold-return/get?id=` + id })
|
||||
},
|
||||
|
||||
// 新增模具管理-模具入库
|
||||
createMoldReturn: async (data: MoldReturnVO) => {
|
||||
return await request.post({ url: `/mes/mold-return/create`, data })
|
||||
},
|
||||
|
||||
// 修改模具管理-模具入库
|
||||
updateMoldReturn: async (data: MoldReturnVO) => {
|
||||
return await request.put({ url: `/mes/mold-return/update`, data })
|
||||
},
|
||||
|
||||
// 删除模具管理-模具入库
|
||||
deleteMoldReturn: async (id: number) => {
|
||||
return await request.delete({ url: `/mes/mold-return/delete?id=` + id })
|
||||
},
|
||||
|
||||
// 导出模具管理-模具入库 Excel
|
||||
exportMoldReturn: async (params) => {
|
||||
return await request.download({ url: `/mes/mold-return/export-excel`, params })
|
||||
},
|
||||
}
|
||||
import request from '@/config/axios'
|
||||
|
||||
// 模具管理-模具入库 VO
|
||||
export interface MoldReturnVO {
|
||||
id: number // ID
|
||||
orderId: number // 领模单号
|
||||
code: string // 模具编码
|
||||
name: string // 模具名称
|
||||
state: string // 状态
|
||||
person: string // 归还人
|
||||
returnTime: Date // 入库时间
|
||||
principal: string // 库管员
|
||||
remark: string // 备注
|
||||
}
|
||||
|
||||
// 模具管理-模具入库 API
|
||||
export const MoldReturnApi = {
|
||||
// 查询模具管理-模具入库分页
|
||||
getMoldReturnPage: async (params: any) => {
|
||||
return await request.get({ url: `/mes/mold-return/page`, params })
|
||||
},
|
||||
|
||||
// 查询模具管理-模具入库详情
|
||||
getMoldReturn: async (id: number) => {
|
||||
return await request.get({ url: `/mes/mold-return/get?id=` + id })
|
||||
},
|
||||
|
||||
// 新增模具管理-模具入库
|
||||
createMoldReturn: async (data: MoldReturnVO) => {
|
||||
return await request.post({ url: `/mes/mold-return/create`, data })
|
||||
},
|
||||
|
||||
// 修改模具管理-模具入库
|
||||
updateMoldReturn: async (data: MoldReturnVO) => {
|
||||
return await request.put({ url: `/mes/mold-return/update`, data })
|
||||
},
|
||||
|
||||
// 删除模具管理-模具入库
|
||||
deleteMoldReturn: async (id: number) => {
|
||||
return await request.delete({ url: `/mes/mold-return/delete?id=` + id })
|
||||
},
|
||||
|
||||
// 导出模具管理-模具入库 Excel
|
||||
exportMoldReturn: async (params) => {
|
||||
return await request.download({ url: `/mes/mold-return/export-excel`, params })
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue