|
|
<!--pages/saleOutStore/saleOutStore.wxml-->
|
|
|
|
|
|
<view class="swiper-tab">
|
|
|
<view class="swiper-tab-list {{currentTab==0 ? 'on' : ''}}" data-current="0" bindtap="swichNav">待我审批</view>
|
|
|
<view class="swiper-tab-list {{currentTab==1 ? 'on' : ''}}" data-current="1" bindtap="swichNav">我已审批</view>
|
|
|
</view>
|
|
|
|
|
|
<swiper current="{{currentTab}}" class="swiper-box" style='height:{{winHeight -48}}px' duration="300" bindchange="bindChange">
|
|
|
<!-- 未审核 -->
|
|
|
<swiper-item class="swiper-items1">
|
|
|
<scroll-view scroll-x="false" scroll-y="true" class='scroll-views' bindscrolltoupper="unCheckedScrollUpper" bindscrolltolower="unCheckedScrollLower">
|
|
|
<block wx:for="{{unCheckDataArr}}" wx:for-item="item">
|
|
|
<template is="outStoreOrderTemplate" data="{{item}}" />
|
|
|
</block>
|
|
|
</scroll-view>
|
|
|
</swiper-item>
|
|
|
<!-- 已审核 -->
|
|
|
<swiper-item class="swiper-items2">
|
|
|
<scroll-view scroll-x="false" scroll-y="true" class='scroll-views' bindscrolltoupper="checkedScrollUpper" bindscrolltolower="CheckedScrollLower">
|
|
|
<block wx:for="{{checkedDataArr}}" wx:for-item="item">
|
|
|
<template is="outStoreOrderTemplate" data="{{item}}" />
|
|
|
</block>
|
|
|
</scroll-view>
|
|
|
</swiper-item>
|
|
|
</swiper>
|
|
|
|
|
|
<template name="outStoreOrderTemplate">
|
|
|
<view class='listItem' catchtap='transToOrderDetail' data-detailitemid='{{item.billID}}' data-detailitemtype='{{item.billType}}' data-detailitemstate='{{item.billState}}'>
|
|
|
<view class='orderID'>
|
|
|
<text class='goodsIDText'>状态:{{item.remark}}</text>
|
|
|
</view>
|
|
|
<view class='orderID'>
|
|
|
<text class='goodsMoneyText'>时间:{{item.time}}</text>
|
|
|
</view>
|
|
|
<view class='bottomView'>
|
|
|
<view class='goodsNum'>
|
|
|
<text class='goodsNumText'>单号:{{item.billID}}</text>
|
|
|
</view>
|
|
|
<view class='goodsMoney'>
|
|
|
<text class='goodsNumText'>类型:{{item.billType}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|