12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- import { axios } from '@/utils/request'
- // 出库 列表 有分页
- export const stockOutList = (params) => {
- const url = `/stockOut/queryPage/${params.pageNo}/${params.pageSize}`
- delete params.pageNo
- delete params.pageSize
- return axios({
- url: url,
- data: params,
- method: 'post',
- headers:{
- 'module': encodeURIComponent('列表查询')
- }
- })
- }
- // 出库 出库
- export const stockOutOut = (params) => {
- return axios({
- url: '/stockOut/out',
- data: params,
- method: 'post',
- headers:{
- 'module': encodeURIComponent('出库')
- }
- })
- }
- // 出库 批量出库
- export const stockOutBatchOut = (params) => {
- return axios({
- url: '/stockOut/outBatch',
- data: params,
- method: 'post',
- headers:{
- 'module': encodeURIComponent('批量出库')
- }
- })
- }
- // 出入库明细
- export const stockOutDetailList = (params) => {
- return axios({
- url: `/stockOut/detail/queryList`,
- data: params,
- method: 'post',
- headers:{
- 'module': encodeURIComponent('出库明细')
- }
- })
- }
|