<!--pages/loadAppoint/info.wxml-->
<view class="container">
  <view class="part">
    <van-field label="预约单号" input-align="right" model:value="{{info.loadNumber}}" readonly></van-field>
    <van-field label="订单类型" input-align="right" readonly>
      <text slot="button" class="status status{{info.orderType}}">{{filters.codeAnalysis(appointTypeArray, info.orderType, 'dictValue', 'dictLabel')}} </text>
    </van-field>
    <van-field label="客户名称" input-align="right" model:value="{{info.customerName }}" readonly></van-field>
    <van-field label="联系人" input-align="right" model:value="{{info.customerContact }}" readonly></van-field>
    <van-field label="手机号" input-align="right" model:value="{{info.customerPhone }}" readonly></van-field>
    <van-field label="客户地址" input-align="right" model:value="{{info.customerAddress }}" readonly></van-field>
    <van-field label="货品名称" input-align="right" model:value="{{info.goodsName }}" readonly></van-field>
    <van-field label="货品编码" input-align="right" model:value="{{info.goodsCode }}" readonly></van-field>
    <van-field label="订单重量" input-align="right" model:value="{{info.orderWeight +'吨'}}" readonly></van-field>
    <van-field label="单价" input-align="right" model:value="{{info.orderPrice +'元/吨'}}" readonly></van-field>
    <van-field label="订单总额" input-align="right" model:value="{{info.orderAmount +'元'}}" readonly></van-field>
    <van-field label="运费单价" input-align="right" model:value="{{info.freightPrice +'元/吨'}}" readonly></van-field>
    <van-field label="订单状态" input-align="right" readonly>
      <text slot="button" class="status orderStatus{{info.status}}">{{info.statusName}}</text>
    </van-field>
    <van-field label="船运供应商" input-align="right" model:value="{{info.supplierName}}" readonly></van-field>
    <van-field label="创建时间" input-align="right" model:value="{{info.createTime}}" readonly></van-field>
    <van-field label="创建人" input-align="right" model:value="{{info.createUserName}}" readonly></van-field>

    <van-field label="结束说明" input-align="right" model:value="{{info.endReason}}" readonly wx:if="{{ info.endReason != '' }}"></van-field>
    <van-field label="填报重量" input-align="right" model:value="{{info.fillWeight}}" readonly wx:if="{{ info.fillWeight != '' }}"></van-field>
    <van-field label="填报时间" input-align="right" model:value="{{info.fillTime}}" readonly wx:if="{{ info.fillTime != '' }}"></van-field>
  
    <van-field center clearable label="司机回签" placeholder="签字图片" border="{{ false }}" use-button-slot class="radioHeight fieldAutoHeight">
      <view slot="input" class="radioHeightBx" wx:if="{{ info.customerSign }}">
        <van-image slot="input" width="100px" height="100px" src="{{ info.customerSign }}" />
      </view>
    </van-field>
    <van-field label="签名时间" input-align="right" model:value="{{info.signTime}}" readonly></van-field>
  </view>
  <view style="height: 30px;"></view>

  <view class="orderLoadBox">
    <block wx:if="{{supplierData.length>0}}">
      <view class="title">汽运供应商列表</view>
      <scroll-view class="dialogUser" scroll-y bindscrolltolower="bindscrolltolowerFun">
        <block wx:for="{{ supplierData }}" wx:key="index">
          <view class="saleItem">
            <view class="title">
              <view><van-icon name="manager-o" size="18"/> {{ item.supplierName }} </view> 
            </view>
            <view class="time"><van-icon name="bars" size="18"/> 过磅重量：{{item.netWeight + ' 吨'}} / 卸货重量：{{ item.shippingWeight + ' 吨' }}</view>
          </view>
        </block>
      </scroll-view>
    </block>
  </view>
  <view style="height: 30px;"></view>

</view>


  

<wxs module="filters" src="../../utils/filter.wxs"></wxs>