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.
44 lines
2.3 KiB
44 lines
2.3 KiB
<!--pages/process/order-list/index.wxml-->
|
|
<wxs module="formate" src="../../formate.wxs"></wxs>
|
|
<cu-custom bgColor="bg-white" isBack="{{true}}">
|
|
<view slot="content">待付款订单</view>
|
|
</cu-custom>
|
|
|
|
<refresh-view bind:refresh="onRefreshList" height="{{height}}" triggered="{{requesting}}" scrollTop="{{top}}" bind:scrolltolower="fetchOrderList">
|
|
<view class="list-empty" style="height:{{height}}rpx" wx:if="{{!orderList.length}}">
|
|
<view style="margin-bottom:24px" wx:if="{{loading}}">
|
|
<van-loading type="spinner" size="32" />
|
|
</view>
|
|
<image class="img-empty" src="/assets/image/list_empty.png" wx:else></image>
|
|
<view class="text-empty">{{loading? '正在加载' : '暂无数据'}}</view>
|
|
</view>
|
|
<view wx:for-item="pageItem" wx:for-index="pageIndex" wx:for="{{orderList}}" wx:key="pageIndex">
|
|
<view class="bg-white" wx:for="{{pageItem}}" wx:key="index">
|
|
<view style="background-color:#f3f3f3;" wx:if="{{item.tipsTime}}">
|
|
<text class="text-sg" style="line-height:72rpx;margin-left:32rpx;margin-top:8rpx">{{item.tipsTime}}</text>
|
|
</view>
|
|
<view class="flex flex-justify item-content" data-page="{{pageIndex}}" data-index="{{index}}" bindtap="lookItem">
|
|
<view style="height: 88rpx">
|
|
<view class="flex text-sg text-black" style="align-items: center">
|
|
<text>客户名称:{{item.factoryCustomerName}}</text>
|
|
<text wx:if="{{item.status != 1 && item.factoryCustomerMobile}}">({{item.factoryCustomerMobile}})</text>
|
|
</view>
|
|
<view class="text-sm text-gray" style="margin-top:12rpx">
|
|
<text>废纸品类:{{item.productName}}</text>
|
|
<text style="margin-left:36rpx">金额:{{formate.formateAmount(item.settlePrice)}}元</text>
|
|
</view>
|
|
</view>
|
|
<view class="flex flex-center" wx:if="{{item.status == 4}}">
|
|
<view class="text-df" style="color:#FA541C">去支付</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!--加载更多的UI-->
|
|
<van-divider content-position="center" wx:if="{{ form.pageNum > 1}}" custom-style="padding:0rpx 120rpx">
|
|
<van-loading type="spinner" size="16" wx:if="{{!finished}}" />
|
|
<text class="text-sm" style="margin-left:8rpx">{{finished?'到底啦~':'加载中...'}}</text>
|
|
</van-divider>
|
|
</refresh-view>
|
|
|
|
<notification id="qn-notification"/>
|