addkehu.wxml 4.0 KB
<view class="tianjiakehu">添加客户</view>

<view class="kehubox">

  <view class="kehutian">
    <view class="fapiaotai ming">
      <text class="kehuact">客户名称</text>

    </view>
    <view class="fapiaotaienter ming">
      <input placeholder='请输入客户名称' placeholder-class='shurufa' bindinput="enterkehu" value="{{customer_name}}" />
    </view>
  </view>

  <view class="kehutian">
    <view class="fapiaotai ming">
      <text class="kehuact">收货人</text>

    </view>
    <view class="fapiaotaienter ming">
      <input placeholder='请输入收货人' placeholder-class='shurufa' bindinput="entershouhuo" value="{{shouhuoname}}" />
    </view>
  </view>

  <view class="kehutian">
    <view class="fapiaotai ming">联系人</view>
    <view class="fapiaotaienter ming">
      <input placeholder='请输入联系人' placeholder-class='shurufa' bindinput="enterlianxi" value="{{lianxiname}}" />
    </view>
  </view>

  <view class="kehutian">
    <view class="fapiaotai ming">手机号</view>
    <view class="fapiaotaienter ming">
      <input placeholder='请输入手机号' placeholder-class='shurufa' bindinput="enterphone" type="number" value="{{mobile}}" />
    </view>
  </view>


  <!-- <view class="kehuitem">
    <input placeholder='客户名称' />
  </view> -->

  <view class="kehuitem diquitem">
    <view class="diqusel">地区选择</view>
    <picker mode="region" bindchange="bindRegionChange" value="{{region}}" custom-item="{{customItem}}">
      <view class="diquright">

        <view class="selcity">
          <view class="selectdiqu">
          {{diquselect}}
          <!-- {{region[0]}}{{region[1]}}{{region[2]}} -->
          </view>

          <view class="selimg">
            <image src="/img/xiasanjiao.png"></image>
          </view>
        </view>
        <!-- <view class="quan">
        <view class="all">全部</view>
        <view class="selimg">
          <image src="/img/xiasanjiao.png"></image>
        </view>
      </view> -->
      </view>
    </picker>




  </view>

  <view class="kehutian">
    <view class="fapiaotai ming">详细地址</view>
    <view class="fapiaotaienter ming">
      <input placeholder='请输入详细地址' bindinput="enteraddress" placeholder-class='shurufa' value="{{address}}" value="{{address}}" />
    </view>
  </view>

</view>

<!-- 发票信息 -->
<view class="fapiaoinfo">
  <view class="fapiaoword">发票信息</view>

  <view class="taitouleixing">
    <view class="infoleft">抬头类型</view>

    <view class="infoitem" bindtap="selectkind" data-type="0">
      <view class="taitouimg">
        <image src="{{kindtype==0?'/img/xuan.png':'/img/noxuan.png'}}"></image>
      </view>
      <view class="qiyedanwei">企业单位</view>
    </view>

    <view class="infoitem" bindtap="selectkind" data-type="1">
      <view class="taitouimg">

        <image src="{{kindtype==1?'/img/xuan.png':'/img/noxuan.png'}}"></image>

      </view>

      <view class="qiyedanwei">个人/非企业单位</view>
    </view>
  </view>


  <view class="fapiaotaitouhead">
    <view class="fapiaotai">发票抬头</view>
    <view class="fapiaotaienter">
      <input placeholder='请输入发票抬头' bindinput="fapiaohead" placeholder-class='shurufa' value="{{invoice}}" />
    </view>
  </view>
  <view class="fapiaotaitouhead">
    <view class="fapiaotai">税号</view>

    <view class="fapiaotaienter">
      <input placeholder='请输入税号' bindinput="shuihao" placeholder-class='shurufa' value="{{number}}" />
    </view>
  </view>


  <!-- <view class="zongjine">
    <view class="zongjineleft">总金额</view>
    <view class="zongjineright">¥190</view>
  </view> -->
</view>


<view class="shezhimoren">
  <view class="shezhileft">是否设置为默认用户</view>

  <view class="shezhiimg" bindtap="xuanopen">
    <image src="/img/close.png" wx:if="{{selshow}}"></image>
    <image src="/img/open.png" wx:else></image>
  </view>
</view>
<view class="quding" bindtap="editqueding" wx:if="{{editype==1}}">确定</view>
<view class="quding" bindtap="quding" wx:else>确定</view>