|
@@ -3,12 +3,30 @@ import { appRx } from '../defalutConfig/indexRx'
|
|
|
|
|
|
import {
|
|
|
API_GET_CUSTOMER_MANAGE,
|
|
|
- API_GET_CUSTOMER_ADD
|
|
|
-
|
|
|
+ API_GET_CUSTOMER_ADD,
|
|
|
+ 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
|
|
|
} from '@/api/V2/houseSelfCollect'
|
|
|
//客户管理列表
|
|
|
export const getCustomerManage = appRx.get(API_GET_CUSTOMER_MANAGE, errorCatcher, errorHandle, filter)
|
|
|
//新增粮商
|
|
|
export const customerAdd = appRx.post(API_GET_CUSTOMER_ADD, 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)
|