|
@@ -6,8 +6,8 @@ export const deleteBatch = (params) => {
|
|
|
url: '/dispatch/detail/deleteBatch',
|
|
|
data: params,
|
|
|
method: 'post',
|
|
|
- headers:{
|
|
|
- 'module': encodeURIComponent(params.dispatchBillDetailList.length==1?'删除':'批量删除')
|
|
|
+ headers: {
|
|
|
+ 'module': encodeURIComponent(params.dispatchBillDetailList.length == 1 ? '删除' : '批量删除')
|
|
|
}
|
|
|
})
|
|
|
}
|
|
@@ -16,9 +16,9 @@ export const deleteBatch = (params) => {
|
|
|
export const pushDown = (params) => {
|
|
|
return axios({
|
|
|
url: `/dispatch/pushDown`,
|
|
|
- data:params,
|
|
|
+ data: params,
|
|
|
method: 'post',
|
|
|
- headers:{
|
|
|
+ headers: {
|
|
|
'module': encodeURIComponent('下推')
|
|
|
}
|
|
|
})
|
|
@@ -40,21 +40,6 @@ export const dispatchDetail = (params) => {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-// 列表 有分页
|
|
|
-export const waitDispatchDetailList = (params) => {
|
|
|
- const url = `/dispatch/detail/queryPage/${params.pageNo}/${params.pageSize}`
|
|
|
- delete params.pageNo
|
|
|
- delete params.pageSize
|
|
|
- return axios({
|
|
|
- url: url,
|
|
|
- data: params,
|
|
|
- method: 'post',
|
|
|
- headers:{
|
|
|
- 'module': encodeURIComponent('明细列表查询')
|
|
|
- }
|
|
|
- })
|
|
|
-}
|
|
|
-
|
|
|
// 列表 不分页
|
|
|
export const waitDispatchDetailAllList = (params) => {
|
|
|
const url = `/dispatch/detail/queryPushing`
|
|
@@ -64,7 +49,7 @@ export const waitDispatchDetailAllList = (params) => {
|
|
|
url: url,
|
|
|
data: params,
|
|
|
method: 'post',
|
|
|
- headers:{
|
|
|
+ headers: {
|
|
|
'module': encodeURIComponent('明细列表查询')
|
|
|
}
|
|
|
})
|
|
@@ -76,7 +61,7 @@ export const updateQty = (params) => {
|
|
|
url: '/dispatch/detail/updateQty',
|
|
|
data: params,
|
|
|
method: 'post',
|
|
|
- headers:{
|
|
|
+ headers: {
|
|
|
'module': encodeURIComponent('修改本次下推数量')
|
|
|
}
|
|
|
})
|