<!-- 前台导入wxmlUtil.wxs -->
<wxs src='/utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
<!-- 单据信息 -->
<loading wx:if="{{loading}}"></loading>

<view class="top">
  <view class="top-center">
    <van-radio-group value="{{ radioFollowUp }}" class="radio" bind:change="onRadioFollowUp">
      <view style="flex: 1;">
        <van-radio name="1" style="margin: 2vw;font-size: 15px;" checked-color="#3E69F6">{{$t['customerReception']}} <text wx:if="{{pageFlag!='edit'}}" style='color:red;font-size:15px;'>*</text>
          <view style="color: #95A8CB;font-size: 25rpx;">
            {{$t['retainedReception']}}
          </view>
        </van-radio>
      </view>
      <view style="flex: 1;">
        <van-radio name="2" style="margin: 2vw;font-size: 15px;" checked-color="#3E69F6">{{$t['strangeReception']}}
          <view style="color: #95A8CB;font-size: 25rpx;">
            {{$t['noPhoneReception']}}
          </view>
        </van-radio>
      </view>
    </van-radio-group>
  </view>
</view>


<dk-form id="{{formName}}" routeObjName="{{routeObjName}}" cardList="{{cardList}}" contentObj="{{contentObj}}" model:value="{{formData}}" bind:changePhoneblur="changePhoneblur" bind:chooseData="chooseData" table="{{table}}">
</dk-form>

<view style="height: 200rpx;"></view>
<!-- 购物车 -->
<view style="position: fixed;bottom: 230rpx;right: 30rpx;" wx:if="{{formType !=='detail'}}">
  <view bind:tap="toShopping" class="btn-add-class">
    <van-icon name="cart-o" color="#FFFFFF" size="60rpx" />
  </view>
</view>
<!-- <view style="position: fixed;bottom: 230rpx;right: 30rpx;" wx:if="{{formType =='detail'}}">
  <view bind:tap="toEdit" class="btn-add-class-2">
    <van-icon name="edit" color="#FFFFFF" size="60rpx" />
  </view>
</view> -->
<!-- 编辑  -->
<view wx:if="{{formType =='detail'}}" style="position: fixed;bottom: 230rpx;right: 30rpx;z-index: 99;" bindtap="toEdit">
  <image src="{{imageUrl + 'edit.png'}} " class="edit-class"  />
</view>

<!--  保存 -->
<dk-save-button model:value="{{btnFormData}}" wx:if="{{formType !=='detail'}}" btnAutoWidthFlag="{{true}}" btnRightFlag="{{true}}" buttonList="{{buttonSaveList}}" contentList="{{contentSaveList}}" bind:open="save"></dk-save-button>