index.js 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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. API_POST_EDIT_SETTLEMENTWEIGHT,
  51. API_POST_INVOICELIST,
  52. API_POST_SUBMITLOGISTICS,
  53. API_POST_EDITTRANTASK,
  54. API_POST_EDIT_TRANSETTLEMENT,
  55. API_GET_EXPORT,
  56. API_POST_EMPTY
  57. } from '@/api/V2/statisticalReport'
  58. //期货采购入库报表
  59. export const getpurchreceipt = appRx.get(API_GET_PURCHRECEIPT, errorCatcher, errorHandle, filter)
  60. //期货销售平仓合同
  61. export const getsaleclosingcontractno = appRx.get(API_GET_SALE_CONTRACTNO, errorCatcher, errorHandle, filter)
  62. //期货销售出库合同
  63. export const getsaleoutcontractno = appRx.get(API_GET_SALE_OUT_CONTRACTNO, errorCatcher, errorHandle, filter)
  64. //期货采购平仓合同
  65. export const getpurchasecontractno = appRx.get(API_GET_PURCHASE_CONTRACTNO, errorCatcher, errorHandle, filter)
  66. //期货采购入库合同
  67. export const getpurchaseincontractno = appRx.get(API_GET_PURCHASE_IN_CONTRACTNO, errorCatcher, errorHandle, filter)
  68. //期货采购入库修改
  69. export const postamend = appRx.post(API_POST_AMEND_PURCHRECEIPT, errorCatcher, errorHandle, filter)
  70. //期货采购入库补货结转
  71. export const postreplanishent = appRx.post(API_POST_REPLANISHENT, errorCatcher, errorHandle, filter)
  72. //期货采购入库补货结转其他合同
  73. export const getselectctcontractno = appRx.get(API_GET_SELECTCONTRACTNO, errorCatcher, errorHandle, filter)
  74. //期货采购入库审核
  75. export const postaudit = appRx.post(API_POST_AUDIT, errorCatcher, errorHandle, filter)
  76. //期货采购入库付款
  77. export const postpaymoney = appRx.post(API_POST_PAYMONEY, errorCatcher, errorHandle, filter)
  78. //期货采购入库报表头部
  79. export const getorder = appRx.get(API_GET_SELECTORDER, errorCatcher, errorHandle, filter)
  80. //期货销售平仓审核
  81. export const postsaleaudit = appRx.post(API_POST_SALE_EXAMINE, errorCatcher, errorHandle, filter)
  82. //期货销售平仓列表
  83. export const getsalelist = appRx.get(API_GET_SALE_LIST, errorCatcher, errorHandle, filter)
  84. //期货销售平仓付款
  85. export const postsalepaymoney= appRx.post(API_POST_PAY_MONEY, errorCatcher, errorHandle, filter)
  86. //期货销售平仓收款
  87. export const postsalecollectmoney= appRx.post(API_POST_COLLECT_MONEY, errorCatcher, errorHandle, filter)
  88. //期货采购平仓报表
  89. export const getclose = appRx.get(API_GET_CLOSE, errorCatcher, errorHandle, filter)
  90. //期货采购平仓审核
  91. export const closeaudit = appRx.post(API_POST_CLOAEAUDIT, errorCatcher, errorHandle, filter)
  92. //期货采购平仓付款
  93. export const closepaymoney = appRx.post(API_POST_CLOSEPAYMONEY, errorCatcher, errorHandle, filter)
  94. //期货采购平仓收款
  95. export const closecollmoney = appRx.post(API_POST_CLOSECOLLMONEY, errorCatcher, errorHandle, filter)
  96. //期货采购入库开发票
  97. export const postopeninvoice = appRx.post(API_POST_OPENINVOICE, errorCatcher, errorHandle, filter)
  98. //期货采购入库批量开发票
  99. export const postbatchopeninvoice = appRx.post(API_POST_BATCHOPENINVOICE, errorCatcher, errorHandle, filter)
  100. //期货销售出库报表
  101. export const salelist = appRx.get(API_GET_SALELIST, errorCatcher, errorHandle, filter)
  102. //期货销售出库出纳收款
  103. export const cashierpayment = appRx.post(API_POST_CASHIER_PAYMENT, errorCatcher, errorHandle, filter)
  104. //期货销售出库开发票
  105. export const salesinvoicing = appRx.post(API_POST_SALES_INVOICING, errorCatcher, errorHandle, filter)
  106. //期货销售出库批量开发票
  107. export const salesbatchinvoicing = appRx.post(API_POST_SALES_BATCH_INVOICING, errorCatcher, errorHandle, filter)
  108. //期货销售出库最终结算价
  109. export const finalsettlementprice = appRx.post(API_POST_FINAL_SETTLEMENT_PRICE, errorCatcher, errorHandle, filter)
  110. //期货销售出库审核
  111. export const issueapproval = appRx.post(API_POST_ISSUE_APPROVAL, errorCatcher, errorHandle, filter)
  112. //期货销售出库报表头部
  113. export const getsaleorder = appRx.get(API_GET_SELECTSALEORDER, errorCatcher, errorHandle, filter)
  114. //汽运结算报表
  115. export const autoList = appRx.get(API_GET_AUTOSETTLEMENT, errorCatcher, errorHandle, filter)
  116. // 汽运结算报表修改结算重量,扣款,已开发票
  117. export const editauto = appRx.post(API_POST_EDITAUTOSETTLEMENT, errorCatcher, errorHandle, filter)
  118. //汽运结算报表合同
  119. export const autocontract = appRx.get(API_GET_AUTOCONTRACT, errorCatcher, errorHandle, filter)
  120. // 汽运结算报表付款
  121. export const autopaymoney = appRx.post(API_POST_AUTOPAYMONEY, errorCatcher, errorHandle, filter)
  122. // 汽运结算报表批量开发票
  123. export const openinvoicelist = appRx.post(API_POST_OPENINVOICELIST, errorCatcher, errorHandle, filter)
  124. //现货采购入库报表
  125. export const getStockPurchaseReceiptList = appRx.get(API_GET_STOCKPURCHASERECEIPT, errorCatcher, errorHandle, filter)
  126. //现货采购入库付款
  127. export const stockPurchasePayMoney = appRx.post(API_POST_STOCKPURCHASEPAYMONEY, errorCatcher, errorHandle, filter)
  128. //现货采购入库 定金/备注
  129. export const addDisOrRemarks = appRx.post(API_POST_ADDDISORREMARKS, errorCatcher, errorHandle, filter)
  130. //现货采购入库修改结算重量
  131. export const editSettlementWeight = appRx.post(API_POST_EDITSETTLEMENTWEIGHT, errorCatcher, errorHandle, filter)
  132. //现货采购入库合同编号下拉
  133. export const getStockPurchaseContractNoList = appRx.get(API_GET_STOCK_PURCHASE_CONTRACTNO, errorCatcher, errorHandle, filter)
  134. //现货销售出库报表
  135. export const getStockSaleReceiptList = appRx.get(API_GET_STOCKSALECEIPT, errorCatcher, errorHandle, filter)
  136. //现货销售出库收款
  137. export const stockSaleCollectMoney = appRx.post(API_POST_STOCKSALECOLLECTMONEY, errorCatcher, errorHandle, filter)
  138. //现货销售出库 定金/备注
  139. export const disOrRemarks = appRx.post(API_POST_DISORREMARKS, errorCatcher, errorHandle, filter)
  140. //现货销售出库修改结算重量
  141. export const saleEditSettlementWeight = appRx.post(API_POST_SALEEDITSETTLEMENTWEIGHT, errorCatcher, errorHandle, filter)
  142. //现货销售出库合同下拉
  143. export const getStockSaleContractNoList = appRx.get(API_GET_STOCK_SALE_CONTRACTNO, errorCatcher, errorHandle, filter)
  144. //反馈重量或开发票
  145. export const editSettlementWeightStock = appRx.post(API_POST_EDIT_SETTLEMENTWEIGHT, errorCatcher, errorHandle, filter)
  146. //批量开发票
  147. export const editinvoice = appRx.post(API_POST_INVOICELIST, errorCatcher, errorHandle, filter)
  148. // 火运,船运合同编号下拉
  149. export const getYunShuXiaLa = appRx.get(API_GET_YUNSHUXIALA, errorCatcher, errorHandle, filter)
  150. // 火运,船运运输编号下拉
  151. export const getYunShuNumber= appRx.get(API_GET_YUNSHUNUMBER, errorCatcher, errorHandle, filter)
  152. // 火运,船运实际价格
  153. export const SetYunShuPrice = appRx.post(API_POST_YUNSHUSETPRICE, errorCatcher, errorHandle, filter)
  154. // 汽运请款
  155. export const submitlogistics = appRx.post(API_POST_SUBMITLOGISTICS, errorCatcher, errorHandle, filter)
  156. // 船运反馈
  157. export const edittrantask = appRx.post(API_POST_EDITTRANTASK, errorCatcher, errorHandle, filter)
  158. // 船运反馈
  159. export const editgrainprice = appRx.post(API_POST_EDIT_TRANSETTLEMENT, errorCatcher, errorHandle, filter)
  160. // 船运反馈
  161. export const getexport = appRx.post(API_GET_EXPORT)
  162. // 批量清空flag1清空服务费 flag2清空税点
  163. export const batchempty = appRx.post(API_POST_EMPTY, errorCatcher, errorHandle, filter)