1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- import { errorCatcher, errorHandle, filter } from 'base-core-lib'
- import { appRx } from '../defalutConfig/indexRx'
- import {
- API_GET_CUSTOMER_MANAGE,
- API_POST_CUSTOMER_ADD,
- API_GET_CUSTOMER_IDENTITY,
- API_GET_CUSTOMER_DELETE,
- API_GET_CUSTOMER_LOOK,
- API_GET_PURCHASEPRICE_MANAGE,
- API_POST_PURCHASEPRICE_ADD,
- API_GET_PURCHASEPRICE_LOOK,
- API_POST_PURCHASEPRICE_EDIT,
- API_POST_PURCHASEPRICE_DEL,
- API_POST_PURCHASEPRICE_ALLOWEDIT,
- API_GET_WAREHOUSESELF,
- API_POST_CUSTOMER_EDIT,
- API_POST_INSPECT_ADD,
- API_GET_INSPECT_GETBINNUMBER,
- API_GET_INSPECT_GETCUSTOMER,
- API_GET_INSPECT_GETINSPECTLIST,
- API_GET_INSPECT_GETINSPECTLOOK,
- API_GET_INSPECT_GETINSPECTLOOKUNITPRICE,
- API_GET_INSPECT_GETINSPECTLOOKGOODS,
- API_POST_INSPECT_GETINSPECTEDIT,
- API_POST_INSPECT_GETINSPECTDELETE
- } from '@/api/V2/houseSelfCollect'
- //客户管理列表
- export const getCustomerManage = appRx.get(API_GET_CUSTOMER_MANAGE, errorCatcher, errorHandle, filter)
- //新增粮商1
- export const customerAdd = appRx.post(API_POST_CUSTOMER_ADD, errorCatcher, errorHandle, filter)
- //新增粮商2
- export const customerIdentity = appRx.get(API_GET_CUSTOMER_IDENTITY, errorCatcher, errorHandle, filter)
- //客户管理删除
- export const getCustomerDelete = appRx.post(API_GET_CUSTOMER_DELETE, errorCatcher, errorHandle, filter)
- //客户查看
- export const getCustomerLook = appRx.get(API_GET_CUSTOMER_LOOK, errorCatcher, errorHandle, filter)
- //收购管理列表
- export const getPurchasePrice = appRx.get(API_GET_PURCHASEPRICE_MANAGE, errorCatcher, errorHandle, filter)
- //收购管理添加
- export const purchasePriceAdd = appRx.post(API_POST_PURCHASEPRICE_ADD, errorCatcher, errorHandle, filter)
- //收购管理查看
- export const purchasePriceLook = appRx.post(API_GET_PURCHASEPRICE_LOOK, errorCatcher, errorHandle, filter)
- //收购管理编辑
- export const purchasePriceEdit = appRx.post(API_POST_PURCHASEPRICE_EDIT, errorCatcher, errorHandle, filter)
- //收购管理删除
- export const purchasePriceDel = appRx.post(API_POST_PURCHASEPRICE_DEL, errorCatcher, errorHandle, filter)
- //收购管理手动编辑
- export const purchasePriceAllowEdit = appRx.post(API_POST_PURCHASEPRICE_ALLOWEDIT, errorCatcher, errorHandle, filter)
- //查看仓库
- export const selectWarehouseSelf = appRx.get(API_GET_WAREHOUSESELF, errorCatcher, errorHandle, filter)
- //客户查看
- export const CustomerEdit = appRx.post(API_POST_CUSTOMER_EDIT, errorCatcher, errorHandle, filter)
- //质检添加
- export const inspectAdd = appRx.post(API_POST_INSPECT_ADD, errorCatcher, errorHandle, filter)
- //仓位下拉
- export const getbinNumber = appRx.get(API_GET_INSPECT_GETBINNUMBER, errorCatcher, errorHandle, filter)
- //客户下拉
- export const getcustomer = appRx.get(API_GET_INSPECT_GETCUSTOMER, errorCatcher, errorHandle, filter)
- //质检列表
- export const getinspectList = appRx.get(API_GET_INSPECT_GETINSPECTLIST, errorCatcher, errorHandle, filter)
- //质检查看
- export const getinspectLook = appRx.get(API_GET_INSPECT_GETINSPECTLOOK, errorCatcher, errorHandle, filter)
- //质检查看潮粮单价
- export const getinspectLookUnitPrice = appRx.get(API_GET_INSPECT_GETINSPECTLOOKUNITPRICE, errorCatcher, errorHandle, filter)
- //质检查看货名下拉
- export const getinspectLookGoods = appRx.get(API_GET_INSPECT_GETINSPECTLOOKGOODS, errorCatcher, errorHandle, filter)
- //质检修改
- export const getinspectEdit = appRx.post(API_POST_INSPECT_GETINSPECTEDIT, errorCatcher, errorHandle, filter)
- //质检删除
- export const getinspectDelete = appRx.post(API_POST_INSPECT_GETINSPECTDELETE, errorCatcher, errorHandle, filter)
|