Files
electricity_bill_calc_wx/pages/workBenchNew/components/recharge/index.wxml
2025-11-14 14:17:57 +08:00

78 lines
2.1 KiB
Plaintext

<!--pages/workBenchNew/components/recharge/index.wxml-->
<navigator canBack="{{true}}" title="充值" />
<van-cell-group>
<searchSelectWrapper
label="园区"
placeholder="请选择园区"
text="{{parkName}}"
bind:search="onParkFocus"
/>
<searchSelectWrapper
label="电表"
placeholder="请选择电表"
text="{{meterName}}"
bind:search="onMeterFocus"
/>
<searchSelectWrapper
label="金额"
placeholder="请输入金额"
text="{{money}}"
bind:changeText="onChangeMoney"
useSlot="{{true}}"
hideBorder="{{true}}"
hideMargin="{{true}}"
type=""
>
<view class="inputContent">
<van-field
value="{{ money }}"
placeholder="请输入金额"
border="{{ false }}"
bind:change="onChangeMoney"
custom-style="padding: 8rpx 0;font-size: 30rpx;line-height: 32rpx;"
/>
</view>
</searchSelectWrapper>
<searchSelectWrapper
label="付款方式"
placeholder="请选择付款方式"
text="{{payName}}"
bind:search="onPayFocus"
/>
<searchSelectWrapper
label="凭证"
placeholder="请输入凭证"
text="{{voucherNo}}"
fieldType="number"
bind:changeText="onChangeMoney"
useSlot="{{true}}"
hideBorder="{{true}}"
hideMargin="{{true}}"
type=""
>
<view class="inputContent">
<van-field
value="{{ voucherNo }}"
placeholder="请输入凭证"
border="{{ false }}"
bind:change="onChangeVoucherNo"
custom-style="padding: 8rpx 0;font-size: 30rpx;line-height: 32rpx;"
/>
</view>
</searchSelectWrapper>
</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="onCancel"
wx:if="{{show}}"
/>