| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <view class="toptip {{tipStaus}} text-white {{tipType}}" style='top:{{CustomBar}}px;'>{{tipText}}</view>
- <cu-custom bgColor="bg-color" isBack="{{true}}" title="冷链列表">
- <!-- <view slot="content">冷链列表</view> -->
- </cu-custom>
- <view class="worker_search">
- <view class="worker_search_con">
- <input type="text" placeholder="请输入查询信息" value="{{keyword}}" bindinput="setKeyword"></input>
- <view class="text-color" bindtap="searchList"><text class="cuIcon-search"></text>搜索</view>
- </view>
- </view>
- <view class="query_list">
- <view class="querLabel">
- <text>冷链状态</text>
- <view>
- <view class="label" bindtap="allStatus">{{text}}<image src="/img/down.png"></image></view>
- <view class="status" style="{{isStatus ? 'display: block;':'display: none;'}}">
- <text wx:for="{{status}}" wx:for-item="item" bindtap="setStatus" data-type="{{item.type}}">
- {{item.statu}}
- </text>
- </view>
- </view>
- </view>
- <!-- <view class="query_item" wx:for="{{list}}" wx:key="id">
- <view>
- <view class="query_item_txt"><text class="query_item_label">编号:</text> {{item.code || "N/A"}}</view>
- <view class="query_item_txt">
- <text class="query_item_label">包装类型:</text>
- <text wx:if="{{item.packageType == 10}}">支</text>
- <text wx:if="{{item.packageType == 20}}">包</text>
- <text wx:if="{{item.packageType == 30}}">箱</text>
- <text wx:if="{{item.packageType == 40}}">托盘</text>
- <text wx:if="{{item.packageType == 50}}">其他</text>
- </view>
- <view class="query_item_txt">
- <text class="query_item_label">产品名称: </text>
- {{item.productName || "N/A"}}
- </view>
- <view class="query_item_txt">
- <text class="query_item_label">状态: </text>
- <text class="query_wx" wx:if="{{item.transportStatus == 00}}">在库</text>
- <text class="query_jb" wx:if="{{item.transportStatus == 10}}">运输中</text>
- <text class="query_zc" wx:if="{{item.transportStatus == 20}}">已结束</text>
- </view>
- <view class="query_item_txt"><text class="query_item_label">开始时间: </text> {{item.createTime || "N/A"}}</view>
- </view>
- <navigator url="/pages/query/details?id={{item.id}}" class="query_btn" wx:if="{{item.id}}">查看详情</navigator>
- </view> -->
- <view>
- <scroll-view scroll-y enable-back-to-top>
- <view>
- <block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="id">
- <view class="query_item {{ item.isTouchMove ? 'touch-move-active' : '' }}" bindtouchstart="touchStart" bindtouchmove="touchMove" data-index="{{ index }}">
- <view class="info">
- <view>
- <view class="query_item_txt"><text class="query_item_label">编号:</text> {{item.code || "N/A"}}</view>
- <view class="query_item_txt">
- <text class="query_item_label">包装类型:</text>
- <text wx:if="{{item.packageType == 10}}">支</text>
- <text wx:if="{{item.packageType == 20}}">包</text>
- <text wx:if="{{item.packageType == 30}}">箱</text>
- <text wx:if="{{item.packageType == 40}}">托盘</text>
- <text wx:if="{{item.packageType == 50}}">其他</text>
- </view>
- <view class="query_item_txt">
- <text class="query_item_label">产品名称: </text>
- {{item.productName || "N/A"}}
- </view>
- <view class="query_item_txt">
- <text class="query_item_label">状态: </text>
- <text class="{{item.status == 00 ? 'query_zc': item.status == 10 ? 'query_jb': 'query_wx'}}" wx:if="{{item.transportStatus == 00}}">已入库</text>
- <text class="{{item.status == 00 ? 'query_zc': item.status == 10 ? 'query_jb': 'query_wx'}}" wx:if="{{item.transportStatus == 10}}">已出库</text>
- <text class="{{item.status == 00 ? 'query_zc': item.status == 10 ? 'query_jb': 'query_wx'}}" wx:if="{{item.transportStatus == 20}}">已结束</text>
- </view>
- <view class="query_item_txt"><text class="query_item_label">开始时间: </text> {{item.createTime || "N/A"}}
- </view>
- </view>
- <navigator url="/pages/query/details?id={{item.id}}&pid={{item.pid}}" class="query_btn" wx:if="{{item.id}}">查看详情
- </navigator>
- </view>
- <view class="scrollText">
- <view class="edit" bindtap="editList" data-index="{{ index }}" data-item="{{item}}"> 修改 </view>
- <view class="del" bindtap="delList" data-id="{{ item.id }}"> 删除 </view>
- </view>
- </view>
- </block>
- </view>
- </scroll-view>
- </view>
- </view>
- <view class="addLabel" bindtap="addLabel">
- <text>添加</text>
- </view>
|