import { ajax } from "../sdk/ajax";
/* 鲜肉储运 */

// 胴体销售价 BodyPrice
export const reqBodyPrice = () => ajax("post", "/farm-huyang/storeConfig/bodyPrice")

export const reqSetBodyPrice = (data) => ajax("post", "/farm-huyang/storeConfig/setBodyPrice", data)


// 胴体销售金额 BodyTurnover
export const reqBodyTurnover = () => ajax("post", "/farm-huyang/storeConfig/bodyTurnover")

export const reqSetBodyTurnover = (data) => ajax("post", "/farm-huyang/storeConfig/setBodyTurnover", data)
// 季度销售金额 QuarterlyTurnover
export const reqQuarterlyTurnover = () => ajax("post", "/farm-huyang/storeConfig/quarterlyTurnover")

export const reqSetQuarterlyTurnover = (data) => ajax("post", "/farm-huyang/storeConfig/setQuarterlyTurnover", data)
// 累计销售金额 TotalTurnover
export const reqTotalTurnover = () => ajax("post", "/farm-huyang/storeConfig/totalTurnover")

export const reqSetTotalTurnover = (data) => ajax("post", "/farm-huyang/storeConfig/setTotalTurnover", data)


// 运输任务 Transport
export const reqTransport = () => ajax("post", "/farm-huyang/storeConfig/transport")

export const reqSetTransport = (data) => ajax("post", "/farm-huyang/storeConfig/setTransport", data)


// 销售利润分析 Profit
export const reqProfit = () => ajax("post", "/farm-huyang/storeConfig/profit")

export const reqSetProfit = (data) => ajax("post", "/farm-huyang/storeConfig/setProfit", data)


// 产品销售分析 Analyse
export const reqAnalyse = () => ajax("post", "/farm-huyang/storeConfig/analyse")

export const reqSetAnalyse = (data) => ajax("post", "/farm-huyang/storeConfig/setAnalyse", data)


// 种羊销售金额 BreedingTurnover
export const reqBreedingTurnover = () => ajax("post", "/farm-huyang/storeConfig/breedingTurnover")

export const reqSetBreedingTurnover = (data) => ajax("post", "/farm-huyang/storeConfig/setBreedingTurnover", data)


// 种羊销售价格 BreedingSale
export const reqBreedingSale = () => ajax("post", "/farm-huyang/storeConfig/breedingSale")

export const reqSetBreedingSale = (data) => ajax("post", "/farm-huyang/storeConfig/setBreedingSale", data)


// 地区销量排行 AreaSale
export const reqAreaSale = () => ajax("post", "/farm-huyang/storeConfig/areaSale")

export const reqSetAreaSale = (data) => ajax("post", "/farm-huyang/storeConfig/setAreaSale", data)
