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.
50 lines
2.7 KiB
50 lines
2.7 KiB
<!--pages/process/payment/index.wxml-->
|
|
<wxs module="formate" src="../../formate.wxs"></wxs>
|
|
<cu-custom bgColor="bg-white" isBack="{{true}}">
|
|
<view slot="content">收货付款</view>
|
|
</cu-custom>
|
|
|
|
<view class="flex flex-column" style="height:360rpx;background-color:#008AFF;align-items: center">
|
|
<view class="text-white text-sg" style="margin-top:72rpx">付款金额(元)</view>
|
|
<view class="text-white text-sl text-bold" style="margin-top:16rpx">{{formate.formateAmount(amount)}}</view>
|
|
</view>
|
|
|
|
<view class="bg-white" style="border-radius: 20rpx 20rpx 0rpx 0rpx;padding: 32rpx;margin-top:-90rpx">
|
|
<view class="flex flex-center" style="justify-content: flex-start">
|
|
<view style="height:24rpx;width:6rpx;background:#007AFF"></view>
|
|
<view class="text-black text-sg text-bold" style="margin-left: 12rpx">付款备注</view>
|
|
</view>
|
|
<view class="flex flex-center" style="min-height:90rpx;border-bottom:1rpx solid #eee;">
|
|
<input id="payRemark" placeholder-style="color:#aaa" style="width:100%;height:80rpx" placeholder="请输入付款备注" bindinput="bindInput" />
|
|
</view>
|
|
</view>
|
|
|
|
<view class="flex flex-center bg-white lable" style="justify-content: flex-start" wx:if="{{orderList}}">
|
|
<view style="height:24rpx;width:6rpx;background:#007AFF"></view>
|
|
<view style="margin-left: 12rpx">
|
|
<text class="text-black text-sg text-bold">订单列表</text>
|
|
<text class="text-gray text-sm" style="margin-left:18rpx">(共{{orderList.length}}笔订单)</text>
|
|
</view>
|
|
</view>
|
|
<van-cell clickable wx:for="{{ orderList }}" wx:key="index" data-index="{{index}}" bindtap="lookItem">
|
|
<view slot="title" class="flex" style=";justify-content: flex-start">
|
|
<van-checkbox value="{{ !item.checked }}" custom-class="checkbox" icon-size="36rpx" shape="square"></van-checkbox>
|
|
<view style="flex:1;margin-left:16rpx">
|
|
<view class="flex flex-justify">
|
|
<view class="text-black text-lg">{{item.factoryCustomerName}} {{item.factoryCustomerMobile}}</view>
|
|
<view class="text-sm text-gray">{{item.bangTime}}</view>
|
|
</view>
|
|
<view class="text-sm text-gray" style="line-height:54rpx">
|
|
<text>废纸品类:{{item.productName}}</text>
|
|
<text style="margin-left:32rpx">金额:{{formate.formateAmount(item.settlePrice)}}元</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</van-cell>
|
|
|
|
<view style="height:{{132 + safeBottom}}rpx;"></view>
|
|
<view class="cu-bar bg-white foot" style="height:{{132 + safeBottom}}rpx;padding:0rpx 32rpx {{safeBottom}}rpx 32rpx;" wx:if="{{orderList}}">
|
|
<van-button type="info" custom-style="height:88rpx;width:686rpx" disabled="{{amount==0}}" bind:click="paymentOrder">付款</van-button>
|
|
</view>
|
|
|
|
<van-dialog id="van-dialog" />
|