devicesmgt/sgzb-ui/src/api/store/putInStore.js

89 lines
1.5 KiB
JavaScript
Raw Normal View History

2024-03-26 16:24:39 +08:00
import request from '@/utils/request'
//机具退料入库
export function getReturnOfMaterialsInfoAll(query) {
2024-05-28 16:54:30 +08:00
return request({
url: '/material/inventoryAndWarehousing/getList',
method: 'get',
params: query
})
}
2024-03-26 16:24:39 +08:00
//机具退料入库--机具类型,规格型号下拉数据
export function getTypeList(query) {
2024-05-28 16:54:30 +08:00
return request({
url: '/material/returnOfMaterialsInfo/getTypeList',
method: 'get',
params: query
})
}
2024-03-26 16:24:39 +08:00
//修试后入库--列表
export function getRepairedList(data) {
2024-05-28 16:54:30 +08:00
return request({
url: '/material/RepairTestInput/getRepairedList',
method: 'get',
params: data
})
}
2024-03-26 16:24:39 +08:00
//修试后入库--详情
export function getRepairedDetailList(data) {
2024-05-28 16:54:30 +08:00
return request({
url: '/material//RepairTestInput/getRepairedDetailList',
method: 'get',
params: data
})
}
//修试后入库--审核
2024-03-26 16:24:39 +08:00
export function inputByType(data) {
2024-05-28 16:54:30 +08:00
return request({
url: '/material/RepairTestInput/inputByType',
method: 'post',
data: data
})
}
2024-03-26 16:24:39 +08:00
2024-03-27 15:56:31 +08:00
// 获取 设备树
2024-05-28 16:54:30 +08:00
export function getDeviceTypeTree(params = {}) {
2024-03-27 15:56:31 +08:00
return request({
2024-10-30 16:02:29 +08:00
url: '/material/select/getDeviceTypeTree',
2024-03-27 15:56:31 +08:00
method: 'post',
data: params
})
}
2024-03-29 15:18:28 +08:00
// 提交编码入库
export function inputByCode(data) {
return request({
url: '/material/inventoryAndWarehousing/addList',
method: 'post',
data: data
})
}
2024-03-26 16:24:39 +08:00
2024-05-28 16:54:30 +08:00
// 查看盘点入库详情接口
export const getInventoryWarehousingApi = (data) => {
return request.get(`/material/inventoryAndWarehousing/getDetail`, {
params: data
})
}
2024-03-26 16:24:39 +08:00