123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- 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,
- API_GET_PAYMENTMANAGEMENT,
- API_GET_WEIGHTCHECK_GETWEIGHINGLIST,
- API_POST_WEIGHTCHECK_GROSSWEIGHT,
- API_POST_WEIGHTCHECK_TARE,
- API_GET_PAYMENT,
- API_POST_PAYMENT_EDIT,
- API_GET_INSPECT_GETAMOUNT,
- API_GET_CUSTOMER_GETIDENTITY,
- API_GET_CUSTOMER_GETBANK,
- API_GET_INSPECT_GETCOUNT,
- API_GET_WEIGHTCHECK_GETPRINT,
- API_POST_PAYMENT_DEL,
- API_POST_PAYMENT_AUDIT,
- API_POST_PAYMENT_PAYMENTSUBMIT,
- API_POST_PAYMENT_SETTLEMENTEDIT
- } 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.get(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)
- //付款管理列表
- export const getpayment = appRx.get(API_GET_PAYMENTMANAGEMENT, errorCatcher, errorHandle, filter)
- //检斤列表查看
- export const getweighingList = appRx.get(API_GET_WEIGHTCHECK_GETWEIGHINGLIST, errorCatcher, errorHandle, filter)
- //皮重检斤保存
- export const tare = appRx.post(API_POST_WEIGHTCHECK_TARE, errorCatcher, errorHandle, filter)
- //毛重检斤保存
- export const grossWeight = appRx.post(API_POST_WEIGHTCHECK_GROSSWEIGHT, errorCatcher, errorHandle, filter)
- //付款信息查看
- export const getpaymentexamine = appRx.get(API_GET_PAYMENT, errorCatcher, errorHandle, filter)
- //付款信息结算
- export const postpaymentedit = appRx.post(API_POST_PAYMENT_EDIT, errorCatcher, errorHandle, filter)
- //质检客户下拉校验
- export const getamount = appRx.get(API_GET_INSPECT_GETAMOUNT, errorCatcher, errorHandle, filter)
- //身份证识别
- export const getIdentity = appRx.get(API_GET_CUSTOMER_GETIDENTITY, errorCatcher, errorHandle, filter)
- //银行卡识别
- export const getBank = appRx.get(API_GET_CUSTOMER_GETBANK, errorCatcher, errorHandle, filter)
- //查询货名有未结算状态
- export const getCount = appRx.get(API_GET_INSPECT_GETCOUNT, errorCatcher, errorHandle, filter)
- //检斤打印查看
- export const getPrint = appRx.get(API_GET_WEIGHTCHECK_GETPRINT, errorCatcher, errorHandle, filter)
- //付款删除
- export const delpayment = appRx.post(API_POST_PAYMENT_DEL, errorCatcher, errorHandle, filter)
- //付款审核
- export const auditpayment = appRx.post(API_POST_PAYMENT_AUDIT, errorCatcher, errorHandle, filter)
- //付款提交
- export const paymentCommit = appRx.post(API_POST_PAYMENT_PAYMENTSUBMIT, errorCatcher, errorHandle, filter)
- //付款结算修改
- export const settlementEdit = appRx.post(API_POST_PAYMENT_SETTLEMENTEDIT, errorCatcher, errorHandle, filter)
|