1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- import { errorCatcher, errorHandle, filter } from 'base-core-lib'
- import { appRx } from '../defalutConfig/indexRx'
- import {
- API_GET_SALE_ORDER_LIST,
- API_POST_SALE_ORDER_DEAL,
- API_POST_SALE_CLOSEPOSITION,
- API_POST_ADUIT_SALE,
- API_GET_ADUIT_CONTRACTNO,
- API_POST_EDITSTATUS,
- API_POST_DELETESALE,
- API_GET_SALEPLAN_LIST,
- API_GET_SALEPLAN_LOOK,
- API_POST_SALEPLAN_ADD,
- API_POST_SALEPLAN_EDIT,
- API_POST_SALEPLAN_DELETE,
- API_POST_SALEPLAN_EDITSTATUS,
- API_GET_GETPRICELIST,
- } from '@/api/V2/salesManagement'
- // import { API_GET_PROCUREMENT_LOOK } from '../../api/V2/purchasingManagement'
- //销售订单列表
- export const detailsList = appRx.get(API_GET_SALE_ORDER_LIST, errorCatcher, errorHandle, filter)
- //销售订单成交
- export const chengList = appRx.post(API_POST_SALE_ORDER_DEAL, errorCatcher, errorHandle, filter)
- //销售订单平仓
- export const closePositionList = appRx.post(API_POST_SALE_CLOSEPOSITION, errorCatcher, errorHandle,filter)
- //销售计划列表
- export const salePlan = appRx.get(API_GET_SALEPLAN_LIST,errorCatcher, errorHandle, filter)
- //销售计划查看
- export const saleLook = appRx.get(API_GET_SALEPLAN_LOOK, errorCatcher, errorHandle,filter)
- //销售计划添加
- export const saleAdd = appRx.post(API_POST_SALEPLAN_ADD, errorCatcher, errorHandle,filter)
- //销售计划编辑
- export const saleEdit = appRx.post(API_POST_SALEPLAN_EDIT, errorCatcher, errorHandle,filter)
- //销售计划删除
- export const saleDel = appRx.post(API_POST_SALEPLAN_DELETE, errorCatcher,errorHandle,filter)
- //销售状态,基差,单价修改
- export const saleEditOther = appRx.post(API_POST_SALEPLAN_EDITSTATUS, errorCatcher,errorHandle,filter)
- //销售订单审核
- export const aduitsale = appRx.post(API_POST_ADUIT_SALE, errorCatcher,errorHandle,filter)
- //销售订单合同编号下拉列表
- export const aduitcontractno = appRx.get(API_GET_ADUIT_CONTRACTNO, errorCatcher,errorHandle,filter)
- //销售订单flag0 补充定金 1解冻定金 2完成 3更改基差
- export const editStatus = appRx.post(API_POST_EDITSTATUS, errorCatcher,errorHandle,filter)
- //销售订单删除
- export const deletesale = appRx.post(API_POST_DELETESALE, errorCatcher,errorHandle,filter)
- //成交价列表
- export const getpricelist = appRx.get(API_GET_GETPRICELIST, errorCatcher,errorHandle,filter)
|