<!--pages/workBench/components/tenement/components/bindMeter/index.wxml-->
<van-dialog
  use-slot
  title="{{title}}"
  show="{{ visible }}"
  show-cancel-button
  bind:confirm="onSubmit"
  bind:close="onClose"
>
  <view class="modalContentWrapper">
    <van-field
        value="{{ time }}"
        placeholder="请选择绑定时间"
        label="时间"
        readonly
        border="{{ false }}"
        use-button-slot
        title-width="100rpx"
    >
        <van-button slot="button" size="small" type="info" bind:click="onTimeFocus" wx:if="{{!idProps}}">
        选择
        </van-button>
    </van-field>
    <van-field
        value="{{ number }}"
        placeholder="请输入读数"
        label="读数"
        bind:change="onChange"
        data-name="number"
        type="digit"
        border="{{ false }}"
        title-width="100rpx"
    >
    </van-field>
</view>
 
</van-dialog>

<search-select 
    show="{{show}}" 
    title="{{title}}" 
    type="{{type}}" 
    park="{{park}}"
    bindconfirm="onConfirm"
    bindcancel="onCancel"
/>

<date-time-picker 
    wx:if="{{dateTimeShow}}"
    show="{{dateTimeShow}}"
    time="{{startTime}}"
    bind:confirm="dateTimeConfirm"
    bind:cancel="dateTimeCancal"
/>
