1234567891011121314151617181920212223242526272829303132 |
- 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
- } 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)
|