You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
393 lines
7.6 KiB
393 lines
7.6 KiB
import request from '@/axios'; |
|
|
|
export const getList = (current, size, params) => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/list', |
|
method: 'get', |
|
params: { |
|
...params, |
|
current, |
|
size, |
|
}, |
|
}); |
|
}; |
|
export const getPage = (current, size, params) => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/page', |
|
method: 'get', |
|
params: { |
|
...params, |
|
current, |
|
size, |
|
}, |
|
}); |
|
}; |
|
|
|
export const getClientPage = (current, size, params) => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/clientPage', |
|
method: 'get', |
|
params: { |
|
...params, |
|
current, |
|
size, |
|
}, |
|
}); |
|
}; |
|
|
|
/** |
|
* 待 导出 |
|
* @param row |
|
* @returns {AxiosPromise} |
|
*/ |
|
export const getSignforExport = row => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/export-distributionSignfor', |
|
method: 'get', |
|
params: { |
|
...row, |
|
}, |
|
responseType: 'blob', |
|
}); |
|
}; |
|
|
|
/** |
|
* 查看配送数量详情 |
|
* @param row |
|
* @returns {AxiosPromise} |
|
*/ |
|
export const numberDetail = (signingId, type) => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/numberDetail', |
|
method: 'get', |
|
params: { |
|
signingId, |
|
type, |
|
}, |
|
}); |
|
}; |
|
/** |
|
* 已 导出 |
|
* @param row |
|
* @returns {AxiosPromise} |
|
*/ |
|
export const getSignforExportOwn = row => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/export-distributionSignforOwn', |
|
method: 'get', |
|
params: { |
|
...row, |
|
}, |
|
responseType: 'blob', |
|
}); |
|
}; |
|
/** |
|
* 签收图片下载 |
|
* @param row |
|
* @returns {AxiosPromise} |
|
*/ |
|
export const handlePicture = ids => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/handlePicture', |
|
method: 'get', |
|
params: { |
|
ids, |
|
}, |
|
responseType: 'blob', |
|
}); |
|
}; |
|
|
|
export const getListOrder = (current, size, params) => { |
|
return request({ |
|
url: '/api/logpm-distribution/reservationStockarticle/orderpage', |
|
method: 'get', |
|
params: { |
|
...params, |
|
current, |
|
size, |
|
}, |
|
}); |
|
}; |
|
|
|
export const getstatistics = (current, size, params) => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/statistics', |
|
method: 'get', |
|
params: { |
|
...params, |
|
current, |
|
size, |
|
}, |
|
}); |
|
}; |
|
|
|
export const getDetail = id => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/detail', |
|
method: 'get', |
|
params: { |
|
id, |
|
}, |
|
}); |
|
}; |
|
|
|
export const getDetailById = id => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/detailById', |
|
method: 'get', |
|
params: { |
|
id, |
|
}, |
|
}); |
|
}; |
|
|
|
export const remove = ids => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/remove', |
|
method: 'post', |
|
params: { |
|
ids, |
|
}, |
|
}); |
|
}; |
|
|
|
export const add = row => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/submit', |
|
method: 'post', |
|
data: row, |
|
}); |
|
}; |
|
export const getOneclickq = data => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/oneclick', |
|
method: 'post', |
|
data: data, |
|
}); |
|
}; |
|
|
|
export const deliveryPicture = data => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/signforackPC', |
|
method: 'post', |
|
data: data, |
|
}); |
|
}; |
|
export const update = row => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/update', |
|
method: 'post', |
|
data: row, |
|
}); |
|
}; |
|
|
|
export const recheck = row => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/update', |
|
method: 'post', |
|
data: row, |
|
}); |
|
}; |
|
|
|
export const loadingAbnormalPackageListDetail = signId => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/loadingAbnormalPackageListDetail', |
|
method: 'get', |
|
params: { |
|
signId, |
|
}, |
|
}); |
|
}; |
|
/** |
|
* 审核异常包件 |
|
* @param signId |
|
* @returns {AxiosPromise} |
|
*/ |
|
export const loadingAbnormalPackageListAuditing = ids => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/loadingAbnormalPackageListAuditing', |
|
method: 'post', |
|
params: { |
|
ids, |
|
}, |
|
}); |
|
}; |
|
|
|
export const signforPackageList = signforId => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/signforPackageList', |
|
method: 'get', |
|
params: { |
|
signforId, |
|
}, |
|
}); |
|
}; |
|
/** |
|
* 查询签收库存品信息 |
|
* @param signforId |
|
* @returns {AxiosPromise} |
|
*/ |
|
export const signforInventoryList = signforId => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/signforInventoryList', |
|
method: 'get', |
|
params: { |
|
signforId, |
|
}, |
|
}); |
|
}; |
|
|
|
export const getLocationAddress = signforId => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/getLocationAddress', |
|
method: 'get', |
|
params: { |
|
signforId, |
|
}, |
|
}); |
|
}; |
|
|
|
/** |
|
* 查询对应的增值服务列表信息 |
|
* @param row |
|
* @returns {AxiosPromise} |
|
*/ |
|
export const addvalueInfoList = row => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/addvalueInfoList', |
|
method: 'post', |
|
data: row, |
|
}); |
|
}; |
|
|
|
/** |
|
* 签收增值服务弹窗 |
|
* @param params |
|
* @returns {AxiosPromise} |
|
*/ |
|
export const $_checkAddValuePackageList = params => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/checkAddValuePackageList', |
|
method: 'get', |
|
params, |
|
}); |
|
}; |
|
|
|
/** |
|
* 添加增值服务包件 |
|
* @param params |
|
* @returns {AxiosPromise} |
|
*/ |
|
export const $_saveSignAddValuePackage = data => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/saveSignAddValuePackage', |
|
method: 'post', |
|
data, |
|
}); |
|
}; |
|
|
|
/** |
|
* 取消增值服务包件 |
|
* @param params |
|
* @returns {AxiosPromise} |
|
*/ |
|
export const $_cancelSignAddValuePackage = data => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/cancelSignAddValuePackage', |
|
method: 'post', |
|
data, |
|
}); |
|
}; |
|
|
|
/** |
|
* 新增增值服务包件 |
|
* @param params |
|
* @returns {AxiosPromise} |
|
*/ |
|
export const $_updateSignAddValuePackage = data => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/updateSignAddValuePackage', |
|
method: 'post', |
|
data, |
|
}); |
|
}; |
|
|
|
/** |
|
* 查询配送节点 |
|
* @returns {AxiosPromise} |
|
*/ |
|
export const searchNode = (searchType, searchCode) => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/searchNode', |
|
method: 'get', |
|
params: { |
|
searchType, |
|
searchCode, |
|
}, |
|
}); |
|
}; |
|
|
|
export const $_isSignt = params => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/isSign', |
|
method: 'get', |
|
params, |
|
}); |
|
}; |
|
|
|
export const $_getReservationZeroPackageList = params => { |
|
return request({ |
|
url: '/api/logpm-distribution/deliveryList/getReservationZeroPackageList', |
|
method: 'get', |
|
params, |
|
}); |
|
}; |
|
// 包件列表导出 |
|
export const $_distributionSignforPackageList = data => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/export-distributionSignforPackageList', |
|
method: 'post', |
|
data, |
|
responseType: 'blob', |
|
}); |
|
}; |
|
// 库存品导出(3-1) |
|
|
|
export const $_distributionSignforDetailExcel = params => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/export-distributionSignforDetailExcel', |
|
method: 'get', |
|
params, |
|
responseType: 'blob', |
|
}); |
|
}; |
|
// 订单导出 |
|
export const $_distributionSignforOrderList = data => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/export-distributionSignforOrderList', |
|
method: 'post', |
|
data, |
|
responseType: 'blob', |
|
}); |
|
}; |
|
|
|
/** |
|
* 获取签收全部数据汇总 |
|
* @param {*} data |
|
* @returns |
|
*/ |
|
export const postPageCount = params => { |
|
return request({ |
|
url: '/api/logpm-distribution/signfor/pageCount', |
|
method: 'get', |
|
params, |
|
}); |
|
}; |
|
//滞留 |
|
export const $_retentionScan = data => { |
|
return request({ |
|
url: '/api/logpm-distribution/deliveryList/retentionPC', |
|
method: 'post', |
|
data, |
|
}); |
|
}; |