<!-- 拜访记录 -新增 -->
<view class="wrap">
 <l-form name="student" l-form-btn-class="l-form-btn-class" bind:linsubmit="submit">
 

    <l-form-item label="客户名称" name="customerName" label-width="300rpx;" rules="{{rules.customerName}}">
        <l-input id="customerName" value="{{create.temp.customerName}}"  placeholder="请输入客户名称" hide-label show-row="{{false}}"/>
    
      
    </l-form-item>

    <l-form-item label="客户集团" name="groupName" label-width="300rpx;" rules="{{rules.groupName}}">
    
        <picker bindchange="change_group" mode = "selector" range-key="name" value="{{groupIndex}}" range="{{groupNameList}}">
          <l-input id="groupName" value="{{groupNameList[groupIndex]['name']}}" hide-label show-row="{{false}}" placeholder="请选择客户集团" disabled/>
      </picker>
    </l-form-item>
    <l-form-item label="客户状态" name="customeStatusName" label-width="300rpx;" rules="{{rules.customeStatusName}}">
        <picker bindchange="change_customeStatus" mode = "selector" range-key="name" value="{{customeStatusIndex}}" range="{{customeStatusList}}">
          <l-input id="customeStatusName" value="{{customeStatusList[customeStatusIndex]['name']}}" hide-label show-row="{{false}}" placeholder="请选择客户状态" disabled/>
      </picker>
    </l-form-item>
  
    <l-form-item label="统一社会信用代码" name="scode" label-width="300rpx;padding-left:32rpx;" >
        <l-input id="scode" value="{{create.temp.scode}}" placeholder="请输入18位代码" hide-label show-row="{{false}}"/>
    </l-form-item>

    <l-form-item label="客户区域" name="rangeName" label-width="300rpx;padding-left:32rpx;" >
        <picker bindchange="change_range" mode = "selector" range-key="name" value="{{rangeIndex}}" range="{{rangeNameList}}">
          <l-input id="rangeName" value="{{rangeNameList[rangeIndex]['name']}}" hide-label show-row="{{false}}" placeholder="请选择客户区域" disabled/>
      </picker>
    </l-form-item>

    <l-form-item label="客户省份" name="province" label-width="300rpx;padding-left:32rpx;" >
        <picker bindchange="change_province" mode = "selector" range-key="name" value="{{provinceIndex}}" range="{{provinceList}}">
          <l-input id="province" value="{{provinceList[provinceIndex]['name']}}" hide-label show-row="{{false}}" placeholder="请选择客户省份" disabled/>
      </picker>
    </l-form-item>
    
    <l-form-item label="客户地址" name="address" label-width="300rpx;padding-left:32rpx;">
        <l-input id="address"  placeholder="请输入客户地址" value="{{create.temp.address}}" hide-label show-row="{{false}}"/>
    </l-form-item>

    <l-form-item label="负责人" name="directorName" label-width="300rpx"  rules="{{rules.directorName}}" >
        <picker bindchange="change_director" mode = "selector" range-key="name" value="{{directorIndex}}" range="{{directorNameList}}">
          <l-input id="directorName" value="{{directorNameList[directorIndex]['name']}}" hide-label show-row="{{false}}" placeholder="请选择负责人" disabled/>
      </picker>
    </l-form-item>

    <l-form-item label="创建人" name="createrName" label-width="300rpx;padding-left:32rpx;"  >
        <l-input id="createrName" value="{{create.temp.createrName}}" hide-label show-row="{{false}}" disabled/>
    </l-form-item>

    <l-form-item label="创建日期" name="createtime" label-width="300rpx;padding-left:32rpx;">
        <l-input id="createtime" value="{{create.temp.createtime}}" hide-label show-row="{{false}}" disabled/>
    </l-form-item>

    <l-form-item label="备注" name="remark" label-width="300rpx;padding-left:30rpx;" >
        <l-textarea id="remark" value="{{create.temp.remark}}" auto-height="{{true}}"    maxlength='255'/>
    </l-form-item>

    

 
 

    <view slot="submit" style="padding-left:200rpx">
        <l-button>保存</l-button>
    </view>
   
</l-form>

</view>

