<!--packageF/debt/vipAddindex/vipAddindex.wxml-->
<view id="vipAddindex">
  <view class="fromBox">
    <view class="cell first">
      <view class="cellLeft">选择会员</view>
      <view class="cellRight">
        <van-field model:value="{{userId}}" readonly="{{coupon}}" placeholder="请输入会员ID" input-align="right" bind:input='tapId' />
      </view>
    </view>
    <view class="cellP" wx:if="{{usetInfo}}">会员：{{usetInfo.nickname}}</view>
    <view class="cellError" wx:else>未找到会员</view>
    <view class="cell nofirst">
      <view class="cellLeft">联名提货券</view>
      <view class="cellRight">
        <van-field model:value="{{total}}" placeholder="请输入数量" input-align="right" />
      </view>
    </view>
    <view class="cellP">可使用：￥{{credit}}</view>
  </view>
  <view class="posbtn set-pc-style">
    <view class="btn" catchtap="submitTap">确认</view>
  </view>
</view>