You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
7.6 KiB
1 lines
7.6 KiB
<block wx:if="{{detail.id}}"><view class="technician-commission-detail"><view class="mt-md pd-lg fill-base"><view class="flex-y-center f-mini-title c-title"><view class="dot mr-sm radius" style="{{'background:'+(primaryColor)+';'}}"></view>订单号<view class="ml-sm">{{''+detail.order_code+''}}</view></view><view class="f-mini-title c-title text-bold mt-lg">项目明细</view><block wx:for="{{detail.order_goods}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['flex-between','f-paragraph',[(index==0)?'mt-lg':''],[(index!=0)?'mt-md':'']]}}"><label class="c-paragraph max-500 _span">{{item.goods_name}}<label class="ml-lg _span">{{"x"+item.true_num}}</label></label><view class="c-title">{{"¥"+item.true_total_price}}</view></view></block><view class="flex-between f-paragraph mt-lg"><view class="c-paragraph">服务时间</view><view class="c-caption">{{detail.time_text}}</view></view><view class="flex-between f-paragraph mt-lg"><view class="c-paragraph">项目总金额</view><view class="c-title">{{"¥"+detail.init_service_price}}</view></view><block wx:if="{{detail.material_type===1}}"><view class="flex-between f-paragraph mt-lg"><view class="c-paragraph">物料费</view><view class="c-title flex-y-center">{{"¥"+detail.material_price+''}}<block wx:if="{{detail.init_material_price*1>detail.material_price*1}}"><view class="ml-sm c-caption text-delete">{{'¥'+detail.init_material_price}}</view></block></view></view></block><view class="flex-between f-paragraph mt-lg"><view class="c-paragraph">卡券优惠</view><view class="c-title">{{"-¥"+detail.discount}}</view></view><view class="flex-between f-paragraph mt-lg mb-lg"><view class="c-paragraph">分成比例</view><view class="c-title">{{detail.coach_balance+"%"}}</view></view><view class="flex-between pt-lg b-1px-t"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="f-paragraph c-paragraph flex-y-center" catchtap="__e">应得收益<view class="iconfont iconshuyi_shuoming ml-sm _i"></view></view><label class="max-500 _span">{{''+(detail.coach_text+' =')+''}}<label class="f-caption ml-sm _span" style="{{'color:'+(primaryColor)+';'}}">¥<label class="f-mini-title _span">{{detail.coach_cash}}</label></label></label></view></view><block wx:if="{{$root.g0}}"><view class="mt-md pd-lg fill-base"><view class="f-mini-title c-title text-bold">加钟明细</view><block wx:for="{{detail.add_order}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:for="{{item.order_goods}}" wx:for-item="aitem" wx:for-index="aindex"><view class="{{['flex-between','f-paragraph',[(aindex==0)?'mt-lg':''],[(aindex!=0)?'mt-md':'']]}}"><label class="c-paragraph max-500 _span">{{aitem.goods_name+(aindex==0?' (第'+(index*1+1)+'次加钟)':'')}}<label class="ml-lg _span">{{"x"+aitem.num}}</label></label><view class="c-title">{{"¥"+aitem.price}}</view></view></block><view class="flex-between f-paragraph mt-lg mb-lg"><view class="c-paragraph">项目总金额</view><view class="c-title">{{"¥"+item.true_service_price}}</view></view><block wx:if="{{detail.material_type===1}}"><view class="flex-between f-paragraph mt-lg mb-lg"><view class="c-paragraph">物料费</view><view class="c-title">{{"¥"+item.material_price}}</view></view></block><view class="flex-between f-paragraph mt-lg mb-lg"><view class="c-paragraph">分成比例</view><view class="c-title">{{item.coach_balance+"%"}}</view></view><view class="flex-between f-paragraph mt-lg mb-lg"><view class="c-paragraph">分摊扣费</view><view class="c-title">{{"-¥"+item.total_share_cash}}</view></view><view class="flex-between f-paragraph mt-lg mb-lg"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="f-paragraph c-paragraph flex-y-center" catchtap="__e">应得收益<view class="iconfont iconshuyi_shuoming ml-sm _i"></view></view><label class="max-500 _span">{{''+(item.add_coach_text+' =')+''}}<label class="f-caption ml-sm _span" style="{{'color:'+(primaryColor)+';'}}">¥<label class="f-mini-title _span">{{item.coach_cash}}</label></label></label></view></block></block><view class="flex-between pt-lg b-1px-t"><view class="f-paragraph c-paragraph flex-y-center">加钟收益</view><label class="max-500 _span">{{''+(detail.add_coach_text+' =')+''}}<label class="f-caption ml-sm _span" style="{{'color:'+(primaryColor)+';'}}">¥<label class="f-mini-title _span">{{detail.add_coach_cash}}</label></label></label></view></view></block><view class="mt-md pd-lg fill-base"><view class="f-mini-title c-title text-bold">扣费明细</view><view class="flex-between f-paragraph mt-lg"><view class="c-paragraph">经纪人扣费</view><view class="c-title">{{"-¥"+detail.partner_share_cash}}</view></view><view class="flex-between f-paragraph mt-lg"><view class="c-paragraph">渠道商扣费</view><view class="c-title">{{"-¥"+detail.channel_share_cash}}</view></view><view class="flex-between f-paragraph mt-lg"><view class="c-paragraph">业务员扣费</view><view class="c-title">{{"-¥"+detail.salesman_share_cash}}</view></view><view class="flex-between mt-lg pt-lg b-1px-t"><view class="f-paragraph c-paragraph">合计扣费</view><view class="flex-y-center f-caption c-warning">¥<view class="f-mini-title">{{''+detail.total_share_cash+''}}</view></view></view></view><view class="mt-md pd-lg fill-base"><view class="f-mini-title c-title text-bold">车费明细</view><view class="flex-between f-paragraph mt-lg"><view class="c-paragraph">车费收益</view><view class="c-title text-bold" style="{{'color:'+(primaryColor)+';'}}">{{"¥"+detail.true_car_price}}</view></view></view><view class="space-max-footer"></view><fixed vue-id="78769e41-1" position="bottom" bind:__l="__l" vue-slots="{{['default']}}"><view class="pd-lg fill-base flex-between f-paragraph" style="width:100%;"><view class="f-mini-title c-title text-bold">实际收益</view><label class="max-500 c-warning _span">{{''+(detail.total_order_text+' =')+''}}<label class="f-caption text-bold ml-sm _span">¥<label class="f-mini-title _span">{{detail.total_order_cash}}</label></label></label></view><view class="space-safe fill-base"></view></fixed><uni-popup class="vue-ref" vue-id="78769e41-2" type="center" maskClick="{{false}}" zIndex="{{1000}}" data-ref="show_rule_item" bind:__l="__l" vue-slots="{{['default']}}"><view class="common-popup-content fill-base pd-lg radius-34"><view class="title">应得收益计算规则</view><view class="f-desc c-title mt-lg"><block wx:if="{{detail.material_type===0}}"><block>应得收益 = (项目总金额 - 卡券优惠) * 分成比例</block></block><block wx:else><block>应得收益 = (项目总金额 + 物料费 - 卡券优惠) * 分成比例 - 物料费</block></block></view><view class="button"><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="item-child c-base" style="{{'background:'+(primaryColor)+';'+('color:'+('#fff')+';')}}" catchtap="__e">知道了</view></view></view></uni-popup><uni-popup class="vue-ref" vue-id="78769e41-3" type="center" maskClick="{{false}}" zIndex="{{1000}}" data-ref="show_add_rule_item" bind:__l="__l" vue-slots="{{['default']}}"><view class="common-popup-content fill-base pd-lg radius-34"><view class="title">加钟收益计算规则</view><view class="f-desc c-title mt-lg"><block wx:if="{{detail.material_type===0}}"><block>应得收益 = 项目总金额 * 分成比例 - 分摊扣费</block></block><block wx:else><block>应得收益 = (项目总金额 + 物料费) * 分成比例 - 物料费 - 分摊扣费</block></block></view><view class="button"><view data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" class="item-child c-base" style="{{'background:'+(primaryColor)+';'+('color:'+('#fff')+';')}}" catchtap="__e">知道了</view></view></view></uni-popup></view></block> |