114 lines
4.7 KiB
Plaintext
114 lines
4.7 KiB
Plaintext
<!--packageE/others/cloudwarehouse/cloudOrderList/cloudOrderList.wxml-->
|
||
<van-tabs actived="{{active}}" bind:change="onClick">
|
||
<van-tab title="全部" name="1"></van-tab>
|
||
<van-tab title="待发货" name="2"></van-tab>
|
||
<van-tab title="待收货" name="3"></van-tab>
|
||
<van-tab title="已完成" name="4"></van-tab>
|
||
</van-tabs>
|
||
<view class="list" catchtap="tapDetail" data-id="{{item.id}}" wx:for="{{info}}" wx:key="index">
|
||
<view class="top">
|
||
<view class="top_left">
|
||
<view class='span'>订单号:{{ item.order_sn }}</view>
|
||
<view class="Status" wx:if="{{item.dispatch_type_id == '8'}}">自提</view>
|
||
</view>
|
||
<view class="Status_o">{{ item.status_name }}</view>
|
||
</view>
|
||
<view wx:for="{{item.has_many_order_goods}}" wx:key="ind" wx:for-item="list">
|
||
<view class="centen">
|
||
<view class="centen_left">
|
||
<image src="{{list.thumb}}"></image>
|
||
</view>
|
||
<view class="centen_right">
|
||
<view class='span'>{{ list.title }}</view>
|
||
<view class='p'>规格:{{ list.goods_option_title?list.goods_option_title+',':'' }}x{{ list.total }}</view>
|
||
</view>
|
||
</view>
|
||
<view class="address">
|
||
<view class='p'>
|
||
<view class='span' wx:if="item.dispatch_type_id == '8'">送货点:</view>{{ item.address.realname }}
|
||
{{ item.address.mobile }}
|
||
</view>
|
||
<view class='span'>{{ item.address.address }}</view>
|
||
</view>
|
||
</view>
|
||
<view class="hxBtn">
|
||
<!-- <view class='span' class="{{'btn_'+lis.value}}" wx:for="{{item.button_models}}" wx:key="indd" wx:for-item="lis"
|
||
catchtap="operation(lis, item)" data-lis='{{lis}}' data-item='{{item}}'>{{ lis.name }}</view> -->
|
||
<block wx:for="{{item.button_models}}" wx:key="index" wx:for-item="lis">
|
||
<block wx:if="{{lis.value==41}}">
|
||
<view class="span" style="position: relative;">
|
||
{{lis.name}}
|
||
<button style="position:absolute;width:100%;height:100%;opacity:0;top: 0;right: 0;" open-type="contact"
|
||
session-from="weapp"></button>
|
||
</view>
|
||
</block>
|
||
<block wx:else>
|
||
<view data-orderidx="{{index}}" data-item="{{lis}}" data-order="{{item}}" catchtap="operation"
|
||
style="position: relative;" class="span {{!lis.api ? 'noClickBG' : 'clickBg'}}">
|
||
{{lis.name}}
|
||
</view>
|
||
</block>
|
||
</block>
|
||
</view>
|
||
</view>
|
||
<view wx:if="{{current_page == last_page}}" style="text-align: center;color: #999;padding: 80rpx 0;">没有更多了</view>
|
||
<view wx:if="{{info.length == 0}}" style="text-align: center;color: #999;padding: 80rpx 0;">暂无订单</view>
|
||
<view wx:if="{{current_page < last_page}}" style="text-align: center;color: #999;padding: 80rpx 0;">上拉加载更多</view>
|
||
|
||
<!-- 确认发货弹出的dialog -->
|
||
<van-dialog use-slot async-close show="{{dialogVisible}}" show-cancel-button bind:close="sendGoogs">
|
||
<view catchtouchmove="noop" class="sendgood">
|
||
<view class="h4">确认发货</view>
|
||
<view class="addmessage" wx:if="{{addresseeInfo && jurisdiction_set != 1}}">
|
||
<view class="title">收件人信息:</view>
|
||
<view class="content">
|
||
<view class="top">
|
||
<text class="span">收件人:{{addresseeInfo.realname}}</text>
|
||
<text class="span">({{addresseeInfo.mobile}})</text>
|
||
</view>
|
||
<view class="bottom">收货地址:{{addresseeInfo.address}}</view>
|
||
</view>
|
||
</view>
|
||
<view class="delivery">
|
||
<view class="left">快递公司:</view>
|
||
<view class="right">
|
||
<view class="button" catchtap="seleRegional">{{regional}}</view>
|
||
</view>
|
||
</view>
|
||
<view class="deliveryinp">
|
||
<view class="left">快递单号:</view>
|
||
<view class="right">
|
||
<van-field value="{{numberName}}" placeholder="请输入快递单号" border="{{false}}" bind:inp="numberNamebtn" />
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</van-dialog>
|
||
|
||
<!-- 选择快递 -->
|
||
<van-popup show="{{dateshow_1}}" position="bottom" z-index='{{2000}}'>
|
||
<van-picker show-toolbar="{{true}}" columns="{{columns}}" bind:cancel="onCancelbtn" bind:confirm="onConfirmbtn" />
|
||
</van-popup>
|
||
|
||
<!-- 发货失败上拉弹出 -->
|
||
<van-popup show="{{ sendGoogsFail.show }}" position="bottom" z-index='{{ 2000 }}'
|
||
bind:click-overlay="colseSendGoogsFailPopup">
|
||
<view class="send-googs-fail">
|
||
<view class="title">
|
||
提示
|
||
</view>
|
||
<view class="msg">
|
||
{{ sendGoogsFail.msg }}
|
||
</view>
|
||
<view class="confirm" bindtap="colseSendGoogsFailPopup">
|
||
确认
|
||
</view>
|
||
</view>
|
||
</van-popup>
|
||
|
||
<!-- -->
|
||
<van-popup show="{{showQrcode}}" position="bottom" z-index='{{2000}}' bind:click-overlay="onClose">
|
||
<view class="qrcodeClass">
|
||
<image src="{{qrcode_url}}" mode='widthFix'></image>
|
||
<text>请核销员扫码核销</text>
|
||
</view>
|
||
</van-popup> |