You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.0 KiB
JavaScript
55 lines
1.0 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询托盘信息列表
|
|
export function listBasePalletInfo(query) {
|
|
return request({
|
|
url: '/mes/basePalletInfo/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询托盘信息详细
|
|
export function getBasePalletInfo(palletInfoId) {
|
|
return request({
|
|
url: '/mes/basePalletInfo/' + palletInfoId,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增托盘信息
|
|
export function addBasePalletInfo(data) {
|
|
return request({
|
|
url: '/mes/basePalletInfo',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改托盘信息
|
|
export function updateBasePalletInfo(data) {
|
|
return request({
|
|
url: '/mes/basePalletInfo',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除托盘信息
|
|
export function delBasePalletInfo(palletInfoId) {
|
|
return request({
|
|
url: '/mes/basePalletInfo/' + palletInfoId,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
|
|
|
|
// 打印托盘RFID编码
|
|
export function printPalletInfoCodes(palletInfoCodes) {
|
|
return request({
|
|
url: '/mes/basePalletInfo/printPalletInfoCodes/' + palletInfoCodes,
|
|
method: 'get'
|
|
})
|
|
}
|