纸通宝SAAS仓库
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.
 

72 lines
3.8 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 0rpx;margin-top:-90rpx" wx:if="{{orderList}}">
<view class="flex flex-center" style="justify-content: flex-start;padding: 0rpx 32rpx">
<view style="height:24rpx;width:6rpx;background:#007AFF"></view>
<view class="text-black text-sg text-bold" style="margin-left: 12rpx">付款方式</view>
</view>
<view style="min-height:90rpx;padding-right:32rpx">
<van-radio-group value="{{ params.settleType }}" bind:change="onTypeChange">
<van-cell-group>
<van-cell title="现金" clickable data-name="1" bind:click="onTypeClick">
<van-radio slot="right-icon" name="1" />
</van-cell>
<van-cell clickable data-name="2" bind:click="onTypeClick">
<text slot="title">
<text>银行卡转账</text>
<text wx:if="{{params.bankCardNo}}">({{params.bankCardNo}})</text>
</text>
<van-radio slot="right-icon" name="2" disabled="{{!params.bankCardNo}}"/>
</van-cell>
<van-cell title="使用千鸟代付" clickable is-link link-type="navigateTo" url="/pages/htmls/auths/index"></van-cell>
</van-cell-group>
</van-radio-group>
</view>
<view class="flex flex-center" style="justify-content: flex-start;margin-top:16rpx;padding: 0rpx 32rpx">
<view style="height:24rpx;width:6rpx;background:#007AFF"></view>
<view class="text-black text-sg text-bold" style="margin-left: 12rpx">付款备注</view>
</view>
<view style="min-height:90rpx;padding: 0rpx 32rpx">
<input id="payRemark" placeholder-style="color:#aaa" style="width:100%;height:90rpx" placeholder="请输入付款备注" bindinput="bindInput" />
<view style="height:1rpx;background:#eee"></view>
</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" />