12345678910111213141516171819202122232425262728293031323334353637383940 |
- import { errorCatcher, errorHandle, filter } from 'base-core-lib'
- import { appRx } from '../defalutConfig/indexRx'
- import {
- API_GET_WAREHOUSE_BASEINFO,
- API_POST_ADD_WAREHOUSE_BASEINFO,
- API_GET_WAREHOUSE_LOOK,
- API_GET_WAREHOUSE_CUSTOMDROPDOWN,
- API_GET_WAREHOUSE_DELETE,
- API_POST_WAREHOUSE_EDIT,
- API_GET_WAREHOUSE_IOSS,
- API_POST_WAREHOUSE_NAME,
- API_GET_CUSTOMDROPDOWN_CUSTOMDROPDOWN,
- API_POST_STORAGE_PUT,
- API_POST_STORAGE_IOSS
-
- } from '@/api/V2/warehouse'
- // 列表
- export const getList = appRx.get(API_GET_WAREHOUSE_BASEINFO, errorCatcher, errorHandle, filter)
- // 添加
- export const addList = appRx.post(API_POST_ADD_WAREHOUSE_BASEINFO, errorCatcher, errorHandle, filter)
- //仓库查看
- export const getLook = appRx.get(API_GET_WAREHOUSE_LOOK, errorCatcher, errorHandle, filter)
- //仓库下拉
- export const xiala = appRx.get( API_GET_WAREHOUSE_CUSTOMDROPDOWN, errorCatcher, errorHandle, filter)
- //删除
- export const deletewarehouse = appRx.get(API_GET_WAREHOUSE_DELETE, errorCatcher, errorHandle, filter)
- //仓库编辑
- export const edit = appRx.post(API_POST_WAREHOUSE_EDIT, errorCatcher, errorHandle, filter)
- //盘损
- export const ioss = appRx.get(API_GET_WAREHOUSE_IOSS, errorCatcher, errorHandle, filter)
- //货名下拉
- export const goodsname = appRx.get(API_POST_WAREHOUSE_NAME, errorCatcher, errorHandle, filter)
- // 货名等下拉
- export const pullDown = appRx.get(API_GET_CUSTOMDROPDOWN_CUSTOMDROPDOWN, errorCatcher, errorHandle, filter)
- // 入库添加
- export const addstorageputList = appRx.post(API_POST_STORAGE_PUT, errorCatcher, errorHandle, filter)
- //盘损提交
- export const submitioss = appRx.post(API_POST_STORAGE_IOSS, errorCatcher, errorHandle, filter)
|