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_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_GET_OUT_MOVELOOK } 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 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)