<!--packageD/auction/auction-mine/auction_goods_order/auction_goods_order.wxml-->
<!-- pages/buy/myOrder_v2/myOrder_v2.wxml -->
<!-- <import src="../../../wxParse/wxParse.wxml" /> -->
<view class="goodsinfo">
  <view wx:if='{{_root_tag == "POrder"}}'>
    <van-tabs active="{{POChooseType}}" scroll-top="{{scrollTop}}" sticky="{{true}}" bind:click="swichTabTItem" class="pet-vant-tabs">
      <van-tab title="零售" wx:if="{{isfot}}">
      </van-tab>
      <van-tab title="自用">
      </van-tab>
    </van-tabs>
  </view>
  <!-- 门店 -->
  <view wx:if="{{store_id&&!is_open_package_deliver}}">
    <van-tabs active="{{selectedMode}}" bind:click="setDispatch">
      <block wx:for="{{dispatch}}" wx:key="index" wx:for-item="item" wx:for-index="index">
        <van-tab title="{{dispatchName[item]}}">
          <block wx:if="{{item==1}}">
            <view class="addr" bindtap="showAddress" wx:if="{{!show_address}}">
              <view class="left">
                <view class="map_marker">
                  <van-icon name="location" color="#333" size='32rpx' />
                </view>
              </view>
              <view class="p" wx:if="{{realname}}">
                <view class="name">收件人:{{realname}} {{mobile}}</view>
                <view class="span">{{address}}</view>
              </view>
              <view class="p" wx:if="{{!realname}}">
                请点击选择地址
              </view>
              <view class="right" wx:if="{{realname}}">
                <view class="angle_right">
                  <van-icon name="arrow" color="#333" size='32rpx' />
                </view>
              </view>
            </view>
          </block>
          <block wx:if="{{item==2}}">
            <view class="addr">
              <view class="left">
                <view class="map_marker">
                  <van-icon name="location" color="#333" size='32rpx' />
                </view>
              </view>
              <view class="p">
                <view class="name">自提地点:{{store_info.store_name}} {{store_info.store_mobile}}</view>
                <view class="span">{{store_info.store_address}}</view>
              </view>
            </view>
            <view wx:if="{{store_info.delivery_information == null || store_info.delivery_information ==0?false:true}}">
              <van-cell-group>
                <van-field bind:clear="infonameclear" bind:input="infonamebtn" clearable value="{{linkinfo.name}}" label="{{recipient_name}}" placeholder="请输入{{recipient_name}}" />
                <van-field bind:clear="infomobileclear" bind:input="infomobilebtn" type="number" clearable value="{{linkinfo.mobile}}" label="{{recipient_mobile}}" placeholder="请输入{{recipient_mobile}}" />
              </van-cell-group>
            </view>
          </block>
          <block wx:if="{{item==3}}">
            <view class="addr" bindtap="showAddress" wx:if="{{!show_address}}">
              <view class="left">
                <view class="map_marker">
                  <van-icon name="location" color="#333" size='32rpx' />
                </view>
              </view>
              <view class="p" wx:if="{{realname}}">
                <view class="name">收件人:{{realname}} {{mobile}}</view>
                <view class="span">{{address}}</view>
              </view>
              <view class="p big" wx:if="{{!realname}}">
                请点击选择地址
              </view>
              <view class="right" wx:if="{{realname}}">
                <view class="angle_right">
                  <van-icon name="arrow" color="#333" size='32rpx' />
                </view>
              </view>
            </view>
            <view class="addr">
              <view class="left">
                <view class="map_marker">
                  <van-icon name="location" color="#333" size='32rpx' />
                </view>
              </view>
              <view class="p">
                <view class="name">自提地点:{{store_info.store_name}} {{store_info.store_mobile}}</view>
                <view class="span">{{store_info.store_address}}</view>
              </view>
            </view>
          </block>
        </van-tab>
      </block>
    </van-tabs>
  </view>
  <view wx:if="{{!store_id&& !show_address&&_root_tag != 'POrder'&&!is_open_package_deliver}}" class="addr" bindtap="showAddress">
    <view class="left">
      <view class="map_marker">
        <van-icon name="location" color="#333" size='32rpx' />
      </view>
    </view>
    <view class="p" wx:if="{{realname}}">
      <view class="name">收件人:{{realname}} {{mobile}}</view>
      <view class="span">{{address}}</view>
    </view>
    <view class="p" wx:if="{{!realname}}">
      请点击选择地址
    </view>
    <view class="right" wx:if="{{realname}}">
      <view class="angle_right">
        <van-icon name="arrow" color="#333" size='32rpx' />
      </view>
    </view>
  </view>
  <!-- 挂单 -->
  <view wx:if="{{!store_id&& !show_address&&_root_tag == 'POrder'&&!is_open_package_deliver}}" class="addr" bindtap="showAddress">
    <block wx:if="{{POChooseType == 1}}">
      <view class="left">
        <view class="map_marker">
          <van-icon name="location" color="#333" size='32rpx' />
        </view>
      </view>
      <view class="p" wx:if="{{realname}}">
        <view class="name">收件人:{{realname}} {{mobile}}</view>
        <view class="span">{{address}}</view>
      </view>
      <view class="p" wx:if="{{!realname}}">
        请点击选择地址
      </view>
      <view class="right" wx:if="{{realname}}">
        <view class="angle_right">
          <van-icon name="arrow" color="#333" size='32rpx' />
        </view>
      </view>
    </block>
  </view>
  <!-- 自提点（杨朗） -->
  <view wx:if="{{is_open_package_deliver}}">
    <van-tabs active="{{selfCarrySelected}}" bind:click="setDispatchdeliver">
      <van-tab title="{{item.name}}" wx:for="{{selfCarryType}}" wx:key="index" wx:for-item="item" wx:for-index="index" name="{{item.dispatch_type_id}}">
        <block wx:if="{{item.dispatch_type_id==1}}">
          <view class="addr" bindtap="showAddress" wx:if="{{!show_address}}">
            <view class="left">
              <view class="map_marker">
                <van-icon name="location" color="#333" size='32rpx' />
              </view>
            </view>
            <view class="p" wx:if="{{realname}}">
              <view class="name">收件人:{{realname}} {{mobile}}</view>
              <view class="span">{{address}}</view>
            </view>
            <view class="p" wx:if="{{!realname}}">
              请点击选择地址
            </view>
            <view class="right" wx:if="{{realname}}">
              <view class="angle_right">
                <van-icon name="arrow" color="#333" size='32rpx' />
              </view>
            </view>
          </view>
        </block>
        <block wx:if="{{item.dispatch_type_id==8}}">
          <view class="addr">
            <view class="left">
              <view class="map_marker">
                <van-icon name="location" color="#333" size='32rpx' />
              </view>
            </view>
            <view class="p" wx:if="{{!defaultSelfCarry.id}}">
              <view class="name">抱歉，该地区暂无自提点，请更换地区试试！</view>
            </view>
            <view class="p" wx:if="{{defaultSelfCarry.id}}">
              <view class="name">自提地点:{{defaultSelfCarry.deliver_name}} {{defaultSelfCarry.deliver_mobile}}</view>
              <view class="span">{{defaultSelfCarry.full_address}}</view>
            </view>
            <view class="right_change" catchtap="gotochangeSelfCarry" >更换</view>
          </view>
          <view>
            <van-cell-group>
              <van-field bind:clear="infonameclear" bind:input="infonamebtn" clearable value="{{linkinfo.name}}" label="提货人姓名" placeholder="请输入提货人姓名" />
              <van-field bind:clear="infomobileclear" bind:input="infomobilebtn" type="number" clearable value="{{linkinfo.mobile}}" label="提货人手机" placeholder="请输入提货人手机" />
            </van-cell-group>
          </view>
        </block>
      </van-tab>
    </van-tabs>
  </view>
  <view class="showMyinfo" wx:if="{{showMyinfo}}">
    <van-cell-group>
      <van-cell title="姓名" value="{{myRealname}}" />
    </van-cell-group>
    <van-cell-group>
      <van-cell title="身份证号" value="{{myIdcard}}" />
    </van-cell-group>
    <van-cell-group>
      <van-cell title="修改个人信息" is-link bind:click="alertMyInfo" />
    </van-cell-group>
  </view>
  <view class="goods-detail">
    <view class="title" wx:if="{{isRent && !(rent_deposit_free == 0 && rent_free == 0)}}">
      <view class="icon_tishi">
        <van-icon name="bell" color="#f15353" />
      </view>
      <view class="span">您还可以免费租{{rent_free}}件商品!</view>
    </view>
    <view wx:for="{{order_data}}" wx:key="{{orindex}}" wx:for-item="item" wx:for-index="orindex">
      <view class="goods-shop">
        <view class="p">店铺名称：{{item.shop_name}}</view>
      </view>
      <view class="detail_good">
        <view class="goods" wx:key="index" wx:for="{{item.order_goods}}" wx:for-item="g">
          <view class="img">
            <image src="{{g.thumb}}" mode='widthFix' />
          </view>
          <view class="warp" wx:if="{{isRent}}">
            <view class="inner ul">
              <view class="li name">{{g.title}}</view>
              <view class="red li">
                <view wx:if="{{!(rent_deposit_free == 0 && rent_free == 0)}}" class="icon_rent">
                  <van-icon name="gem" color="#ff9500" />
                </view>
                <view class="redcon">
                  ￥{{(g.goods_price/g.total)}}元/天
                  <text class="span">×{{g.total}}</text>
                </view>
              </view>
            </view>
            <view class="right">
              <view class="price ul">
                <view class="li option">规格: {{g.goods_option_title}}</view>
                <view class="right">押金：￥{{g.has_one_lease_goods.goods_deposit}}</view>
              </view>
              <view class="ul rent-choice">
                <view class="left li">
                  <text class="span red">租金：￥{{g.price}}</text> ￥{{g.order_lease_goods[0].lease_price}}元/天
                </view>
              </view>
            </view>
          </view>
          <view class="warp" wx:if="{{!isRent}}">
            <view class="inner">
              <view class="name">{{g.title}}</view>
              <view class="option">规格: {{g.goods_option_title}}</view>
            </view>
            <view class="price">
              <view class="p">￥{{(g.price/g.total)}}</view>
              <view class="p">×{{g.total}}</view>
            </view>
          </view>
        </view>
        <view class="note">
          <view class="left">买家留言:</view>
          <view class="right">
            <input type="text" value="{{note[item.pre_id]}}" maxlength="{{50}}" placeholder="50字以内（选填）" bindinput="noteHandle" data-item="{{item}}" data-preid="{{item.pre_id}}" />
          </view>
        </view>
      </view>
      <view class="rent-info"></view>
      <view class="tbs">
        <view class="num list" wx:if="{{isRent}}">
          <block wx:if="{{!(rent_deposit_free == 0 && rent_free == 0)}}">
            <view class="left">会员权益</view>
            <view class="right">
              <van-switch checked="{{isOpenRight}}" bind:change="rentSelect" />
            </view>
          </block>
        </view>
        <view class="num list">
          <view class="left">{{isRent?"租金":"商品金额"}}</view>
          <view class="right">
            <text class="font red">￥{{item.order_goods_price}}</text>
          </view>
        </view>
        <view class="freight-num list">
          <view class="left">运费:</view>
          <view class="right">
            <view class="font red">￥{{item.dispatch_price}}</view>
          </view>
        </view>
        <view class="freight-num list" wx:for="{{service}}" wx:key="index">
          <view class="left">{{item.name}}</view>
          <view class="right">
            <view class="font red">￥{{item.amount}}</view>
          </view>
        </view>
        <block wx:if="{{item.order_deductions}}">
          <view class="score list" wx:for="{{item.order_deductions}}" wx:for-item="d" wx:for-index="dindex" wx:key="{{dindex}}">
            <view class="left">
              可用{{d.coin}}{{d.name || integral}}
              <text class="span">抵扣{{d.amount}}元</text>
            </view>
            <view class="right">
              <van-switch data-orindex="{{orindex}}" data-dindex="{{dindex}}" checked="{{d.checked}}" bind:change="discountHandle" />
            </view>
          </view>
        </block>
        <blcok wx:if="{{item.order_coin_exchanges}}">
          <view class="score list" wx:for-item="d" wx:for-index="dindex" wx:key="{{dindex}}" wx:for="{{item.order_coin_exchanges}}">
            <view class="left ">
              {{ d.coin }}{{ d.name || integral }}
              <text class="span">抵扣{{ d.amount }}元</text>
            </view>
            <view class="right">
            </view>
          </view>
        </blcok>
      </view>
    </view>
    <view class="rent-time" wx:if="{{isRent && isRightChoose}}">
      <view class="text">
        <text class="span">租期：</text>
      </view>
      <view class="week">
        <view class="button {{index == currentIndex?'active':''}}" wx:for="{{rentTime}}" wx:key="index" wx:for-item="item" wx:for-index="index" catchtap="rentTimeChoose" data-item="{{item}}" data-index="{{index}}">
          <view>
            <view class="span">{{item.term_name}}</view>
            <view class="red span">优惠{{item.term_discount}}%</view>
          </view>
        </view>
        <view class="button" catchtap="rentSelfChoose">自定义</view>
      </view>
    </view>
  </view>
  <view class="tbs coupon-list" catchtap="showCoupon">
    <view class="list">
      <view class="left">
        优惠券
        <text class="font">{{coupon_size}}张可用</text>
      </view>
      <view class="right">
        <view class="font red">
          <text class="span">{{(use_coupon_size==0) ? "未使用":"已使用"+use_coupon_size+"张"}}</text>
        </view>
      </view>
    </view>
  </view>
  <view class="invoice" catchtap="show1btn" wx:if="{{isShowInvoice}}">
    <view class="left">
      <view class="span">发票</view>
      <view class="type">
        <text class="font">{{ invoicename }}</text>（{{ companyname }}—{{ showInvoiceTitle }}）
      </view>
    </view>
    <view class="right">
      <van-icon name="arrow" color="#333" size='32rpx' />
    </view>
  </view>
  <view class="tbs tbsbottom">
    <view class="price list" wx:for="{{total_items}}" wx:key="{{item.code}}">
      <view class="left ">{{ item.name }}</view>
      <view class="right">
        <view class="font red">
          <text class="span" wx:if="{{item.code=='total_deduction_price'}}">-</text> ￥{{ item.amount }}
        </view>
      </view>
    </view>
    <view class="price list" wx:for="{{discount_amount_items}}" wx:key="{{item.code}}">
      <view class="left ">{{ item.name }}</view>
      <view class="right">
        <view class="font red">-￥{{ item.amount }}</view>
      </view>
    </view>
    <view class="price list" wx:for="{{service}}" wx:key="{{item.name}}" wx:if="{{item.amount!=0.00}}">
      <view class="left ">{{ item.name }}</view>
      <view class="right">
        <view class="font red">￥{{ item.amount }}</view>
      </view>
    </view>
    <view class="price list" wx:if="{{isRent}}">
      <view class="left ">押金（可退还）</view>
      <view class="right">
        <text class="font red">￥{{goodsInfo.total_deposit}}</text>
      </view>
    </view>
    <view class="agreement" wx:if="{{isRent}}">
      <view class="right">
        <van-checkbox value="{{agreement}}" checked-color="#f15353" bind:change="agreementbtn" shape="square"></van-checkbox>
      </view>
      <view class="left">
        <text class="span">我已认真阅读并同意该</text>
        <text class="span red" catchtap="showAgreement">《租赁协议》</text>
      </view>
    </view>
    <view class="agreement" wx:if="{{AgreementPay && !isRent}}">
      <view class="right">
        <van-checkbox value="{{agreementPay}}" checked-color="#f15353" bind:change="agreementPaybtn" shape="square"></van-checkbox>
      </view>
      <view class="left">
        <text class="span red" catchtap="showPay">《支付协议》</text>
      </view>
    </view>
  </view>
  <view style="height: 100rpx"></view>
  <view class="detail_pay">
    <view class="ul total">
      <view class="deposit li">
        <text class="small" wx:if="{{isRent}}">(押金￥{{goodsInfo.total_deposit}}可退)</text>
      </view>
      <view class="li" style="display:flex;align-items:center;">
        合计：
        <view class="font">
          ￥
          <text class="span span_t">{{price}}</text>
        </view>
      </view>
    </view>
    <view class="order_delete" catchtap="submit">提交订单
      <!-- <catchform></catchform> -->
    </view>
  </view>
  <van-popup bind:click-overlay="addresclosebtn" show="{{popupSpecs}}" position="bottom" overlay="{{true}}">
    <view class="add-info">
      <view class="ul">
        <view class="li" wx:key="{{addressindex}}" wx:for="{{addressData}}" wx:for-item="item" wx:for-index="addressindex" catchtap="selectAddress" data-addr="{{item}}">
          <view class="liia">
            <view class="span name">{{item.username+" "+item.mobile}}</view>
            <view class="p address" wx:if="{{item.street}}">
              {{item.province+" "+item.city+" "+item.district+" "+item.street}} {{item.address}}
            </view>
            <view class="p address" wx:else>
              {{item.province+" "+item.city+" "+item.district}} {{item.address}}
            </view>
          </view>
          <view class="p edit_btn" wx:if="{{item.isdefault}}" catchtap="editAddress">编辑</view>
        </view>
      </view>
    </view>
    <view class="button address-plus" catchtap="addAddress">新增地址</view>
  </van-popup>
  <van-popup custom-style="width:100%;height:100%;" show="{{popAddAddress}}" position="right" overlay="{{false}}">
    <view class="addcontent">
      <van-nav-bar title="添加地址" left-text="" right-text="" left-arrow bind:click-left="popAddressClose" />
      <view class="address_a">
        <view class="ul">
          <view class="li">
            <view class="span">收件人：</view>
            <input type="text" value="{{form.username}}" maxlength="{{20}}" placeholder="请输入收件人" bindinput="usernameinp" />
          </view>
          <view class="li">
            <view class="span">联系电话：</view>
            <input type="number" value="{{form.mobile}}" maxlength="{{15}}" placeholder="请输入联系电话" bindinput="mobileinp" />
          </view>
        </view>
      </view>
      <view class="defaultAdd">
        <view class="left">设置默认地址：</view>
        <view class="right">
          <van-switch checked="{{form.isDefault}}" bind:change="isDefaultChange" />
        </view>
      </view>
      <view class="addName">
        <van-cell title="所在地区：" value="{{addressName?addressName:'请选择收货地址'}}" is-link bind:click="openDateLwtbtn" />
      </view>
      <view class="addstreet" wx:if="{{strShow}}">
        <van-cell title="街道：" value="{{form.street?form.street:'请选择街道'}}" is-link bind:click="streetChoose" />
      </view>
      <view class="text_adderss">
        <input placeholder="请输入详细地址" bindinput="addressinp" value="{{form.address}}" maxLength="100" />
      </view>
      <view class="adderss_btn" wx:if="{{create}}" data-apptype="" catchtap="appendAddress">
        <view class="button">
          <view class="plus_circle">
            <van-icon name="add-o" />
          </view>
          <view class="text">保存</view>
        </view>
      </view>
      <view class="adderss_btn" wx:if="{{!create}}" catchtap="appendAddress" data-apptype="update">
        <view class="button">编辑</view>
      </view>
    </view>
  </van-popup>

  <view class="b-mask {{openDateLw}}" bindtap="_closeDateLw"></view>
  <view class="dateBe {{openDateLw}}">
    <view class="head">
      <view class="ll" bindtap="_closeDateLw">取消</view>
      <view class="rr" bindtap="_okAddress">确定</view>
    </view>
    <view class="main">
      <picker-view indicator-style="height: 50px;" style="width: 100%; height: 300px;" value="{{[pickerValue[0],pickerValue[1],pickerValue[2]]}}" bindchange="bindChange">
        <picker-view-column id="provinceData">
          <view wx:for="{{provinceData}}" wx:key="index" style="line-height: 50px">
            {{item.areaname}}
          </view>
        </picker-view-column>
        <picker-view-column id="cityData">
          <view wx:for="{{cityData}}" wx:key="index" style="line-height: 50px">
            {{item.areaname}}
          </view>
        </picker-view-column>
        <picker-view-column id="districtData">
          <view wx:for="{{districtData}}" wx:key="index" style="line-height: 50px">
            {{item.areaname}}
          </view>
        </picker-view-column>
      </picker-view>
    </view>
  </view>
  <van-dialog use-slot async-close show="{{rentShow}}" show-cancel-button  bind:close="rentShowClose">
    <van-field type="number" bind:clear="rentclear" bind:input="rentShowinp" value="{{tenancy}}" label="自定义租期" placeholder="请输入自定义租期" />
  </van-dialog>
  <van-popup bind:click-overlay="couponclose" show="{{popupCouponSpecs}}" position="bottom" overlay="{{true}}">
    <view class="add-info">
      <view class="coupon-list-info" wx:for="{{coupons}}" wx:key="index" wx:for-item="coupon" wx:for-index="index">
        <view class="checkList" wx:if="{{cup_notice}}">
          <van-checkbox data-item="{{coupon}}" data-index="{{index}}" disabled="{{!coupon.valid}}" value="{{coupon.checked}}" bind:change="selectCoupon" shape="square"></van-checkbox>
        </view>
        <view class="{{coupon.valid?'coupon_voucher_main':''}} {{!coupon.valid?'coupon_voucher_gray':''}}">
          <view class="coupon_voucher_left">
            <view wx:if="{{coupon.belongs_to_coupon.coupon_method==1}}">
              <view class="p coupon_voucher_amount type_large">
                {{coupon.belongs_to_coupon.deduct}}
              </view>
              <view class="p coupon_voucher_limit">满{{coupon.belongs_to_coupon.enough}}立减</view>
            </view>
            <view wx:else>
              <view class="p coupon_voucher_amount type_large">
                {{coupon.belongs_to_coupon.discount}}折
              </view>
              <view class="p coupon_voucher_limit">满{{coupon.belongs_to_coupon.enough}}立享</view>
            </view>
          </view>
          <view class="coupon_voucher_hr"></view>
          <view class="coupon_voucher_right">
            <view class="p coupon_voucher_range">{{coupon.belongs_to_coupon.name}}</view>
            <view class="p coupon_voucher_period">{{coupon.time_start}}-{{coupon.time_end}}</view>
          </view>
        </view>
      </view>
    </view>
    <view class="coubtngroup">
      <view class="btn sure" bindtap="couponclose">确认</view>
      <view class="btn close" bindtap="couponclose">取消</view>
    </view>
  </van-popup>
  <van-popup custom-style="width:100%;height:100%;" show="{{agreementShow}}" position="right" overlay="{{false}}">
    <view class="agreementContent">
      <van-nav-bar title="租赁协议" left-text="" right-text="" left-arrow bind:click-left="agreementClose" />
      <view class="h3">{{agreeCon.pact_title}}</view>
      <view class="p">
        <rich-text nodes="{{agreeCon.lease_toy_pact ?agreeCon.lease_toy_pact : ''}}"></rich-text>
        <!-- <template is="wxParse" data="{{wxParseData:article_1.nodes}}" /> -->
      </view>
    </view>
  </van-popup>
  <van-popup custom-style="width:100%;height:100%;" show="{{agreementPayShow}}" position="right" overlay="{{false}}">
    <view class="agreementContent">
      <van-nav-bar title="支付协议" left-text="" right-text="" left-arrow bind:click-left="showPayClose" />
      <view class="p">
        <rich-text nodes="{{AgreementPay}}"></rich-text>
        <!-- <template is="wxParse" data="{{wxParseData:article_2.nodes}}" /> -->
      </view>
    </view>
  </van-popup>
  <van-popup show="{{show1}}" position="bottom" bind:close="closePopup">
    <view class="popup_box">
      <view class="h1">发票
        <icon class="iconfont icon-close11" catchtap="closePopup"></icon>
      </view>
      <view class="p">
        <icon class="iconfont icon-tishi1"></icon>
        <text class="span">发票须知：启用电子普通发票，订单完成后24小时内开具，点击“我的订单“可查看和下载</text>
      </view>
      <view class="type_box">
        <view class="h2">发票类型</view>
        <view class="type">
          <view class="button {{iscur_c?'cur':''}}" wx:if="{{electron_status}}" catchtap="invoice_type">
            电子发票
          </view>
          <view class="button {{iscur_d?'cur':''}}" wx:if="{{papery_status}}" catchtap="invoice_type">
            纸质发票
          </view>
        </view>
      </view>
      <view class="type_box">
        <view class="h2">发票抬头</view>
        <view class="type">
          <view class="button {{iscur?'cur':''}}" catchtap="invoice_title">
            个人
          </view>
          <view class="button {{iscur_b?'cur':''}}" catchtap="invoice_title">
            单位
          </view>
        </view>
        <view class="input_box" wx:if="{{person_status}}">
          <van-field value="{{invoice_list.call}}" placeholder="请输入发票抬头" bind:blur="callinp" />
        </view>
        <view class="input_box" wx:if="{{unit_status}}">
          <van-field value="{{invoice_list.call}}" placeholder="请填写单位名称" bind:blur="callinp" />
          <van-field value="{{invoice_list.company_number}}" placeholder="请添加纳税人识别号" bind:blur="companyNumberinp" />
        </view>
      </view>
      <view class="btn">
        <view class="button" catchtap="Subinvoice">确定</view>
      </view>
    </view>
  </van-popup>
</view>
<van-popup custom-style="width:100%;height:100%;overflow:auto;" show="{{streetShow}}" position="right" overlay="{{false}}">
  <view class="streetContent">
    <van-nav-bar title="选择街道" left-text="" right-text="" left-arrow bind:click-left="streetClose" />
    <van-cell-group>
      <van-cell wx:for="{{districtVal}}" wx:for-index="districtValindex" wx:key="{{districtValindex}}" title="{{item.areaname}}" data-strname="{{item.areaname}}" is-link bindtap="streetConfirm" />
    </van-cell-group>
  </view>
</van-popup>
