You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
2.0 KiB
66 lines
2.0 KiB
import request from '@/config/axios'
|
|
|
|
export interface DismantleRecordDetailbVO {
|
|
processCode: string
|
|
bomVersion: string
|
|
batch: string
|
|
toLocationCode: string
|
|
toLocationGroupCode: string
|
|
toAreaCode: string
|
|
inventoryStatus: string
|
|
packingNumber: string
|
|
number: string
|
|
itemCode: string
|
|
remark: string
|
|
createTime: Date
|
|
creator: string
|
|
itemName: string
|
|
itemDesc1: string
|
|
itemDesc2: string
|
|
projectCode: string
|
|
uom: string
|
|
code: string
|
|
interfaceType: string
|
|
jobDetailId: string
|
|
}
|
|
|
|
// 查询制品拆解记录子列表
|
|
export const getDismantleRecordDetailbPage = async (params) => {
|
|
if (params.isSearch) {
|
|
delete params.isSearch
|
|
const data = {...params}
|
|
return await request.post({ url: '/wms/dismantle-record-detailb/senior', data })
|
|
} else {
|
|
return await request.get({ url: `/wms/dismantle-record-detailb/page`, params })
|
|
}
|
|
}
|
|
|
|
// 查询制品拆解记录子详情
|
|
export const getDismantleRecordDetailb = async (id: number) => {
|
|
return await request.get({ url: `/wms/dismantle-record-detailb/get?id=` + id })
|
|
}
|
|
|
|
// 新增制品拆解记录子
|
|
export const createDismantleRecordDetailb = async (data: DismantleRecordDetailbVO) => {
|
|
return await request.post({ url: `/wms/dismantle-record-detailb/create`, data })
|
|
}
|
|
|
|
// 修改制品拆解记录子
|
|
export const updateDismantleRecordDetailb = async (data: DismantleRecordDetailbVO) => {
|
|
return await request.put({ url: `/wms/dismantle-record-detailb/update`, data })
|
|
}
|
|
|
|
// 删除制品拆解记录子
|
|
export const deleteDismantleRecordDetailb = async (id: number) => {
|
|
return await request.delete({ url: `/wms/dismantle-record-detailb/delete?id=` + id })
|
|
}
|
|
|
|
// 导出制品拆解记录子 Excel
|
|
export const exportDismantleRecordDetailb = async (params) => {
|
|
return await request.download({ url: `/wms/dismantle-record-detailb/export-excel`, params })
|
|
}
|
|
|
|
// 下载用户导入模板
|
|
export const importTemplate = () => {
|
|
return request.download({ url: '/wms/dismantle-record-detailb/get-import-template' })
|
|
}
|