1 |
- <view class="{{['order_manage','data-v-bda952f4',showModal?'no_scroll':'']}}"><view class="order_top data-v-bda952f4"><view class="inp flexB data-v-bda952f4"><view class="search_inp flexB data-v-bda952f4"><text class="iconfont iconsearch data-v-bda952f4"></text><input placeholder="请输入订单号/手机号/昵称" placeholder-style="color:#999;font-size:28rpx;" data-event-opts="{{[['input',[['__set_model',['$0','order_no','$event',[]],['params']]]]]}}" value="{{params.order_no}}" bindinput="__e" class="data-v-bda952f4"/><text data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="iconfont icondelete data-v-bda952f4" bindtap="__e"></text></view><view data-event-opts="{{[['tap',[['search',['$event']]]]]}}" class="search_btn data-v-bda952f4" bindtap="__e">查询</view></view><view class="tabs flexB data-v-bda952f4"><view data-event-opts="{{[['tap',[['cutTab',[0]]]]]}}" class="{{['tab_item','data-v-bda952f4',params.status==0?'tab_active':'']}}" bindtap="__e"><view class="tab_status data-v-bda952f4">全部</view></view><view data-event-opts="{{[['tap',[['cutTab',[2]]]]]}}" class="{{['tab_item','data-v-bda952f4',params.status==2?'tab_active':'']}}" bindtap="__e"><text class="tab_status data-v-bda952f4">待发货</text><block wx:if="{{orderNum.noSend>0&&!params.order_no}}"><text class="{{['tab_num','data-v-bda952f4',orderNum.noSend>99?'more_num':'']}}">{{$root.f0}}</text></block></view><view data-event-opts="{{[['tap',[['cutTab',[3]]]]]}}" class="{{['tab_item','data-v-bda952f4',params.status==3?'tab_active':'']}}" bindtap="__e"><text class="tab_status data-v-bda952f4">待收货</text><block wx:if="{{orderNum.noReceive>0&&!params.order_no}}"><text class="{{['tab_num','data-v-bda952f4',orderNum.noReceive>99?'more_num':'']}}">{{''+$root.f1+''}}</text></block></view><view data-event-opts="{{[['tap',[['cutTab',[4]]]]]}}" class="{{['tab_item','data-v-bda952f4',params.status==4?'tab_active':'']}}" bindtap="__e"><text class="tab_status data-v-bda952f4">已完成</text><block wx:if="{{orderNum.Finish>0&&!params.order_no}}"><text class="{{['tab_num','data-v-bda952f4',orderNum.Finish>99?'more_num':'']}}">{{$root.f2}}</text></block></view></view></view><block wx:if="{{orderList}}"><view class="order_list data-v-bda952f4"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="idx" wx:key="idx"><view data-event-opts="{{[['tap',[['skipDel',['$0'],[[['orderList','',idx,'order_no']]]]]]]}}" class="list_con data-v-bda952f4" bindtap="__e"><block wx:if="{{item.$orig.is_refund==3}}"><image class="refund_img data-v-bda952f4" src="../../static/imgs/shop/all_refund.png"></image></block><block wx:if="{{item.$orig.is_refund==2}}"><image class="refund_img data-v-bda952f4" src="../../static/imgs/shop/part_refund.png"></image></block><block wx:if="{{item.$orig.is_refund==1}}"><image class="refund_img data-v-bda952f4" src="../../static/imgs/shop/audit_refund.png"></image></block><view class="flexB data-v-bda952f4"><text class="data-v-bda952f4">{{"订单号:"+item.$orig.order_no}}</text><block wx:if="{{item.$orig.is_help==1}}"><text class="ident data-v-bda952f4">代下单</text></block></view><view class="goods_con data-v-bda952f4"><block wx:for="{{item.l0}}" wx:for-item="temp" wx:for-index="key" wx:key="$index"><view class="data-v-bda952f4"><view class="flexB data-v-bda952f4"><view class="flexS data-v-bda952f4"><image class="goods_img data-v-bda952f4" src="{{temp.$orig.img}}"></image><view class="data-v-bda952f4"><view style="font-size:28rpx;font-weight:bold;" class="data-v-bda952f4">{{''+temp.$orig.name+''}}</view><view class="one_year data-v-bda952f4" style="width:120rpx;">3条装</view></view></view><view class="price data-v-bda952f4"><block wx:if="{{temp.$orig.sku}}"><view style="color:#999;" class="data-v-bda952f4">{{"X\n\t\t\t\t\t\t\t\t"+temp.g0+''}}</view></block><block wx:if="{{temp.$orig.sku}}"><view style="margin-top:26rpx;" class="data-v-bda952f4">{{"¥"+temp.$orig.sku[0].price}}</view></block></view></view></view></block><view class="flexE data-v-bda952f4"><block wx:if="{{item.$orig.goods}}"><text class="gray data-v-bda952f4">{{"共"+item.m0+"套,"}}</text></block><text class="gray data-v-bda952f4">合计:</text><text class="total data-v-bda952f4"><text class="data-v-bda952f4">¥</text><block wx:if="{{item.$orig.goods}}"><text class="data-v-bda952f4">{{item.m1}}</text></block></text></view></view><block wx:if="{{item.$orig.apply_cancel==3&&item.$orig.status==1}}"><view class="close_order data-v-bda952f4">已驳回客户发出的取消订单申请,请正常发货。</view></block><view class="{{['goods_opera','data-v-bda952f4',item.$orig.user?'flexB':'flexE']}}"><block wx:if="{{item.$orig.user}}"><view class="data-v-bda952f4">{{"客户:"+item.f3}}</view></block><block wx:if="{{item.$orig.status==0}}"><view class="flexE data-v-bda952f4"><block wx:if="{{item.$orig.is_help==1}}"><view data-event-opts="{{[['tap',[['payNow',['$0'],[[['orderList','',idx]]]]]]]}}" class="base_btn data-v-bda952f4" catchtap="__e">立即付款</view></block><block wx:if="{{item.$orig.user&&item.$orig.is_help==0}}"><view data-event-opts="{{[['tap',[['callPhone',['$0'],[[['orderList','',idx,'user.phone']]]]]]]}}" class="base_btn data-v-bda952f4" catchtap="__e">联系客户</view></block><view data-event-opts="{{[['tap',[['moreOpera',[idx]]]]]}}" class="more_opera data-v-bda952f4" catchtap="__e">更多</view><block wx:if="{{item.$orig.showMore}}"><view class="dialog data-v-bda952f4"><view data-event-opts="{{[['tap',[['choose',[2,'$0',idx],[[['orderList','',idx,'id']]]]]]]}}" catchtap="__e" class="data-v-bda952f4">取消订单</view></view></block></view></block><block wx:if="{{item.$orig.status==1}}"><view class="flexS data-v-bda952f4"><block wx:if="{{item.$orig.apply_cancel==1}}"><view data-event-opts="{{[['tap',[['skipAudit',['$0'],[[['orderList','',idx]]]]]]]}}" class="audit_btn data-v-bda952f4" catchtap="__e">待审核</view></block><block wx:if="{{item.$orig.apply_cancel!=1}}"><view data-event-opts="{{[['tap',[['cancelOrder',['$0',idx],[[['orderList','',idx,'id']]]]]]]}}" class="cancel_btn data-v-bda952f4" catchtap="__e">取消订单</view></block><block wx:if="{{item.$orig.apply_cancel!=1}}"><view data-event-opts="{{[['tap',[['shipments',['$0'],[[['orderList','',idx]]]]]]]}}" class="base_btn data-v-bda952f4" catchtap="__e">立即发货</view></block></view></block><block wx:if="{{item.$orig.status==2}}"><view class="flexS data-v-bda952f4"><block wx:if="{{item.$orig.self_receive==1&&item.$orig.user}}"><view data-event-opts="{{[['tap',[['callPhone',['$0'],[[['orderList','',idx,'user.phone']]]]]]]}}" class="base_btn data-v-bda952f4" catchtap="__e">联系客户</view></block><block wx:else><view data-event-opts="{{[['tap',[['lookLogs',['$0'],[[['orderList','',idx]]]]]]]}}" class="base_btn data-v-bda952f4" catchtap="__e">查看物流</view></block><view data-event-opts="{{[['tap',[['moreOpera',[idx]]]]]}}" class="more_opera data-v-bda952f4" catchtap="__e">更多</view><block wx:if="{{item.$orig.showMore}}"><view class="dialog data-v-bda952f4"><view data-event-opts="{{[['tap',[['choose',[6,'$0',idx],[[['orderList','',idx,'order_no']]]]]]]}}" catchtap="__e" class="data-v-bda952f4">确认收货</view></view></block></view></block><block wx:if="{{item.$orig.status==3}}"><view class="flexS data-v-bda952f4"><view data-event-opts="{{[['tap',[['skipEval',['$event']]]]]}}" class="base_btn data-v-bda952f4" catchtap="__e">查看评价</view><view data-event-opts="{{[['tap',[['moreOpera',[idx]]]]]}}" class="more_opera data-v-bda952f4" catchtap="__e">更多</view><block wx:if="{{item.$orig.showMore}}"><view class="dialog data-v-bda952f4"><block wx:if="{{item.$orig.is_refund!=1&&item.$orig.is_refund!=3}}"><view data-event-opts="{{[['tap',[['choose',[4,'$0'],[[['orderList','',idx,'order_no']]]]]]]}}" catchtap="__e" class="data-v-bda952f4">申请退货</view></block><block wx:if="{{item.$orig.is_refund!=0}}"><view data-event-opts="{{[['tap',[['choose',[5,'$0'],[[['orderList','',idx,'order_no']]]]]]]}}" catchtap="__e" class="data-v-bda952f4">退货详情</view></block></view></block></view></block></view></view></block></view></block><block wx:if="{{$root.g1==0}}"><view class="noData data-v-bda952f4"><image src="/static/imgs/default/no_order.png" class="data-v-bda952f4"></image><view class="data-v-bda952f4">暂无订单~</view></view></block><show-modal vue-id="f7800980-1" showPop="{{showModal}}" data-event-opts="{{[['^cancel',[['skip',[0]]]],['^confirm',[['skip',[1]]]]]}}" bind:cancel="__e" bind:confirm="__e" class="data-v-bda952f4" bind:__l="__l"></show-modal></view>
|