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

82 lines
1.4 KiB
JavaScript
Raw Normal View History

2024-03-26 16:24:39 +08:00
import request from '@/utils/request'
//机具退料入库
export function getReturnOfMaterialsInfoAll(query) {
return request({
2024-04-17 15:04:37 +08:00
url: '/material/inventoryAndWarehousing/getList',
2024-03-26 16:24:39 +08:00
method: 'get',
params: query
})
}
//机具退料入库--机具类型,规格型号下拉数据
export function getTypeList(query) {
return request({
url: '/material/returnOfMaterialsInfo/getTypeList',
method: 'get',
params: query
})
}
//修试后入库--列表
export function getRepairedList(data) {
return request({
url: '/material/RepairTestInput/getRepairedList',
method: 'get',
params: data
})
}
//修试后入库--详情
export function getRepairedDetailList(data) {
return request({
url: '/material//RepairTestInput/getRepairedDetailList',
method: 'get',
params: data
})
}
//修试后入库--审核
export function inputByType(data) {
return request({
url: '/material/RepairTestInput/inputByType',
method: 'post',
data: data
})
}
2024-03-27 15:56:31 +08:00
// 获取 设备树
export function getDeviceTypeTree(params = {}){
return request({
url: '/system/select/getDeviceTypeTree',
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