Files
rd_mes_uniapp/api/srm/antiCrossCargo.js

47 lines
1009 B
JavaScript
Raw Normal View History

2025-12-18 14:11:48 +08:00
import request from '@/utils/request'
// 查询客户列表
export function listCustomer(query) {
return request({
url: '/basic/customer/list',
method: 'get',
params: query
})
}
// 查询客户详细
export function getCustomer(id) {
return request({
url: '/basic/customer/' + id,
method: 'get'
})
}
// 新增经销商防串货登记
export function addAntiChannelRecord(data) {
return request({
url: '/basic/antiChannelRecord',
method: 'post',
data: data
})
}
let data = {
pieceNo : '325423w32r4dw23-0001-2'
}
// 防串货查询
export function handleQuery(ACno) {
return request({
url: '/basic/antiChannelRecord/handleQuery',
method: 'post',
data: ACno
})
}
//防串货检索信息 code分别为批号、箱号、件号 其中type1批号2箱号3件号
export function searchByCode(code,type) {
return request({
url: '/mes/stockPiece/searchByCode/'+code+'/'+type,
method: 'get',
})
}