82 lines
1.9 KiB
Plaintext
82 lines
1.9 KiB
Plaintext
<!--pages/workBench/components/recharge/index.wxml-->
|
|
<van-cell-group>
|
|
<van-field
|
|
value="{{ parkName }}"
|
|
placeholder="请选择园区"
|
|
label="园区"
|
|
readonly
|
|
border="{{ false }}"
|
|
use-button-slot
|
|
title-width="70rpx"
|
|
>
|
|
<van-button slot="button" size="small" type="primary" bind:click="onParkFocus">
|
|
选择
|
|
</van-button>
|
|
</van-field>
|
|
<van-field
|
|
value="{{ meterName }}"
|
|
placeholder="请选择电表"
|
|
label="电表"
|
|
readonly
|
|
border="{{ false }}"
|
|
use-button-slot
|
|
title-width="70rpx"
|
|
>
|
|
<van-button slot="button" size="small" type="primary" bind:click="onMeterFocus">
|
|
选择
|
|
</van-button>
|
|
</van-field>
|
|
<van-field
|
|
value="{{ money }}"
|
|
placeholder="请输入金额"
|
|
label="金额"
|
|
type="number"
|
|
border="{{ false }}"
|
|
use-button-slot
|
|
title-width="70rpx"
|
|
bind:change="onChangeMoney"
|
|
>
|
|
</van-field>
|
|
<van-field
|
|
value="{{ payName }}"
|
|
placeholder="请选择付款方式"
|
|
label="付款方式"
|
|
readonly
|
|
border="{{ false }}"
|
|
use-button-slot
|
|
title-width="140rpx"
|
|
>
|
|
<van-button
|
|
slot="button"
|
|
size="small"
|
|
type="primary"
|
|
bind:click="onPayFocus"
|
|
>
|
|
选择
|
|
</van-button>
|
|
</van-field>
|
|
<van-field
|
|
value="{{ voucherNo }}"
|
|
placeholder="请输入凭证"
|
|
label="凭证"
|
|
border="{{ false }}"
|
|
use-button-slot
|
|
title-width="70rpx"
|
|
bind:change="onChangeVoucherNo"
|
|
/>
|
|
</van-cell-group>
|
|
|
|
<view style="margin-top: 60rpx;display: flex; justify-content: center; align-items: center;">
|
|
<van-button type="info" size="small" style="margin-right: 30rpx;" bind:click="handleSubmit"> 确认 </van-button>
|
|
<van-button size="small" bind:click="handleClear"> 清空 </van-button>
|
|
</view>
|
|
<search-select
|
|
show="{{show}}"
|
|
title="{{title}}"
|
|
type="{{type}}"
|
|
park="{{park}}"
|
|
bindconfirm="onConfirm"
|
|
bindcancel="onConcal"
|
|
wx:if="{{show}}"
|
|
/>
|