import { errorCatcher, errorHandle, filter } from 'base-core-lib' import { appRx } from '../defalutConfig/indexRx' import { API_GET_PURCHRECEIPT, API_GET_SALE_CONTRACTNO, API_POST_AMEND_PURCHRECEIPT, API_POST_REPLANISHENT, API_POST_AUDIT, API_POST_PAYMONEY, API_POST_SALE_EXAMINE, API_GET_SALE_LIST, API_POST_PAY_MONEY, API_POST_COLLECT_MONEY, API_GET_CLOSE, API_POST_CLOAEAUDIT, API_POST_CLOSEPAYMONEY, API_POST_CLOSECOLLMONEY, API_POST_OPENINVOICE, API_POST_BATCHOPENINVOICE, API_GET_SALELIST, API_POST_CASHIER_PAYMENT, API_POST_SALES_INVOICING, API_POST_SALES_BATCH_INVOICING, API_POST_FINAL_SETTLEMENT_PRICE, API_POST_ISSUE_APPROVAL, API_GET_SALE_OUT_CONTRACTNO, API_GET_PURCHASE_CONTRACTNO, API_GET_PURCHASE_IN_CONTRACTNO, API_GET_SELECTORDER, API_GET_SELECTSALEORDER, API_GET_SELECTCONTRACTNO, API_GET_AUTOSETTLEMENT, API_POST_EDITAUTOSETTLEMENT, API_GET_AUTOCONTRACT, API_POST_AUTOPAYMONEY, API_POST_OPENINVOICELIST, API_GET_STOCKPURCHASERECEIPT, API_POST_STOCKPURCHASEPAYMONEY, API_POST_ADDDISORREMARKS, API_POST_EDITSETTLEMENTWEIGHT, API_GET_STOCK_PURCHASE_CONTRACTNO, API_GET_STOCKSALECEIPT, API_POST_STOCKSALECOLLECTMONEY, API_POST_DISORREMARKS, API_POST_SALEEDITSETTLEMENTWEIGHT, API_GET_STOCK_SALE_CONTRACTNO, API_GET_YUNSHUXIALA, API_GET_YUNSHUNUMBER, API_POST_YUNSHUSETPRICE, API_POST_EDIT_SETTLEMENTWEIGHT, API_POST_INVOICELIST, API_POST_SUBMITLOGISTICS, API_POST_EDITTRANTASK, API_POST_EDIT_TRANSETTLEMENT, API_GET_EXPORT, API_POST_EMPTY } from '@/api/V2/statisticalReport' //期货采购入库报表 export const getpurchreceipt = appRx.get(API_GET_PURCHRECEIPT, errorCatcher, errorHandle, filter) //期货销售平仓合同 export const getsaleclosingcontractno = appRx.get(API_GET_SALE_CONTRACTNO, errorCatcher, errorHandle, filter) //期货销售出库合同 export const getsaleoutcontractno = appRx.get(API_GET_SALE_OUT_CONTRACTNO, errorCatcher, errorHandle, filter) //期货采购平仓合同 export const getpurchasecontractno = appRx.get(API_GET_PURCHASE_CONTRACTNO, errorCatcher, errorHandle, filter) //期货采购入库合同 export const getpurchaseincontractno = appRx.get(API_GET_PURCHASE_IN_CONTRACTNO, errorCatcher, errorHandle, filter) //期货采购入库修改 export const postamend = appRx.post(API_POST_AMEND_PURCHRECEIPT, errorCatcher, errorHandle, filter) //期货采购入库补货结转 export const postreplanishent = appRx.post(API_POST_REPLANISHENT, errorCatcher, errorHandle, filter) //期货采购入库补货结转其他合同 export const getselectctcontractno = appRx.get(API_GET_SELECTCONTRACTNO, errorCatcher, errorHandle, filter) //期货采购入库审核 export const postaudit = appRx.post(API_POST_AUDIT, errorCatcher, errorHandle, filter) //期货采购入库付款 export const postpaymoney = appRx.post(API_POST_PAYMONEY, errorCatcher, errorHandle, filter) //期货采购入库报表头部 export const getorder = appRx.get(API_GET_SELECTORDER, errorCatcher, errorHandle, filter) //期货销售平仓审核 export const postsaleaudit = appRx.post(API_POST_SALE_EXAMINE, errorCatcher, errorHandle, filter) //期货销售平仓列表 export const getsalelist = appRx.get(API_GET_SALE_LIST, errorCatcher, errorHandle, filter) //期货销售平仓付款 export const postsalepaymoney= appRx.post(API_POST_PAY_MONEY, errorCatcher, errorHandle, filter) //期货销售平仓收款 export const postsalecollectmoney= appRx.post(API_POST_COLLECT_MONEY, errorCatcher, errorHandle, filter) //期货采购平仓报表 export const getclose = appRx.get(API_GET_CLOSE, errorCatcher, errorHandle, filter) //期货采购平仓审核 export const closeaudit = appRx.post(API_POST_CLOAEAUDIT, errorCatcher, errorHandle, filter) //期货采购平仓付款 export const closepaymoney = appRx.post(API_POST_CLOSEPAYMONEY, errorCatcher, errorHandle, filter) //期货采购平仓收款 export const closecollmoney = appRx.post(API_POST_CLOSECOLLMONEY, errorCatcher, errorHandle, filter) //期货采购入库开发票 export const postopeninvoice = appRx.post(API_POST_OPENINVOICE, errorCatcher, errorHandle, filter) //期货采购入库批量开发票 export const postbatchopeninvoice = appRx.post(API_POST_BATCHOPENINVOICE, errorCatcher, errorHandle, filter) //期货销售出库报表 export const salelist = appRx.get(API_GET_SALELIST, errorCatcher, errorHandle, filter) //期货销售出库出纳收款 export const cashierpayment = appRx.post(API_POST_CASHIER_PAYMENT, errorCatcher, errorHandle, filter) //期货销售出库开发票 export const salesinvoicing = appRx.post(API_POST_SALES_INVOICING, errorCatcher, errorHandle, filter) //期货销售出库批量开发票 export const salesbatchinvoicing = appRx.post(API_POST_SALES_BATCH_INVOICING, errorCatcher, errorHandle, filter) //期货销售出库最终结算价 export const finalsettlementprice = appRx.post(API_POST_FINAL_SETTLEMENT_PRICE, errorCatcher, errorHandle, filter) //期货销售出库审核 export const issueapproval = appRx.post(API_POST_ISSUE_APPROVAL, errorCatcher, errorHandle, filter) //期货销售出库报表头部 export const getsaleorder = appRx.get(API_GET_SELECTSALEORDER, errorCatcher, errorHandle, filter) //汽运结算报表 export const autoList = appRx.get(API_GET_AUTOSETTLEMENT, errorCatcher, errorHandle, filter) // 汽运结算报表修改结算重量,扣款,已开发票 export const editauto = appRx.post(API_POST_EDITAUTOSETTLEMENT, errorCatcher, errorHandle, filter) //汽运结算报表合同 export const autocontract = appRx.get(API_GET_AUTOCONTRACT, errorCatcher, errorHandle, filter) // 汽运结算报表付款 export const autopaymoney = appRx.post(API_POST_AUTOPAYMONEY, errorCatcher, errorHandle, filter) // 汽运结算报表批量开发票 export const openinvoicelist = appRx.post(API_POST_OPENINVOICELIST, errorCatcher, errorHandle, filter) //现货采购入库报表 export const getStockPurchaseReceiptList = appRx.get(API_GET_STOCKPURCHASERECEIPT, errorCatcher, errorHandle, filter) //现货采购入库付款 export const stockPurchasePayMoney = appRx.post(API_POST_STOCKPURCHASEPAYMONEY, errorCatcher, errorHandle, filter) //现货采购入库 定金/备注 export const addDisOrRemarks = appRx.post(API_POST_ADDDISORREMARKS, errorCatcher, errorHandle, filter) //现货采购入库修改结算重量 export const editSettlementWeight = appRx.post(API_POST_EDITSETTLEMENTWEIGHT, errorCatcher, errorHandle, filter) //现货采购入库合同编号下拉 export const getStockPurchaseContractNoList = appRx.get(API_GET_STOCK_PURCHASE_CONTRACTNO, errorCatcher, errorHandle, filter) //现货销售出库报表 export const getStockSaleReceiptList = appRx.get(API_GET_STOCKSALECEIPT, errorCatcher, errorHandle, filter) //现货销售出库收款 export const stockSaleCollectMoney = appRx.post(API_POST_STOCKSALECOLLECTMONEY, errorCatcher, errorHandle, filter) //现货销售出库 定金/备注 export const disOrRemarks = appRx.post(API_POST_DISORREMARKS, errorCatcher, errorHandle, filter) //现货销售出库修改结算重量 export const saleEditSettlementWeight = appRx.post(API_POST_SALEEDITSETTLEMENTWEIGHT, errorCatcher, errorHandle, filter) //现货销售出库合同下拉 export const getStockSaleContractNoList = appRx.get(API_GET_STOCK_SALE_CONTRACTNO, errorCatcher, errorHandle, filter) //反馈重量或开发票 export const editSettlementWeightStock = appRx.post(API_POST_EDIT_SETTLEMENTWEIGHT, errorCatcher, errorHandle, filter) //批量开发票 export const editinvoice = appRx.post(API_POST_INVOICELIST, errorCatcher, errorHandle, filter) // 火运,船运合同编号下拉 export const getYunShuXiaLa = appRx.get(API_GET_YUNSHUXIALA, errorCatcher, errorHandle, filter) // 火运,船运运输编号下拉 export const getYunShuNumber= appRx.get(API_GET_YUNSHUNUMBER, errorCatcher, errorHandle, filter) // 火运,船运实际价格 export const SetYunShuPrice = appRx.post(API_POST_YUNSHUSETPRICE, errorCatcher, errorHandle, filter) // 汽运请款 export const submitlogistics = appRx.post(API_POST_SUBMITLOGISTICS, errorCatcher, errorHandle, filter) // 船运反馈 export const edittrantask = appRx.post(API_POST_EDITTRANTASK, errorCatcher, errorHandle, filter) // 船运反馈 export const editgrainprice = appRx.post(API_POST_EDIT_TRANSETTLEMENT, errorCatcher, errorHandle, filter) // 船运反馈 export const getexport = appRx.post(API_GET_EXPORT) // 批量清空flag1清空服务费 flag2清空税点 export const batchempty = appRx.post(API_POST_EMPTY, errorCatcher, errorHandle, filter)