<view class="toptip {{tipStaus}} text-white {{tipType}}" style='top:{{CustomBar}}px;'>{{tipText}}</view>
<cu-custom bgColor="bg-color" isBack="{{true}}" title="{{item ? '修改冷链' :'添加冷链'}}">
  <!-- <view slot="content">{{item ? '修改冷链' :'添加冷链'}}</view> -->
</cu-custom>
<view class="info_card">
  <form bindsubmit="formSubmit">
    <view class="info_item">
      <view class="info_label mandatory">冷链名称</view>
      <input class="info_input" placeholder="请输入冷链名称" type='text' name='name' value="{{name}}"></input>
    </view>
    <view class="info_item">
      <view class="info_label mandatory">包装类型</view>
      <block>
        <picker mode="selector" bindchange="setType" value="{{deptType}}" name="deptType" range="{{seleteType}}" range-key="name">
          <view class="picker">
            {{deptType+'' ? seleteType[deptType].name : '请选择'}}
          </view>
        </picker>
      </block>
    </view>
    <view class="info_item">
      <view class="info_label mandatory">运输方式</view>
      <picker mode="selector" bindchange="setTransportType" name="transport" value="{{transport}}" range="{{transportType}}" range-key="name">
        <view class="picker">
          {{transport+'' ? transportType[transport].name : '请选择'}}
        </view>
      </picker>
    </view>
    <view class="info_item">
      <view class="info_label mandatory">冷链规则</view>
      <picker mode="selector" bindchange="setWarningType" name="warning" value="{{warning}}" range="{{warningList}}" range-key="name">
        <view class="picker">
          {{warning+'' ? warningList[warning].name : '请选择'}}
        </view>
      </picker>
    </view>
    <view class="info_item">
      <view class="info_label mandatory">负责人</view>
      <input class="info_input" placeholder="请输入负责人" type='text' disabled name="nickName" value="{{userInfo.nickName}}"></input>
    </view>
    <view class="info_item">
      <view class="info_label mandatory">产品</view>
      <picker mode="multiSelector" bindchange="setProduct" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" name="product" range="{{productList}}" range-key='name'>
        <view class="picker">
          {{productList[1][multiIndex[1]] ? productList[1][multiIndex[1]].name : productName ? productName : '请选择' }}
        </view>
      </picker>
    </view>
    <view class="info_item">
      <view class="info_label mandatoryNot">订单绑定信息</view>
      <view style="flex: auto; text-align: right; margin-right: 20rpx;">
        <view class="picker" bindtap="goOrderScan">
          {{transportOrder.transCode || '去扫描 ' }}
        </view>
      </view>
      <text class="cu-btn sm line-color" bindtap="goOrderSelcet">手动选择</text>
    </view>
    <view class="info_item">
      <view class="info_label mandatory">预计签收时间</view>
      <picker mode="multiSelector" value="{{dateTime1}}" bindchange="changeDateTime1" bindcolumnchange="changeDateTimeColumn1" range="{{dateTimeArray1}}">
        <view class="text">
          {{estiTime ? estiTime :'请选择'}}
        </view>
      </picker>
    </view>
    <view class="info_item">
      <view class="info_label mandatory">包装数量</view>
      <input class="info_input" placeholder="请输入包装数量" type='text' value="{{num}}" name="num"></input>
    </view>
    <view class="info_item">
      <view class="info_label mandatoryNot">备注</view>
      <input class="info_input" placeholder="请输入备注" type='text' value="{{remark}}" name="remarks"></input>
    </view>
    <view class="info_item" wx:if="{{!name}}">
      <view class="info_label mandatory">创建冷链数量</view>
      <input class="info_input" bindinput="bindinputWeight" placeholder="请输入创建冷链数量" type='number' value="{{chainsNum}}" name="chainsNum"></input>
    </view>
    <view class="phone_btm">
      <button class="phone_btn1" form-type="submit">保存</button>
    </view>
  </form>
</view>