Quellcode durchsuchen

添加仓库设置接口

mxx vor 3 Jahren
Ursprung
Commit
ca855d9593
2 geänderte Dateien mit 37 neuen und 4 gelöschten Zeilen
  1. 15 0
      src/api/V2/houseSelfCollect/index.js
  2. 22 4
      src/model/houseSelfCollect/index.js

+ 15 - 0
src/api/V2/houseSelfCollect/index.js

@@ -2,3 +2,18 @@
 export const API_GET_CUSTOMER_MANAGE = '/identityAuthenticationInfo/selectIdentityAuthenticationInfoPurchase'
 //新增粮商
 export const API_GET_CUSTOMER_ADD = '/identityAuthenticationInfo/api/addIdentityAuthenticationInfo'
+
+//收购管理列表
+export const API_GET_PURCHASEPRICE_MANAGE = '/purchasePrice/purchasePriceList'
+//收购管理添加
+export const API_POST_PURCHASEPRICE_ADD = '/purchasePrice/purchasePriceAdd'
+//收购管理查看
+export const API_GET_PURCHASEPRICE_LOOK = '/purchasePrice/purchasePriceLook'
+//收购管理编辑
+export const API_POST_PURCHASEPRICE_EDIT = '/purchasePrice/purchasePriceEdit'
+//收购管理删除
+export const API_POST_PURCHASEPRICE_DEL = '/purchasePrice/purchasePriceDel'
+//收购管理员手动编辑
+export const API_POST_PURCHASEPRICE_ALLOWEDIT = '/purchasePrice/purchasePriceAllowEdit'
+//查询仓库列表
+export const API_GET_WAREHOUSESELF = '/warehouseBaseInfo/selectWarehouseSelf'

+ 22 - 4
src/model/houseSelfCollect/index.js

@@ -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)