1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- 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,
- API_GET_CUSTOMERINFO,
- API_GET_RECORDPAGE,
- API_POST_ADDRECORD,
- API_GET_IDENTITYBYCARD,
- API_POST_RECORDEDIT
- } 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)
- // 客户
- export const getcustomerinfo = appRx.get(API_GET_CUSTOMERINFO, errorCatcher, errorHandle, filter)
- // 代收合同记录
- export const selectCollectionWarehousingRecordPage = appRx.get(API_GET_RECORDPAGE, errorCatcher, errorHandle, filter)
- // 代收合同记录
- export const insertCollectionWarehousingRecord = appRx.post(API_POST_ADDRECORD, errorCatcher, errorHandle, filter)
- // 代收合同身份证号查询认证客户
- export const selectIdentityByCard = appRx.get(API_GET_IDENTITYBYCARD, errorCatcher, errorHandle, filter)
- // 代收合同记录编辑
- export const editCollectionWarehousingRecord = appRx.post(API_POST_RECORDEDIT, errorCatcher, errorHandle, filter)
|