1
This commit is contained in:
@@ -1837,7 +1837,7 @@ func StatisticsSettlement(db *DaoDB, storeId []int, start, end time.Time, vendor
|
|||||||
v.PackagingFee = 40 * v.OrderCount
|
v.PackagingFee = 40 * v.OrderCount
|
||||||
} else {
|
} else {
|
||||||
if v.PayPercentage != 0 && v.JxIncome == 0 {
|
if v.PayPercentage != 0 && v.JxIncome == 0 {
|
||||||
v.JxIncome = float64(v.TotalShopMoney) - v.StoreInCome
|
v.JxIncome = float64(v.TotalShopMoney) - v.StoreIncome
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 服务费
|
// 服务费
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ type JxSettlementInfo struct {
|
|||||||
RefundMoney int `json:"refund_money"` // 订单售后金额
|
RefundMoney int `json:"refund_money"` // 订单售后金额
|
||||||
PackageSetting int `json:"package_setting"` // 服务费
|
PackageSetting int `json:"package_setting"` // 服务费
|
||||||
PackagingFee int `json:"packaging_fee"` // 包装费-每单0.4元
|
PackagingFee int `json:"packaging_fee"` // 包装费-每单0.4元
|
||||||
StoreInCome float64 `json:"store_income"` // 门店收入
|
StoreIncome float64 `json:"store_income"` // 门店收入
|
||||||
PlatformIncome float64 `json:"platform_income"` // 平台收益
|
PlatformIncome float64 `json:"platform_income"` // 平台收益
|
||||||
JxIncome float64 `json:"jx_income"` // 京西收益
|
JxIncome float64 `json:"jx_income"` // 京西收益
|
||||||
MarketIncome float64 `json:"market_income"` // 市场收益
|
MarketIncome float64 `json:"market_income"` // 市场收益
|
||||||
|
|||||||
Reference in New Issue
Block a user