12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- import { errorCatcher, errorHandle, filter } from 'base-core-lib'
- import { appRx } from '../defalutConfig/indexRx'
- import {
- API_GET_CONTRACT_TENANT,
- API_POST_ADD_CONTRACT_TENANT,
- API_POST_MANNER_OF_PACKING_TENANT,
- API_GET_CUSTOMDROPDOWN_CUSTOMDROPDOWN,
- API_POST_CUSTOM_DOWN_ADD,
- API_POST_CUSTOM_DOWN_EDIT,
- API_POST_CUSTOM_DOWN_DELETE,
- API_POST_EXPORT,
- API_GET_BILL_OPERATE_HIS,
- API_POST_EDITSTATUS,
- API_GET_CONTRACT_MANAGEMENTINFO,
- API_POST_EDITINFO,
- API_GET_RELATION_CONTRACTNO,
- API_POST_CONTRACT_DELETE,
- API_GET_TRAN_TASK_WAREHOUSE,
- API_GET_SELECTCONFIRMATIONSHEET,
- API_POST_CONFIRMATIONSHEET_EDIT,
- API_POST_CONFIRMATIONSHEET_ADD,
- API_GET_GETINFO,
- API_POST_CONFIRMATIONSHEET_DELETE,
- API_GET_STAFF,
- API_GET_STAFF_FIND
- } from '@/api/V2/contract'
- // 列表
- export const getList = appRx.get(API_GET_CONTRACT_TENANT, errorCatcher, errorHandle, filter)
- // 添加
- export const addList = appRx.post(API_POST_ADD_CONTRACT_TENANT, errorCatcher, errorHandle, filter)
- // 包装方式
- export const packList = appRx.get(API_POST_MANNER_OF_PACKING_TENANT, errorCatcher, errorHandle, filter)
- // 查看
- export const examineList = appRx.get(API_GET_CONTRACT_MANAGEMENTINFO, errorCatcher, errorHandle, filter)
- // 下拉
- export const xiala = appRx.get(API_GET_CUSTOMDROPDOWN_CUSTOMDROPDOWN, errorCatcher, errorHandle, filter)
- export const addxiala = appRx.post(API_POST_CUSTOM_DOWN_ADD, errorCatcher, errorHandle, filter)
- export const editxiala = appRx.post(API_POST_CUSTOM_DOWN_EDIT, errorCatcher, errorHandle, filter)
- export const delxiala = appRx.post(API_POST_CUSTOM_DOWN_DELETE, errorCatcher, errorHandle, filter)
- // 导出
- export const export1 = appRx.get(API_POST_EXPORT)
- // 操作历史
- export const billoperatehis = appRx.get(API_GET_BILL_OPERATE_HIS, errorCatcher, errorHandle, filter)
- // 修改状态
- export const editstatus = appRx.post(API_POST_EDITSTATUS, errorCatcher, errorHandle, filter)
- // 补充协议查看关联合同
- export const getRelationContractNo = appRx.get(API_GET_RELATION_CONTRACTNO, errorCatcher, errorHandle, filter)
- //删除销售合同
- export const deletecontract = appRx.post(API_POST_CONTRACT_DELETE, errorCatcher, errorHandle, filter)
- //修改销售合同编辑
- export const editInfo = appRx.post(API_POST_EDITINFO, errorCatcher, errorHandle, filter)
- //获取负责人
- export const getstaff = appRx.get(API_GET_STAFF, errorCatcher, errorHandle, filter)
- //获取现货采购负责人
- export const getstafffind = appRx.get(API_GET_STAFF_FIND, errorCatcher, errorHandle, filter)
- //运输任务-添加-根据仓库类型选库名
- export const getwarehousename = appRx.get(API_GET_TRAN_TASK_WAREHOUSE, errorCatcher, errorHandle, filter)
- //查看点价确认单
- export const selectConfirmationSheet = appRx.get(API_GET_SELECTCONFIRMATIONSHEET, errorCatcher, errorHandle, filter)
- //编辑点价确认单
- export const editPriceConfirmationSheet = appRx.post(API_POST_CONFIRMATIONSHEET_EDIT, errorCatcher, errorHandle, filter)
- //创建点价确认单
- export const addPriceConfirmationSheet = appRx.post(API_POST_CONFIRMATIONSHEET_ADD, errorCatcher, errorHandle, filter)
- //删除点价确认单
- export const deletePriceConfirmationSheet = appRx.post(API_POST_CONFIRMATIONSHEET_DELETE, errorCatcher, errorHandle, filter)
- //编辑时查看点价确认单
- export const getInfo = appRx.get(API_GET_GETINFO, errorCatcher, errorHandle, filter)
|