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 line
7.6 KiB

5 months ago
<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-be