1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- import { errorCatcher, errorHandle, filter } from 'base-core-lib'
- import { appRx } from '../defalutConfig/indexRx'
- import {
- API_GET_TRAN_LIST,
- API_POST_TRAN_ADD,
- API_POST_PERSON,
- API_POST_TRAN_LOOK,
- API_GET_TRAN_TASK_WAREHOUSE,
- API_GET_WAREHOUSE_NO,
- API_POST_WORKFLOW_API_HANDLE,
- API_POST_TRAN_DEL,
- API_GET_TRAN_EXAMINE,
- API_GET_TRAN_EDIT,
- API_POST_OUT_PUT,
- API_GET_OUT_LIST,
- API_GET_OUT_EXAMINE,
- API_POST_OUT_DEL,
- API_GET_CONTRACT_GOODSNAME,
- API_GET_OUT_MOVE,
- API_POST_INOUTWAREHOUSETASK,
- API_GET_OUT_MOVELOOK,
- API_POST_OUT_STATES,
- API_POST_OUT_MOVESTATES,
- API_POST_DEL_HAULAGE_STAGE,
- API_GET_STAFF,
- API_GET_TASKHISTORIES,
- API_SPONSOR_WITHDRAW,
- API_POST_WORKFLOW_TASK,
- API_EDIT_SOURCEOFGOODS,
- API_GET_SOURCEGOOD,
- API_SET_CORRECT,
- API_GET_SOURCEOFGOODS,
- API_GET_GOODSOURCEINFO,
- API_GET_TASKNO
- } from '@/api/V2/taskspost'
- //运输任务列表
- export const gain = appRx.get(API_GET_TRAN_LIST, errorCatcher, errorHandle, filter)
- //运输任务添加
- export const addtrantask = appRx.post(API_POST_TRAN_ADD, errorCatcher, errorHandle, filter)
- // 识别身份证
- export const getidentity = appRx.get(API_POST_PERSON, errorCatcher, errorHandle, filter)
- // 审核通过不通过
- export const woekflowhandle = appRx.post(API_POST_WORKFLOW_API_HANDLE, errorCatcher, errorHandle, filter)
- // 审核之后
- export const workflowcontent = appRx.get(API_POST_WORKFLOW_TASK, errorCatcher, errorHandle, filter)
- // 审核编辑
- export const warehousetask = appRx.post(API_POST_INOUTWAREHOUSETASK, errorCatcher, errorHandle, filter)
- //运输任务查看
- export const lookTranTask = appRx.get(API_POST_TRAN_LOOK, errorCatcher, errorHandle, filter)
- //运输任务-添加-根据仓库类型选库名
- export const getwarehousename = appRx.get(API_GET_TRAN_TASK_WAREHOUSE, errorCatcher, errorHandle, filter)
- //临时出入库合同编号下拉
- export const xialaNo = appRx.get(API_GET_WAREHOUSE_NO, errorCatcher, errorHandle, filter)
- //运输任务-删除
- export const deltran = appRx.post(API_POST_TRAN_DEL, errorCatcher, errorHandle, filter)
- //运输任务-查看
- export const examinetran = appRx.get(API_GET_TRAN_EXAMINE, errorCatcher, errorHandle, filter)
- //运输任务-编辑
- export const edittran = appRx.post(API_GET_TRAN_EDIT, errorCatcher, errorHandle, filter)
- //出入库任务-编辑(新增)
- export const addoreditoutput = appRx.post(API_POST_OUT_PUT, errorCatcher, errorHandle, filter)
- //出入库任务-列表
- export const getoreditoutput = appRx.get(API_GET_OUT_LIST, errorCatcher, errorHandle, filter)
- //出入库任务-查看
- export const outexamine = appRx.get(API_GET_OUT_EXAMINE, errorCatcher, errorHandle, filter)
- //出入库任务-删除
- export const outdelete = appRx.post(API_POST_OUT_DEL, errorCatcher, errorHandle, filter)
- //出入库任务-货名
- export const getGoodsName = appRx.get(API_GET_CONTRACT_GOODSNAME, errorCatcher, errorHandle, filter)
- //移库列表
- export const moveList = appRx.get(API_GET_OUT_MOVE, errorCatcher, errorHandle, filter)
- //移库详情
- export const moveLook = appRx.get(API_GET_OUT_MOVELOOK, errorCatcher, errorHandle, filter)
- //运输任务状态修改
- export const states = appRx.post(API_POST_OUT_STATES, errorCatcher, errorHandle, filter)
- //移库任务状态修改
- export const movestates = appRx.post(API_POST_OUT_MOVESTATES, errorCatcher, errorHandle, filter)
- //删除运输阶段
- export const delhaulagestage = appRx.post(API_POST_DEL_HAULAGE_STAGE, errorCatcher, errorHandle, filter)
- //查询审核记录
- export const gettaskhistories = appRx.get(API_GET_TASKHISTORIES, errorCatcher, errorHandle, filter)
- //获取发货人
- export const getstaff = appRx.get(API_GET_STAFF, errorCatcher, errorHandle, filter)
- //货源提交编辑
- export const editSourceOfGoods = appRx.post(API_EDIT_SOURCEOFGOODS, errorCatcher, errorHandle, filter)
- //货源查看
- export const getSourceOfGoods = appRx.get(API_GET_SOURCEGOOD, errorCatcher, errorHandle, filter)
- // 退库货源列表
- export const getSourceOfGoodslist = appRx.get(API_GET_SOURCEOFGOODS, errorCatcher, errorHandle, filter)
- //矫正
- export const setcorrect = appRx.post(API_SET_CORRECT, errorCatcher, errorHandle, filter)
- //出库货源列表
- export const getSourceOfGoodsinfo = appRx.get(API_GET_GOODSOURCEINFO, errorCatcher, errorHandle, filter)
- //退库选择的任务编号
- export const gettaskNo = appRx.get(API_GET_TASKNO, errorCatcher, errorHandle, filter)
- // 发起人撤回
- export const sponsorWithdraw = appRx.post(API_SPONSOR_WITHDRAW, errorCatcher, errorHandle, filter)
|