<!--pages/transaction/transactionDetail/transactionDetail.wxml-->
<view class="ns" id="top_ban" style="height:{{isIPX?'88px':'64px'}};">
  <image src="/image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};height: 19.0909px;" mode="widthFix" bindtap="back"></image>
  <text style="top:{{isIPX?'54px':'30px'}};">查看乡镇账户</text>
</view>
<view class="main-box table-box" style="margin-top:{{isIPX?'100px':'75px'}};">

    <van-field required readonly label="所属银行" value="{{ form.bankTypeText }}" placeholder="所属银行" border="{{ false }}" input-align="right"/>
    
    <van-field required readonly label="账户分类" value="{{ form.townAccountTypeText }}" placeholder="账户分类" border="{{ false }}" input-align="right"/>

    <van-field required readonly label="管控类型" value="{{ form.managementControlTypeText }}" placeholder="管控类型" border="{{ false }}" wx:if="{{form.townAccountType == 1}}" input-align="right" />

    <van-field required readonly label="中心账套" value="{{ form.centralBookIdText }}" placeholder="中心账套" border="{{ false }}" wx:if="{{form.townAccountType == 1 && form.managementControlType == 2}}" input-align="right" />

    <van-field required readonly label="会计科目" value="{{ form.centralSubjectIdText }}" placeholder="会计科目" border="{{ false }}" wx:if="{{form.townAccountType == 1 && form.managementControlType == 2}}" input-align="right" />
    
    <van-field readonly label="账户类型" value="{{ form.accountType == 1 ? '公户':'私户' }}" border="{{ false }}" input-align="right" required />
      
    <van-field required readonly label="账户名称" value="{{ form.payee }}" placeholder="账户名称" border="{{ false }}" input-align="right"/>

    <van-field required readonly label="银行账号" value="{{ form.payeeAccount }}" placeholder="银行账号" border="{{ false }}" input-align="right" />

    <van-field required readonly label="开户银行" value="{{ form.bankDeposit }}" placeholder="开户银行" border="{{ false }}" input-align="right" />

    <van-field required readonly label="联行号" value="{{ form.payeePaymentLines }}" placeholder="联行号" border="{{ false }}" input-align="right"/>

    <van-field required readonly label="支付口令" value="{{ form.accountPassword }}" placeholder="支付口令" border="{{ false }}" input-align="right"/>

    <van-field readonly label="客户编号" value="{{ form.cifNo }}" placeholder="客户编号" border="{{ false }}" input-align="right"/>

    <van-field readonly label="清分账簿号" value="{{ form.accountNo }}" placeholder="清分账簿号" border="{{ false }}" input-align="right"/>

    <van-field readonly label="数据状态" value="{{ form.status == 1 ? '正常':'停用' }}" border="{{ false }}" input-align="right" />

    <van-field readonly label="备注" value="{{ form.remark }}" placeholder="备注" border="{{ false }}" input-align="right"/>

  </view>
  <view class="bottom">
    <view class="btn2" bindtap="back">确认</view>
  </view> 