<!--pages/salesOrderMan/info.wxml-->
<view class="container">
  <view class="part">
    <van-field label="订单编号" input-align="right" value="{{info.orderNumber}}" readonly></van-field>
    <van-field label="订单名称" input-align="right" value="{{info.orderName}}" readonly></van-field>
    <van-field label="送货地址" input-align="right" value="{{info.shipAddress}}" readonly></van-field>
    <van-field label="订单类型" input-align="right" readonly>
      <text slot="button" class="status orderType{{info.orderType}}">{{info.orderTypeName}}</text>
    </van-field>
    <van-field label="订单状态" input-align="right" readonly>
      <text slot="button" class="status orderStatus{{info.orderStatus}}">{{info.orderStatusName}}</text>
    </van-field>
    <van-field label="订单来源" input-align="right" value="{{info.orderSourceName}}" readonly></van-field>
    <van-field label="订单重量" input-align="right" value="{{info.orderWeight}}" readonly type="textarea" autosize>
      <view slot="right-icon">
        <text>吨</text>
      </view>
    </van-field>
    <van-field label="总净重" input-align="right" value="{{info.netWeight}}" readonly>
      <view slot="right-icon">
        <text>吨</text>
      </view>
    </van-field>
    <van-field label="客户名称" input-align="right" value="{{info.customerName}}" readonly type="textarea" autosize></van-field>
    <van-field label="货品名称" input-align="right" value="{{info.goodsName}}" readonly></van-field>
    <van-field label="货品规格" input-align="right" value="{{info.goodsModel}}" readonly></van-field>
    <van-field label="客户联系人" input-align="right" value="{{info.customerContactName}}" readonly></van-field>
    <van-field label="客户手机号" input-align="right" value="{{info.customerPhone}}" readonly></van-field>
    <van-field label="客户地址" input-align="right" value="{{info.customerAddress}}" readonly type="textarea" autosize></van-field>
    <van-field label="提货开始时间" input-align="right" value="{{info.confStartTime}}" readonly></van-field>
    <van-field label="提货结束时间" input-align="right" value="{{info.confEndTime}}" readonly />

    <van-field label="供应商" input-align="right" value="{{info.supplierName}}" readonly></van-field>
    <van-field label="运费单价" input-align="right" value="{{info.freightPrice}}" readonly>
      <view slot="right-icon">
        <text>元</text>
      </view>
    </van-field>

    <!-- <van-field label="销售订单信息" input-align="right" value="{{info.saleOrderInfo}}" readonly type="textarea" autosize border="{{ false }}"></van-field> -->
    <van-field center clearable label="签字图片" placeholder="签字图片" border="{{ false }}" use-button-slot class="radioHeight fieldAutoHeight">
      <view slot="input" class="radioHeightBx" wx:if="{{ info.orderSign }}">
        <van-image slot="input" width="100px" height="100px" src="{{ info.orderSign }}" />
      </view>
    </van-field>

    <view style="padding: 20px 0;" wx:if="{{ info.orderStatus == '3' }}"><canvas class='canvas' canvas-id='canvas' style='width:220px;height:220px;margin: 0 auto;'></canvas></view>


  </view>
  <view style="height: 50px;"></view>
</view>

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