diff --git a/plugins/weight-value/src/models/WeightValue.php b/plugins/weight-value/src/models/WeightValue.php index a4d2bc49..14faec18 100644 --- a/plugins/weight-value/src/models/WeightValue.php +++ b/plugins/weight-value/src/models/WeightValue.php @@ -598,12 +598,14 @@ class WeightValue extends BaseModel{ 'weight_income' => ['key_name' => 'weight_income','title' => '权重收益','num' => (float)$weightIncome,'sort' => 2], // 本人当前持有的 本等级的权重值 'weight_value' => ['key_name' => 'weight_value','title' => '权重值','num' => $weightValue,'sort' => 10], + // 股权收益 todo:目前仅显示,值固定为0,后期功能开发完成后才显示具体统计值(功能暂定,无开发文档、无功能明细、无基本内容) + 'shareholding' => ['key_name' => 'order_money','title' => '股权收益','num' => 0,'sort' => 11], // 本团队所有相关订单的实际支付金额(不包括本人) - 'order_money' => ['key_name' => 'order_money','title' => '总订单金额','num' => $teamOrderInfo['total_price'],'sort' => 11], + 'order_money' => ['key_name' => 'order_money','title' => '总订单金额','num' => $teamOrderInfo['total_price'],'sort' => 12], // 本团队所有相关订单总数 (不包括本人) - 'order_num' => ['key_name' => 'order_num','title' => '总订单数','num' => $teamOrderInfo['total'],'sort' => 12], + 'order_num' => ['key_name' => 'order_num','title' => '总订单数','num' => $teamOrderInfo['total'],'sort' => 13], // 我的赠送升级名额 - 'give_limit' => ['key_name' => 'give_limit','title' => '我的名额','num' => (int)$giveLimitNum['surplus_quota'],'sort' => 13], + 'give_limit' => ['key_name' => 'give_limit','title' => '我的名额','num' => (int)$giveLimitNum['surplus_quota'],'sort' => 14], ]; // 获取经销商特殊身份 特殊身份:0=无特殊身份,1=经纪人,2=代理商,3=省级代理 $identityType = (int)TeamDividendLevelModel::uniacid()->where('id',$teamLevelId)->value('identity_type'); @@ -615,7 +617,7 @@ class WeightValue extends BaseModel{ // 非省公司 追加平级奖励 if((int)$identityType != 3){ // 平级奖励 本人获得的所有平级奖 - $list['peer_level_reward'] = ['key_name' => 'peer_level_reward','title' => '平级奖励','num' => $teamIncomeInfo['peer_level_reward'],'sort' => 5]; + $list['peer_level_reward'] = ['key_name' => 'peer_level_reward','title' => '管理奖励','num' => $teamIncomeInfo['peer_level_reward'],'sort' => 5]; } // 排序