1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- import { axios } from '@/utils/request'
- // 批量删除
- export const deleteBatch = (params) => {
- return axios({
- url: '/dispatch/detail/deleteBatch',
- data: params,
- method: 'post'
- })
- }
- // 下推
- export const pushDown = (params) => {
- return axios({
- url: `/dispatch/pushDown`,
- data:params,
- method: 'post'
- })
- }
- // 统计查询
- export const queryCount = (params) => {
- return axios({
- url: `/dispatch/queryCount`,
- data: params,
- method: 'post'
- })
- }
- // 销售单 下推 带下推产品列表 合计
- export const dispatchDetail = (params) => {
- return axios({
- url: `/dispatch/findBySn/${params.dispatchBillSn}`,
- method: 'get'
- })
- }
- // 列表 有分页
- 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'
- })
- }
- // 列表 不分页
- export const waitDispatchDetailAllList = (params) => {
- const url = `/dispatch/detail/queryPushing`
- delete params.pageNo
- delete params.pageSize
- return axios({
- url: url,
- data: params,
- method: 'post'
- })
- }
- // 数量修改
- export const updateQty = (params) => {
- return axios({
- url: '/dispatch/detail/updateQty',
- data: params,
- method: 'post'
- })
- }
|