clerk.wxml 4.3 KB

1
  1. <app-layout vue-id="7baeae75-1" class="data-v-d49d941c" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{is_show}}"><view class="clerk-box data-v-d49d941c"><view class="order-info data-v-d49d941c"><view class="dir-left-nowrap data-v-d49d941c"><view class="info-label data-v-d49d941c">收货人:</view><view class="data-v-d49d941c"><view class="data-v-d49d941c">{{orderDetail.name}}</view></view></view><view class="dir-left-nowrap data-v-d49d941c"><view class="info-label data-v-d49d941c">联系方式:</view><view class="data-v-d49d941c"><view class="data-v-d49d941c">{{orderDetail.mobile}}</view></view></view><view class="line data-v-d49d941c"></view><view class="data-v-d49d941c"><text class="info-label data-v-d49d941c">下单时间:</text>{{''+orderDetail.created_at+''}}</view><block wx:if="{{orderDetail.remark}}"><view class="remark-box data-v-d49d941c"><text class="info-label data-v-d49d941c">买家留言:</text>{{''+orderDetail.remark+''}}</view></block></view><view class="goods-box data-v-d49d941c"><block wx:for="{{orderDetail.detail}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view style="{{'margin-top:'+(index==0?'0':'24rpx')+';'}}" class="data-v-d49d941c"><app-jump-button vue-id="{{('7baeae75-2-'+__i0__)+','+('7baeae75-1')}}" url="{{item.goods_info.page_url}}" class="data-v-d49d941c" bind:__l="__l" vue-slots="{{['default']}}"><app-order-goods-info style="width:100%;" vue-id="{{('7baeae75-3-'+__i0__)+','+('7baeae75-2-'+__i0__)}}" goods="{{item.goods_info}}" class="data-v-d49d941c" bind:__l="__l"></app-order-goods-info></app-jump-button></view></block></view><view class="order-info dir-top-nowrap data-v-d49d941c"><view class="dir-left-nowrap item data-v-d49d941c"><view class="box-grow-1 info-label data-v-d49d941c">商品总额</view><view class="box-grow-0 data-v-d49d941c">{{"¥"+orderDetail.total_goods_price}}</view></view><view class="dir-left-nowrap item data-v-d49d941c"><view class="box-grow-1 info-label data-v-d49d941c">商品总数</view><view class="box-grow-0 data-v-d49d941c">{{"x"+orderDetail.goods_num}}</view></view><block wx:if="{{orderDetail.integral_deduction_price>0}}"><view class="dir-left-nowrap item data-v-d49d941c"><view class="box-grow-1 info-label data-v-d49d941c">积分抵扣</view><view class="box-grow-0 data-v-d49d941c">{{"-¥"+orderDetail.integral_deduction_price}}</view></view></block><block wx:if="{{orderDetail.coupon_discount_price>0}}"><view class="dir-left-nowrap item data-v-d49d941c"><view class="box-grow-1 info-label data-v-d49d941c">优惠券优惠</view><view class="box-grow-0 data-v-d49d941c">{{"-¥"+orderDetail.coupon_discount_price}}</view></view></block><view class="dir-left-nowrap item data-v-d49d941c"><view class="box-grow-1 info-label data-v-d49d941c">运费</view><view class="box-grow-0 data-v-d49d941c">{{"¥"+orderDetail.express_price}}</view></view><block wx:if="{{orderDetail.words}}"><view class="dir-top-nowrap item data-v-d49d941c"><view class="box-grow-1 info-label data-v-d49d941c">商家留言:</view><view class="box-grow-0 t-extra-small-color data-v-d49d941c">{{orderDetail.words}}</view></view></block><view class="order-price-box cross-center dir-right-nowrap data-v-d49d941c"><view class="data-v-d49d941c">合计:<text class="price data-v-d49d941c">¥<text class="data-v-d49d941c">{{orderDetail.total_pay_price}}</text></text></view></view></view><view class="action-box data-v-d49d941c"><block wx:if="{{orderDetail.is_pay==1&&orderDetail.clerk_id==0}}"><button data-event-opts="{{[['tap',[['orderClerk',['$event']]]]]}}" class="box-grow-0 btn data-v-d49d941c" bindtap="__e">核销订单</button></block><block wx:if="{{orderDetail.is_pay==0}}"><button data-event-opts="{{[['tap',[['clerkAffirmPay',['$event']]]]]}}" class="box-grow-0 btn data-v-d49d941c" bindtap="__e">确认收款</button></block><block wx:else><view class="cross-center main-center clerk-text data-v-d49d941c">订单已核销</view></block></view></view></block><block wx:if="{{msg}}"><view class="bg cross-center main-center data-v-d49d941c"><view class="dialog data-v-d49d941c"><view class="data-v-d49d941c">提示</view><view class="dialog-content data-v-d49d941c">无核销权限</view><view data-event-opts="{{[['tap',[['toIndex',['$event']]]]]}}" class="dialog-btn data-v-d49d941c" bindtap="__e">确认</view></view></view></block></app-layout>