Files
rd_mes_uniapp_deprecated/api/srm/antiCrossCargo.js
2025-11-17 10:01:33 +08:00

47 lines
1009 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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',
})
}