2024-11-19 11:20:59 +08:00
|
|
|
import { http } from '@/utils/http'
|
|
|
|
|
|
|
|
|
|
/**
|
2024-11-19 16:27:00 +08:00
|
|
|
* 领料出库 ---- 列表查询
|
2024-11-19 11:20:59 +08:00
|
|
|
*/
|
|
|
|
|
export const getPickingOutboundListAPI = (data) => {
|
|
|
|
|
return http({
|
|
|
|
|
method: 'GET',
|
|
|
|
|
url: '/material/lease_apply_info/list',
|
|
|
|
|
data,
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-11-19 14:52:39 +08:00
|
|
|
/**
|
2025-01-14 10:02:12 +08:00
|
|
|
* 领料出库 ---- 任务详情
|
2024-11-19 14:52:39 +08:00
|
|
|
*/
|
2025-01-17 15:58:54 +08:00
|
|
|
export const getOutboundDetailsAPI = (id,keyWord) => {
|
2024-11-19 14:52:39 +08:00
|
|
|
return http({
|
|
|
|
|
method: 'GET',
|
2025-01-17 15:58:54 +08:00
|
|
|
url: `/material/lease_apply_info/${id}?keyWord=${keyWord}`,
|
2024-11-19 14:52:39 +08:00
|
|
|
})
|
|
|
|
|
}
|
2024-11-19 16:27:00 +08:00
|
|
|
/**
|
2025-01-14 10:02:12 +08:00
|
|
|
* 领料出库 ---- 物资详情
|
|
|
|
|
*/
|
|
|
|
|
export const getCodeDetailAPI = (data) => {
|
|
|
|
|
return http({
|
|
|
|
|
method: 'GET',
|
|
|
|
|
url: `/material/lease_apply_info/getInnerById`,
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 领料出库 ---- 查看详情
|
|
|
|
|
*/
|
|
|
|
|
export const getDetailsByIdApi = (data) => {
|
|
|
|
|
return http({
|
|
|
|
|
method: 'GET',
|
|
|
|
|
url: `/material/lease_apply_info/getDetailsById`,
|
|
|
|
|
data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 领料出库 ---- 出库
|
2024-11-19 16:27:00 +08:00
|
|
|
*/
|
|
|
|
|
export const setOutboundNumAPI = (data) => {
|
|
|
|
|
return http({
|
|
|
|
|
method: 'POSt',
|
|
|
|
|
url: '/material/lease_apply_info/leaseOut',
|
|
|
|
|
data,
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-11-19 18:07:40 +08:00
|
|
|
/**
|
|
|
|
|
* 领料出库 ---- 编码出库 ---- 获取编码设备列表
|
|
|
|
|
*/
|
|
|
|
|
export const getCodeDeviceListAPI = (data) => {
|
2024-12-26 18:36:11 +08:00
|
|
|
return http({
|
|
|
|
|
method: 'GET',
|
|
|
|
|
url: '/material/ma_machine/list',
|
|
|
|
|
data,
|
|
|
|
|
})
|
|
|
|
|
}
|
2025-01-14 10:02:12 +08:00
|
|
|
//
|
2024-12-26 18:36:11 +08:00
|
|
|
export const getCodeScanAPI = (data) => {
|
2024-11-19 18:07:40 +08:00
|
|
|
return http({
|
|
|
|
|
method: 'GET',
|
2024-12-26 15:51:32 +08:00
|
|
|
url: '/material/lease_apply_info/getInfoByQrcode',
|
2024-11-19 18:07:40 +08:00
|
|
|
data,
|
|
|
|
|
})
|
|
|
|
|
}
|
2025-01-14 10:02:12 +08:00
|
|
|
//出库退回
|
|
|
|
|
export const leaseOutBackApi = (data) => {
|
|
|
|
|
return http({
|
|
|
|
|
method: 'POSt',
|
|
|
|
|
url: '/material/lease_apply_info/leaseOutBack',
|
|
|
|
|
data,
|
|
|
|
|
})
|
|
|
|
|
}
|