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

    
    <l-form-item label="服务状态" name="statusName" label-width="300rpx;padding-left:32rpx;">
        <l-input id="statusName" value="{{create.temp.statusName}}" hide-label show-row="{{false}}" disabled/>
    </l-form-item>

    <l-form-item label="服务单号" name="serviceCode" label-width="300rpx;padding-left:32rpx;">
        <l-input id="serviceCode" value="{{create.temp.serviceCode}}" hide-label show-row="{{false}}" disabled/>
    </l-form-item>

    <l-form-item label="客户名称" name="customerName" label-width="300rpx;padding-left:32rpx;">
        <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="receiverName" label-width="300rpx;padding-left:32rpx;" >
        <l-input id="receiverName" value="{{create.temp.receiverName}}" hide-label show-row="{{false}}" disabled/>
    </l-form-item>

  

    <l-form-item label="接待人电话" name="receiverTel" label-width="300rpx;padding-left:32rpx;"  >
        <l-input id="receiverTel" value="{{create.temp.receiverTel}}" hide-label show-row="{{false}}" placeholder="输入电话" disabled/>
    </l-form-item>
    <l-form-item label="服务类型" name="serviceTypeName" label-width="300rpx;padding-left:32rpx;"  >
        <l-input id="serviceTypeName" value="{{create.temp.serviceTypeName}}" hide-label show-row="{{false}}" disabled/>
    </l-form-item>

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

     

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

    

    <l-form-item label="服务描述" name="describe" label-width="300rpx;padding-left:32rpx;">
        <l-textarea id="describe" value="{{create.temp.describe}}" auto-height="{{true}}"  maxlength='255' disabled/>
    </l-form-item>

   

    

    <l-form-item label="拜访记录关联" name="visitName" label-width="300rpx;padding-left:30rpx;"  >
        <picker bindchange="change_visit" mode = "selector" range-key="name" value="{{visitIndex}}" range="{{visitNameList}}" disabled>
          <l-input id="visitName" value="{{visitNameList[visitIndex]['name']}}" hide-label show-row="{{false}}" placeholder="" disabled/>
      </picker>
    </l-form-item>

    <l-form-item label="回访记录关联" name="telvisitName" label-width="300rpx;padding-left:30rpx;"  >
        <picker bindchange="change_telvisit" mode = "selector" range-key="name" value="{{telvisitIndex}}" range="{{telvisitNameList}}" disabled>
          <l-input id="telvisitName" value="{{telvisitNameList[telvisitIndex]['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' disabled/>
    </l-form-item>
    <l-form-item label="定位" name="location" label-width="300rpx;padding-left:32rpx;" >
        <!-- <l-input id="location" value="{{create.temp.location}}" hide-label show-row="{{false}}" disabled/> -->
        <l-textarea id="location" value="{{create.temp.location}}" auto-height="{{true}}"  indicator ='{{false}}' disabled/>
    </l-form-item>
    <l-form-item label="服务单照片" name="serviceCodePhoto0" label-width="300rpx;padding-left:32rpx;" label-placement="column" >
        <!-- <l-image-picker size="3"  id="serviceCodePhoto0"  urls="{{serviceCodePhotoUrlList}}"/> -->
        <view class="pic-bx">
            <block wx:for="{{serviceCodePhotoUrlList}}" wx:for-item="item" wx:key="">
                <!-- <image class="ser-img" mode="aspectFit" src="{{item}}" bindtap="on_see_tap1" data-urlmsg ="{{item}}"  ></image>
                <view class="pop-big" wx:if="{{photoShow1}}">
                    <l-icon name="close" class="big-close" color="#F4516C" bindtap="on_close_tap1"/>
                    <image class="ser-img-big" mode="aspectFit" src="{{photoUrl1}}"></image>
                </view> -->
                <image class="ser-img" mode="aspectFit" src="{{item}}" catchtap="on_see_tap1" data-urlmsg ="{{item}}"  ></image>
                <image class="ser-img-big" mode="aspectFit" src="{{photoUrl1}}"  wx:if="{{photoShow1}}">
                    <l-icon name="close" class="big-close" color="#F4516C" catchtap="on_close_tap1"/>
                </image>
            </block>
        </view>

    </l-form-item>

    <l-form-item label="现场照片" name="scenePhoto" label-width="300rpx;padding-left:32rpx;" label-placement="column" >
        <!-- <l-image-picker size="3"  id="scenePhoto" urls="{{scenePhotoUrlList}}"/> -->
        <view class="pic-bx">
            <block wx:for="{{scenePhotoUrlList}}" wx:for-item="item" wx:key="">
              
                <!-- <image class="ser-img" mode="aspectFit" src="{{item}}" bindtap="on_see_tap2" data-urlmsg ="{{item}}"  ></image>
                <view class="pop-big" wx:if="{{photoShow2}}">
                    <l-icon name="close" class="big-close" color="#F4516C" bindtap="on_close_tap2"/>
                    <image class="ser-img-big" mode="aspectFit" src="{{photoUrl2}}"></image>
                </view> -->
                <image class="ser-img" mode="aspectFit" src="{{item}}" catchtap="on_see_tap2" data-urlmsg ="{{item}}"  ></image>
                <image class="ser-img-big" mode="aspectFit" src="{{photoUrl2}}"  wx:if="{{photoShow2}}">
                    <l-icon name="close" class="big-close" color="#F4516C" catchtap="on_close_tap2"/>
                </image>
            </block>
        </view>
    </l-form-item>

      
    <view class = "service_bx">
        <l-button class = "mr20"    wx:if="{{ create.temp.isFeedBack == '1'}}"  bindtap="on_feedback_tap"  size="medium">服务反馈</l-button>
        <l-button  class = "mr20"  wx:if="{{ create.temp.isComplete == '1'}}"  bindtap="on_service_tap"    size="medium">完成服务</l-button>
        <l-button class = "mr20"  wx:if="{{ create.temp.isRevoke == '1'}}"  bindtap="on_revoke_tap"  size="medium">撤销</l-button>
    </view>
   
</l-form>

</view>

 