<!--pages/workBench/components/tenement/components/bindMeter/index.wxml-->
<van-dialog
  use-slot
  title="解绑电表"
  show="{{ visible }}"
  show-cancel-button
  bind:confirm="onSubmit"
  bind:close="onClose"
>
  <view class="modalContentWrapper">
    <van-field
        value="{{tenementName}}"
        label="商户名称"
        readonly
        type="textarea"
        autosize="{{true}}"
        title-width="132rpx"
        border="{{false}}"
    />
    <van-field
        value="{{meterAddress}}"
        label="电表地址"
        readonly
        type="textarea"
        autosize="{{true}}"
        title-width="132rpx"
        border="{{false}}"
    />
    <van-field
        value="{{ overall }}"
        label="表字"
        title-width="132rpx"
        border="{{false}}"
        bind:change="onChange"
        data-name="overall"
        placeholder="请输入表字"
        type="number"
    />
    <van-field
        value="{{ critical }}"
        label="尖"
        title-width="132rpx"
        border="{{false}}"
        bind:change="onChange"
        data-name="critical"
        placeholder="请输入有功（尖）"
        type="number"
    />
    <van-field
        value="{{ peak }}"
        label="峰"
        title-width="132rpx"
        border="{{false}}"
        bind:change="onChange"
        data-name="peak"
        placeholder="请输入有功（峰）"
        type="number"
    />
    <van-field
        value="{{ overall }}"
        label="平"
        title-width="132rpx"
        border="{{false}}"
        bind:change="onChange"
        data-name="overall"
        type="number"
        placeholder="请输入有功（平）"
    />
    <van-field
        value="{{ valley }}"
        label="谷"
        type="number"
        title-width="132rpx"
        border="{{false}}"
        bind:change="onChange"
        data-name="valley"
        placeholder="请输入有功（谷）"
    />
</view>
 
</van-dialog>