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 } 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 postaudit = appRx.post(API_POST_AUDIT, errorCatcher, errorHandle, filter) //采购入库付款 export const postpaymoney = appRx.post(API_POST_PAYMONEY, 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)