<!-- 拜访记录 -新增 -->
<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}}" hide-label show-row="{{false}}" disabled/>
    </l-form-item>
  
    <l-form-item label="集团" name="groupName" label-width="300rpx;padding-left:32rpx;">
        <l-input id="groupName" value="{{create.temp.groupName}}" hide-label show-row="{{false}}" disabled/>
    </l-form-item>

    <l-form-item label="回访日期" name="tdate"  label-width="300rpx" rules="{{rules.tdate}}">
        <picker    name="tdate" mode="date" value="{{create.temp.tdate}}" start="2015-09-01" bindchange="on_tdate_tap">
            {{table.getdataListParm.parammaps.beginDate}}
            <l-input id="tdate"  value="{{create.temp.tdate}}" hide-label disabled  l-input-class="import_txt"  />
        </picker>
    </l-form-item>

    

    <l-form-item label="回访人" name="visiterName" label-width="300rpx" rules="{{rules.visiterName}}"  >
        <l-input id="visiterName" value="{{create.temp.visiterName}}" hide-label show-row="{{false}}" disabled/>
    </l-form-item>

    <l-form-item label="被回访人" name="receiverName" label-width="300rpx" rules="{{rules.receiverName}}" >
        <l-input id="receiverName" value="{{create.temp.receiverName}}" hide-label show-row="{{false}}" bind:lininput="change_receiver_input" bind:linconfirm="confirm_receiver_input" bind:linblur="confirm_receiver_input" clear="{{true}}" placeholder="请输入被回访人"/>
    </l-form-item>
    <scroll-view class = "receiver_bx" scroll-y="true" wx:if="{{receiverShow}}" style = "top:450rpx;">
        <view  class = "receiver_txt" wx:if="{{r_txt_Show}}">暂无内容</view>
        <block wx:for="{{receiverNameList}}" wx:for-item="item"  wx:key="index">
            <view class = "receiver_txt" bindtap="on_rece_tap" data-id="{{item.id}}" data-name="{{item.name}}"> {{item.name}} </view>
        </block>
    </scroll-view>
    <!-- <l-form-item label="被回访人" name="receiverName" label-width="300rpx;" rules="{{rules.receiverName}}">
        <picker bindchange="change_receiver" mode = "selector" range-key="name" value="{{receiverIndex}}" range="{{receiverNameList}}">
          <l-input id="receiverName" value="{{receiverNameList[receiverIndex]['name']}}" hide-label show-row="{{false}}" placeholder="请选择被回访人" disabled/>
      </picker>
    </l-form-item> -->


    <l-form-item label="被回访人电话" name="receiverTel" label-width="300rpx;" rules="{{rules.receiverTel}}"  >
        <l-input id="receiverTel" value="{{create.temp.receiverTel}}" hide-label show-row="{{false}}" placeholder="请输入电话"/>
    </l-form-item>


    <l-form-item label="回访类型" name="typeIdsArr" label-width="300rpx;" rules="{{rules.typeIdsArr}}">
        <l-checkbox-group bind:linchange="change_typeName" id="typeIdsArr"  >
            <l-checkbox
                wx:for-items="{{typeNameList}}"
                wx:key="{{item.id}}"
                key="{{item.id}}"
                checked="{{item.checked}}"
                disabled="{{item.disabled}}">
                {{item.name}}
            </l-checkbox>
        </l-checkbox-group>
    </l-form-item>
    <l-form-item label="回访状态" name="statusName" label-width="300rpx;" rules="{{rules.statusName}}">
        <l-radio-group current="良好" none-checked="{{false}}" id="statusName" placement="row" current = "{{create.temp.statusName}}">
            <l-radio key="良好">良好</l-radio> 
            <l-radio key="不佳" >不佳</l-radio>
        </l-radio-group>
    </l-form-item>

    



    <l-form-item label="回访情况" name="content" label-width="300rpx;" rules="{{rules.content}}">
        <l-textarea id="content" value="{{create.temp.content}}" auto-height="{{true}}"  maxlength='255'/>
    </l-form-item>

    <l-form-item label="下一步计划" name="nextName" label-width="300rpx;padding-left:30rpx;"  >
        <picker bindchange="change_next" mode = "selector" range-key="name" value="{{nextIndex}}" range="{{nextNameList}}" wx:if="{{allDisabled}}" >
          <l-input id="nextName" value="{{nextNameList[nextIndex]['name']}}" hide-label show-row="{{false}}" placeholder="请选择下一步计划" disabled/>
      </picker>
    </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>

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

 
 

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

</view>

