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
5.3 KiB
1 lines
5.3 KiB
<view class="page data-v-b64f26de"><view class="order-tab data-v-b64f26de"><view data-event-opts="{{[['tap',[['onOrderTab',[-1]]]]]}}" class="{{['tab','data-v-b64f26de',(status==-1)?'action':'']}}" bindtap="__e"><text class="data-v-b64f26de">我的仓库</text><text class="line data-v-b64f26de"></text></view><view data-event-opts="{{[['tap',[['onOrderTab',[0]]]]]}}" class="{{['tab','data-v-b64f26de',(status==0)?'action':'']}}" bindtap="__e"><text class="data-v-b64f26de">付款确认</text><text class="line data-v-b64f26de"></text></view><view data-event-opts="{{[['tap',[['onOrderTab',[1]]]]]}}" class="{{['tab','data-v-b64f26de',(status==1)?'action':'']}}" bindtap="__e"><text class="data-v-b64f26de">收款确认</text><text class="line data-v-b64f26de"></text></view><view data-event-opts="{{[['tap',[['onOrderTab',[3]]]]]}}" class="{{['tab','data-v-b64f26de',(status==3)?'action':'']}}" bindtap="__e"><text class="data-v-b64f26de">投诉订单</text><text class="line data-v-b64f26de"></text></view><view data-event-opts="{{[['tap',[['onOrderTab',[4]]]]]}}" class="{{['tab','data-v-b64f26de',(status==4)?'action':'']}}" bindtap="__e"><text class="data-v-b64f26de">发货状态</text><text class="line data-v-b64f26de"></text></view></view><view class="order-list data-v-b64f26de"><block wx:if="{{$root.g0>0}}"><view class="data-v-b64f26de"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['onOrderList',['$0'],[[['tableData','',index]]]]]]]}}" class="list data-v-b64f26de" bindtap="__e"><view class="title-status data-v-b64f26de"><view class="title data-v-b64f26de"><text class="data-v-b64f26de">{{"订单号:"+item.$orig.order_sn}}</text></view><view class="status data-v-b64f26de"><text class="data-v-b64f26de">{{item.m0}}</text></view></view><view class="goods-list data-v-b64f26de"><view class="cangku data-v-b64f26de">{{'所属仓库:'+(item.$orig.warehouse?item.$orig.warehouse.title:'-')+''}}</view><view class="goods data-v-b64f26de"><view class="thumb data-v-b64f26de"><image src="{{item.$orig.order_goods[0]?item.$orig.order_goods[0].goods_image:''}}" mode="aspectFill" class="data-v-b64f26de"></image></view><view class="item data-v-b64f26de"><view class="goods-name data-v-b64f26de"><text class="two-omit data-v-b64f26de">{{item.$orig.order_goods[0]?item.$orig.order_goods[0].goods_name:''}}</text></view><view class="goods-price data-v-b64f26de"><text class="min data-v-b64f26de">{{"¥"+(item.$orig.order_goods[0]?item.$orig.order_goods[0].goods_price:'')}}</text></view></view></view></view><block wx:if="{{item.$orig.status==0}}"><view class="status-btn data-v-b64f26de"><view data-event-opts="{{[['tap',[['cancelOrderHandle',['$0'],[[['tableData','',index]]]]]]]}}" class="btn data-v-b64f26de" style="margin:0;" catchtap="__e">取消订单</view><view class="btnGroup data-v-b64f26de"><view data-event-opts="{{[['tap',[['uploadPay',['$0',index],[[['tableData','',index]]]]]]]}}" class="btn data-v-b64f26de" catchtap="__e">上传凭证</view><view data-event-opts="{{[['tap',[['goPay',['$0'],[[['tableData','',index]]]]]]]}}" class="btn data-v-b64f26de" catchtap="__e">去支付</view><view data-event-opts="{{[['tap',[['confirmPay',['$0'],[[['tableData','',index]]]]]]]}}" class="btn data-v-b64f26de" catchtap="__e">支付确认</view></view></view></block><block wx:if="{{item.$orig.status==2}}"><view class="status-btn data-v-b64f26de"><view data-event-opts="{{[['tap',[['changeStatusHandle',['$0'],[[['tableData','',index]]]]]]]}}" class="btn data-v-b64f26de" style="margin:0;" catchtap="__e">提取货物</view><view class="btnGroup data-v-b64f26de"><view data-event-opts="{{[['tap',[['weituoHandle',['$0'],[[['tableData','',index]]]]]]]}}" class="btn data-v-b64f26de" catchtap="__e">委托上架</view></view></view></block><block wx:if="{{item.$orig.status==4}}"><view class="status-btn data-v-b64f26de"><view class="btnGroup data-v-b64f26de"><view data-event-opts="{{[['tap',[['tixingHandle',['$0'],[[['tableData','',index]]]]]]]}}" class="btn data-v-b64f26de" catchtap="__e">提醒发货</view></view></view></block></view></block></view></block><block wx:else><view class="empty data-v-b64f26de"><image src="../../static/image/empty.png" mode="widthFix" class="data-v-b64f26de"></image><view class="emptyText data-v-b64f26de">暂无数据</view></view></block></view><u-modal vue-id="1394b2d6-1" show="{{show}}" content="{{content}}" title="提示" showCancelButton="{{true}}" data-event-opts="{{[['^confirm',[['confirmHandle']]],['^cancel',[['cancelHandle']]]]}}" bind:confirm="__e" bind:cancel="__e" class="data-v-b64f26de" bind:__l="__l"></u-modal><u-modal vue-id="1394b2d6-2" show="{{tiqushow}}" content="您确定要提取货物吗?提取后货物将无法上架!" title="提示" showCancelButton="{{true}}" data-event-opts="{{[['^confirm',[['tiquconfirmHandle']]],['^cancel',[['tiqucancelHandle']]]]}}" bind:confirm="__e" bind:cancel="__e" class="data-v-b64f26de" bind:__l="__l"></u-modal><u-upload style="display:none;" vue-id="1394b2d6-3" previewFullImage="{{false}}" width="176" height="176" name="1" data-ref="uploadPay" data-event-opts="{{[['^afterRead',[['afterRead']]]]}}" bind:afterRead="__e" class="data-v-b64f26de vue-ref" bind:__l="__l"></u-upload><u-toast vue-id="1394b2d6-4" data-ref="uToast" class="data-v-b64f26de vue-ref" bind:__l="__l"></u-toast></view> |