index.js 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. import { errorCatcher, errorHandle, filter } from 'base-core-lib'
  2. import { appRx } from '../defalutConfig/indexRx'
  3. import {
  4. API_GET_PURCHRECEIPT,
  5. API_GET_SALE_CONTRACTNO,
  6. API_POST_AMEND_PURCHRECEIPT,
  7. API_POST_REPLANISHENT,
  8. API_POST_AUDIT,
  9. API_POST_PAYMONEY,
  10. API_POST_SALE_EXAMINE,
  11. API_GET_SALE_LIST,
  12. API_POST_PAY_MONEY,
  13. API_POST_COLLECT_MONEY,
  14. API_GET_CLOSE,
  15. API_POST_CLOAEAUDIT,
  16. API_POST_CLOSEPAYMONEY,
  17. API_POST_CLOSECOLLMONEY,
  18. API_POST_OPENINVOICE,
  19. API_POST_BATCHOPENINVOICE,
  20. API_GET_SALELIST,
  21. API_POST_CASHIER_PAYMENT,
  22. API_POST_SALES_INVOICING,
  23. API_POST_SALES_BATCH_INVOICING,
  24. API_POST_FINAL_SETTLEMENT_PRICE,
  25. API_POST_ISSUE_APPROVAL,
  26. API_GET_SALE_OUT_CONTRACTNO,
  27. API_GET_PURCHASE_CONTRACTNO,
  28. API_GET_PURCHASE_IN_CONTRACTNO,
  29. API_GET_SELECTORDER,
  30. API_GET_SELECTSALEORDER,
  31. API_GET_SELECTCONTRACTNO,
  32. API_GET_AUTOSETTLEMENT,
  33. API_POST_EDITAUTOSETTLEMENT,
  34. API_GET_AUTOCONTRACT,
  35. API_POST_AUTOPAYMONEY,
  36. API_POST_OPENINVOICELIST,
  37. API_GET_STOCKPURCHASERECEIPT,
  38. API_POST_STOCKPURCHASEPAYMONEY,
  39. API_POST_ADDDISORREMARKS,
  40. API_POST_EDITSETTLEMENTWEIGHT,
  41. API_GET_STOCK_PURCHASE_CONTRACTNO,
  42. API_GET_STOCKSALECEIPT,
  43. API_POST_STOCKSALECOLLECTMONEY,
  44. API_POST_DISORREMARKS,
  45. API_POST_SALEEDITSETTLEMENTWEIGHT,
  46. API_GET_STOCK_SALE_CONTRACTNO,
  47. API_GET_YUNSHUXIALA,
  48. API_GET_YUNSHUNUMBER,
  49. API_POST_YUNSHUSETPRICE
  50. } from '@/api/V2/statisticalReport'
  51. //期货采购入库报表
  52. export const getpurchreceipt = appRx.get(API_GET_PURCHRECEIPT, errorCatcher, errorHandle, filter)
  53. //期货销售平仓合同
  54. export const getsaleclosingcontractno = appRx.get(API_GET_SALE_CONTRACTNO, errorCatcher, errorHandle, filter)
  55. //期货销售出库合同
  56. export const getsaleoutcontractno = appRx.get(API_GET_SALE_OUT_CONTRACTNO, errorCatcher, errorHandle, filter)
  57. //期货采购平仓合同
  58. export const getpurchasecontractno = appRx.get(API_GET_PURCHASE_CONTRACTNO, errorCatcher, errorHandle, filter)
  59. //期货采购入库合同
  60. export const getpurchaseincontractno = appRx.get(API_GET_PURCHASE_IN_CONTRACTNO, errorCatcher, errorHandle, filter)
  61. //期货采购入库修改
  62. export const postamend = appRx.post(API_POST_AMEND_PURCHRECEIPT, errorCatcher, errorHandle, filter)
  63. //期货采购入库补货结转
  64. export const postreplanishent = appRx.post(API_POST_REPLANISHENT, errorCatcher, errorHandle, filter)
  65. //期货采购入库补货结转其他合同
  66. export const getselectctcontractno = appRx.get(API_GET_SELECTCONTRACTNO, errorCatcher, errorHandle, filter)
  67. //期货采购入库审核
  68. export const postaudit = appRx.post(API_POST_AUDIT, errorCatcher, errorHandle, filter)
  69. //期货采购入库付款
  70. export const postpaymoney = appRx.post(API_POST_PAYMONEY, errorCatcher, errorHandle, filter)
  71. //期货采购入库报表头部
  72. export const getorder = appRx.get(API_GET_SELECTORDER, errorCatcher, errorHandle, filter)
  73. //期货销售平仓审核
  74. export const postsaleaudit = appRx.post(API_POST_SALE_EXAMINE, errorCatcher, errorHandle, filter)
  75. //期货销售平仓列表
  76. export const getsalelist = appRx.get(API_GET_SALE_LIST, errorCatcher, errorHandle, filter)
  77. //期货销售平仓付款
  78. export const postsalepaymoney= appRx.post(API_POST_PAY_MONEY, errorCatcher, errorHandle, filter)
  79. //期货销售平仓收款
  80. export const postsalecollectmoney= appRx.post(API_POST_COLLECT_MONEY, errorCatcher, errorHandle, filter)
  81. //期货采购平仓报表
  82. export const getclose = appRx.get(API_GET_CLOSE, errorCatcher, errorHandle, filter)
  83. //期货采购平仓审核
  84. export const closeaudit = appRx.post(API_POST_CLOAEAUDIT, errorCatcher, errorHandle, filter)
  85. //期货采购平仓付款
  86. export const closepaymoney = appRx.post(API_POST_CLOSEPAYMONEY, errorCatcher, errorHandle, filter)
  87. //期货采购平仓收款
  88. export const closecollmoney = appRx.post(API_POST_CLOSECOLLMONEY, errorCatcher, errorHandle, filter)
  89. //期货采购入库开发票
  90. export const postopeninvoice = appRx.post(API_POST_OPENINVOICE, errorCatcher, errorHandle, filter)
  91. //期货采购入库批量开发票
  92. export const postbatchopeninvoice = appRx.post(API_POST_BATCHOPENINVOICE, errorCatcher, errorHandle, filter)
  93. //期货销售出库报表
  94. export const salelist = appRx.get(API_GET_SALELIST, errorCatcher, errorHandle, filter)
  95. //期货销售出库出纳收款
  96. export const cashierpayment = appRx.post(API_POST_CASHIER_PAYMENT, errorCatcher, errorHandle, filter)
  97. //期货销售出库开发票
  98. export const salesinvoicing = appRx.post(API_POST_SALES_INVOICING, errorCatcher, errorHandle, filter)
  99. //期货销售出库批量开发票
  100. export const salesbatchinvoicing = appRx.post(API_POST_SALES_BATCH_INVOICING, errorCatcher, errorHandle, filter)
  101. //期货销售出库最终结算价
  102. export const finalsettlementprice = appRx.post(API_POST_FINAL_SETTLEMENT_PRICE, errorCatcher, errorHandle, filter)
  103. //期货销售出库审核
  104. export const issueapproval = appRx.post(API_POST_ISSUE_APPROVAL, errorCatcher, errorHandle, filter)
  105. //期货销售出库报表头部
  106. export const getsaleorder = appRx.get(API_GET_SELECTSALEORDER, errorCatcher, errorHandle, filter)
  107. //汽运结算报表
  108. export const autoList = appRx.get(API_GET_AUTOSETTLEMENT, errorCatcher, errorHandle, filter)
  109. // 汽运结算报表修改结算重量,扣款,已开发票
  110. export const editauto = appRx.post(API_POST_EDITAUTOSETTLEMENT, errorCatcher, errorHandle, filter)
  111. //汽运结算报表合同
  112. export const autocontract = appRx.get(API_GET_AUTOCONTRACT, errorCatcher, errorHandle, filter)
  113. // 汽运结算报表付款
  114. export const autopaymoney = appRx.post(API_POST_AUTOPAYMONEY, errorCatcher, errorHandle, filter)
  115. // 汽运结算报表批量开发票
  116. export const openinvoicelist = appRx.post(API_POST_OPENINVOICELIST, errorCatcher, errorHandle, filter)
  117. //现货采购入库报表
  118. export const getStockPurchaseReceiptList = appRx.get(API_GET_STOCKPURCHASERECEIPT, errorCatcher, errorHandle, filter)
  119. //现货采购入库付款
  120. export const stockPurchasePayMoney = appRx.post(API_POST_STOCKPURCHASEPAYMONEY, errorCatcher, errorHandle, filter)
  121. //现货采购入库 定金/备注
  122. export const addDisOrRemarks = appRx.post(API_POST_ADDDISORREMARKS, errorCatcher, errorHandle, filter)
  123. //现货采购入库修改结算重量
  124. export const editSettlementWeight = appRx.post(API_POST_EDITSETTLEMENTWEIGHT, errorCatcher, errorHandle, filter)
  125. //现货采购入库合同编号下拉
  126. export const getStockPurchaseContractNoList = appRx.get(API_GET_STOCK_PURCHASE_CONTRACTNO, errorCatcher, errorHandle, filter)
  127. //现货销售出库报表
  128. export const getStockSaleReceiptList = appRx.get(API_GET_STOCKSALECEIPT, errorCatcher, errorHandle, filter)
  129. //现货销售出库收款
  130. export const stockSaleCollectMoney = appRx.post(API_POST_STOCKSALECOLLECTMONEY, errorCatcher, errorHandle, filter)
  131. //现货销售出库 定金/备注
  132. export const disOrRemarks = appRx.post(API_POST_DISORREMARKS, errorCatcher, errorHandle, filter)
  133. //现货销售出库修改结算重量
  134. export const saleEditSettlementWeight = appRx.post(API_POST_SALEEDITSETTLEMENTWEIGHT, errorCatcher, errorHandle, filter)
  135. //现货销售出库合同下拉
  136. export const getStockSaleContractNoList = appRx.get(API_GET_STOCK_SALE_CONTRACTNO, errorCatcher, errorHandle, filter)
  137. // 火运,船运合同编号下拉
  138. export const getYunShuXiaLa = appRx.get(API_GET_YUNSHUXIALA, errorCatcher, errorHandle, filter)
  139. // 火运,船运运输编号下拉
  140. export const getYunShuNumber= appRx.get(API_GET_YUNSHUNUMBER, errorCatcher, errorHandle, filter)
  141. // 火运,船运实际价格
  142. export const SetYunShuPrice = appRx.post(API_POST_YUNSHUSETPRICE, errorCatcher, errorHandle, filter)