123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- 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_GETQRCODE,
- 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,
- API_GET_CUSTOMER_CODE,
- API_GET_CUSTOMER_CODEJY,
- API_GET_INSPECT_GETDRYGRAINPRICE,
- API_GET_INSPECT_GETJURISDICTION,
- API_POST_INVOICING,
- API_POST_EXPORT,
- API_GET_SHIPPINGINFOFORMATION,
- API_POST_INSPECTIONCHECK,
- API_GAT_QRCODE,
- API_GAT_GETQRCODE,
- API_GAT_INFO,
- API_POST_WORKFLOW_TASK,
- API_POST_INSPECT_GETWEIGHTDELETE,
- API_POST_SUSPENDINSTANCE,
- API_POST_IMPORT,
- API_GET_INSPECT_CONTRACTNO,
- API_GET_SETTLEACCOUT,
- API_POST_RETURN,
- API_POST_SUBMIT,
- API_POST_DELETE
- } 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 GetCustomerCode = appRx.get(API_GET_CUSTOMER_CODE, errorCatcher, errorHandle, filter)
- // 验证码校验
- export const GetCustomerCodeJY = appRx.get(API_GET_CUSTOMER_CODEJY, 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 getQRCode = appRx.get(API_GET_INSPECT_GETQRCODE, 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 getweighingDelete = appRx.post(API_POST_INSPECT_GETWEIGHTDELETE, 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 getinspectcontractno = appRx.get(API_GET_INSPECT_CONTRACTNO, 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)
- //质检干粮单价查看
- export const getDryGrainPrice = appRx.get(API_GET_INSPECT_GETDRYGRAINPRICE, errorCatcher, errorHandle, filter)
- //付款权限查询
- export const getJurisdiction = appRx.get(API_GET_INSPECT_GETJURISDICTION, errorCatcher, errorHandle, filter)
- //财务开票post
- export const invoicing = appRx.post(API_POST_INVOICING, errorCatcher, errorHandle, filter)
- export const export1 = appRx.post(API_POST_EXPORT)
- // 车牌号
- export const getshippinginfo = appRx.get(API_GET_SHIPPINGINFOFORMATION, errorCatcher, errorHandle, filter)
- // 确认初检信息
- export const postCheck = appRx.post(API_POST_INSPECTIONCHECK, errorCatcher, errorHandle, filter)
- // 单据二维码
- export const getQRcode = appRx.get(API_GAT_QRCODE, errorCatcher, errorHandle, filter)
- // 二维码获取数据
- export const getQRCodeData = appRx.get(API_GAT_GETQRCODE, errorCatcher, errorHandle, filter)
- // 车型
- export const getcartype = appRx.get(API_GAT_INFO, errorCatcher, errorHandle, filter)
- // 审核之后
- export const workflowcontent = appRx.get(API_POST_WORKFLOW_TASK, errorCatcher, errorHandle, filter)
- // 反结算
- export const suspendinstance = appRx.post(API_POST_SUSPENDINSTANCE, errorCatcher, errorHandle, filter)
- // 导入
- export const importWord = appRx.post(API_POST_IMPORT, errorCatcher, errorHandle, filter)
- // 查看结算单
- export const getsettleaccout = appRx.get(API_GET_SETTLEACCOUT, errorCatcher, errorHandle, filter)
- // 退回
- export const returnInfo = appRx.post(API_POST_RETURN, errorCatcher, errorHandle, filter)
- // 删除
- export const deleteInfo = appRx.post(API_POST_DELETE, errorCatcher, errorHandle, filter)
- // 新检斤保存
- export const newSubmit = appRx.post(API_POST_SUBMIT, errorCatcher, errorHandle, filter)
|