|
|
|
@ -1,4 +1,5 @@ |
|
|
|
|
<!--pages/meLogistics/meLogistics.wxml 自建物流--> |
|
|
|
|
<!-- <button bindtap="ceshi">测试</button> --> |
|
|
|
|
<view class="box"> |
|
|
|
|
<view class="top"> |
|
|
|
|
<input type="text" bindinput="inputTextInfo" data-id="barCode" value="{{pipenum}}" /> |
|
|
|
@ -8,154 +9,148 @@ |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<!-- <view class="back"> --> |
|
|
|
|
<!--样本列表--> |
|
|
|
|
<view class="back" style="padding: 10rpx 5;"> |
|
|
|
|
<view class="con"> |
|
|
|
|
<view style="flex: 1;">总计:{{sampleCount}}/管数</view> |
|
|
|
|
</view> |
|
|
|
|
<scroll-view scroll-x scroll-y class="tabel" style="height: 400rpx;"> |
|
|
|
|
<view class="tr tab-top"> |
|
|
|
|
<view class="td1">序号</view> |
|
|
|
|
<view class="td">样本条码号</view> |
|
|
|
|
<view class="td">接收时间</view> |
|
|
|
|
<view class="td">样本状态</view> |
|
|
|
|
<view class="td">物流员</view> |
|
|
|
|
<view class="td">物流单号</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="tr" wx:for="{{sampleList}}" wx:key="index" data-id="{{index}}" bindtap="goDetail"> |
|
|
|
|
<view class="td1">{{index + 1}}</view> |
|
|
|
|
<view class="td">{{item.barCode}}</view> |
|
|
|
|
<view class="td">{{item.createTime}}</view> |
|
|
|
|
<view wx:if="{{item.status == 0}}" class="td">未采样</view> |
|
|
|
|
<view wx:elif="{{item.status == 1}}" class="td">已采样</view> |
|
|
|
|
<view wx:elif="{{item.status == 2}}" class="td">已发货</view> |
|
|
|
|
<view wx:elif="{{item.status == 3}}" class="td">已接收</view> |
|
|
|
|
<view wx:elif="{{item.status == 4}}" class="td">重新采样</view> |
|
|
|
|
<view wx:else class="td">其它</view> |
|
|
|
|
<view class="td">{{item.logisticsMen}}</view> |
|
|
|
|
<view class="td">{{item.logisticsNo}}</view> |
|
|
|
|
</view> |
|
|
|
|
</scroll-view> |
|
|
|
|
<!--样本列表--> |
|
|
|
|
<view class="back" style="padding: 10rpx 5;"> |
|
|
|
|
<view class="con"> |
|
|
|
|
<view style="flex: 1;">总计:{{sampleCount}}/管数</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="back_img_box"> |
|
|
|
|
<view class="bush"> |
|
|
|
|
<view style="flex: 1;">物流车拍照</view> |
|
|
|
|
<!-- <button bindtap="bushPhot">拍 照</button> --> |
|
|
|
|
<scroll-view scroll-x scroll-y class="tabel" style="height: 400rpx;"> |
|
|
|
|
<view class="tr tab-top"> |
|
|
|
|
<view class="td1">序号</view> |
|
|
|
|
<view class="td">样本条码号</view> |
|
|
|
|
<view class="td">接收时间</view> |
|
|
|
|
<view class="td">样本状态</view> |
|
|
|
|
<view class="td">物流员</view> |
|
|
|
|
<view class="td">物流单号</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="bush-img"> |
|
|
|
|
<image bindtap="photograph" src="{{poto[0]}}" data-id="car_0"></image> |
|
|
|
|
<image bindtap="photograph" src="{{poto[1]}}" data-id="car_1"></image> |
|
|
|
|
<image bindtap="photograph" src="{{poto[2]}}" data-id="car_2"></image> |
|
|
|
|
<image bindtap="photograph" src="{{poto[3]}}" data-id="car_3"></image> |
|
|
|
|
<view class="tr" wx:for="{{sampleList}}" wx:key="index" data-id="{{index}}" bindtap="goDetail"> |
|
|
|
|
<view class="td1">{{index + 1}}</view> |
|
|
|
|
<view class="td">{{item.barCode}}</view> |
|
|
|
|
<view class="td">{{item.createTime}}</view> |
|
|
|
|
<view wx:if="{{item.status == 0}}" class="td">未采样</view> |
|
|
|
|
<view wx:elif="{{item.status == 1}}" class="td">已采样</view> |
|
|
|
|
<view wx:elif="{{item.status == 2}}" class="td">已发货</view> |
|
|
|
|
<view wx:elif="{{item.status == 3}}" class="td">已接收</view> |
|
|
|
|
<view wx:elif="{{item.status == 4}}" class="td">重新采样</view> |
|
|
|
|
<view wx:else class="td">其它</view> |
|
|
|
|
<view class="td">{{item.logisticsMen}}</view> |
|
|
|
|
<view class="td">{{item.logisticsNo}}</view> |
|
|
|
|
</view> |
|
|
|
|
</scroll-view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="bush"> |
|
|
|
|
<view style="flex: 1;">转运箱拍照</view> |
|
|
|
|
<!-- <button bindtap="bushPhot">拍 照</button> --> |
|
|
|
|
</view> |
|
|
|
|
<view class="bush-img"> |
|
|
|
|
<image bindtap="photograph" src="{{poto[4]}}" data-id="box_0"></image> |
|
|
|
|
<image bindtap="photograph" src="{{poto[5]}}" data-id="box_1"></image> |
|
|
|
|
<image bindtap="photograph" src="{{poto[6]}}" data-id="box_2"></image> |
|
|
|
|
<image bindtap="photograph" src="{{poto[7]}}" data-id="box_3"></image> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="bush"> |
|
|
|
|
<view style="flex: 1;">样本拍照</view> |
|
|
|
|
<!-- <button bindtap="bushPhot">拍 照</button> --> |
|
|
|
|
</view> |
|
|
|
|
<view class="bush-img"> |
|
|
|
|
<image bindtap="photograph" src="{{poto[8]}}" data-id="sam_0"></image> |
|
|
|
|
<image bindtap="photograph" src="{{poto[9]}}" data-id="sam_1"></image> |
|
|
|
|
<image bindtap="photograph" src="{{poto[10]}}" data-id="sam_2"></image> |
|
|
|
|
<image bindtap="photograph" src="{{poto[11]}}" data-id="sam_3"></image> |
|
|
|
|
</view> |
|
|
|
|
<view class="back_img_box"> |
|
|
|
|
<view class="bush"> |
|
|
|
|
<view style="flex: 1;">物流车拍照</view> |
|
|
|
|
<!-- <button bindtap="bushPhot">拍 照</button> --> |
|
|
|
|
</view> |
|
|
|
|
<view class="bush-img"> |
|
|
|
|
<image bindtap="photograph" src="{{poto[0]}}" data-id="car_0"></image> |
|
|
|
|
<image bindtap="photograph" src="{{poto[1]}}" data-id="car_1"></image> |
|
|
|
|
<image bindtap="photograph" src="{{poto[2]}}" data-id="car_2"></image> |
|
|
|
|
<image bindtap="photograph" src="{{poto[3]}}" data-id="car_3"></image> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<!-- <view class="back"> |
|
|
|
|
<view class="bush"> |
|
|
|
|
<view style="flex: 1;">转运箱拍照</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="bush-img"> |
|
|
|
|
<image bindtap="photograph" src="{{poto[2]}}" data-id="box_1"></image> |
|
|
|
|
<image bindtap="photograph" src="{{poto[3]}}" data-id="box_2"></image> |
|
|
|
|
</view> |
|
|
|
|
</view> --> |
|
|
|
|
<view class="bush"> |
|
|
|
|
<view style="flex: 1;">转运箱拍照</view> |
|
|
|
|
<!-- <button bindtap="bushPhot">拍 照</button> --> |
|
|
|
|
</view> |
|
|
|
|
<view class="bush-img"> |
|
|
|
|
<image bindtap="photograph" src="{{poto[4]}}" data-id="box_0"></image> |
|
|
|
|
<image bindtap="photograph" src="{{poto[5]}}" data-id="box_1"></image> |
|
|
|
|
<image bindtap="photograph" src="{{poto[6]}}" data-id="box_2"></image> |
|
|
|
|
<image bindtap="photograph" src="{{poto[7]}}" data-id="box_3"></image> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="form"> |
|
|
|
|
<view class="bush"> |
|
|
|
|
<view style="flex: 1;">样本拍照</view> |
|
|
|
|
<!-- <button bindtap="bushPhot">拍 照</button> --> |
|
|
|
|
</view> |
|
|
|
|
<view class="bush-img"> |
|
|
|
|
<image bindtap="photograph" src="{{poto[8]}}" data-id="sam_0"></image> |
|
|
|
|
<image bindtap="photograph" src="{{poto[9]}}" data-id="sam_1"></image> |
|
|
|
|
<image bindtap="photograph" src="{{poto[10]}}" data-id="sam_2"></image> |
|
|
|
|
<image bindtap="photograph" src="{{poto[11]}}" data-id="sam_3"></image> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<picker class="from-con" bindchange="bindPickerChange" value="{{insIdx}}" range="{{ins}}"> |
|
|
|
|
<text>送检机构:</text> |
|
|
|
|
<input type="text" disabled="true" placeholder="请选择送检机构" placeholder-class="place" value="{{insName}}" /> |
|
|
|
|
</picker> |
|
|
|
|
<view class="form"> |
|
|
|
|
|
|
|
|
|
<view class="from-con"> |
|
|
|
|
<text>物流单号:</text> |
|
|
|
|
<input type="text" placeholder="物流单号" disabled="false" placeholder-class="place" value="{{selfOrderCode}}" /> |
|
|
|
|
</view> |
|
|
|
|
<!-- <picker class="from-con" bindchange="bindPickerChange" value="{{insIdx}}" range="{{ins}}"> |
|
|
|
|
<text>送检机构:</text> |
|
|
|
|
<input type="text" disabled="true" placeholder="请选择送检机构" placeholder-class="place" value="{{insName}}" /> |
|
|
|
|
</picker> --> |
|
|
|
|
<!-- <view class="from-con"> |
|
|
|
|
<text>送检机构:</text> |
|
|
|
|
<input type="text" placeholder="送检机构" placeholder-class="place" /> |
|
|
|
|
</view> --> |
|
|
|
|
|
|
|
|
|
<view class="from-con"> |
|
|
|
|
<text>物流单号:</text> |
|
|
|
|
<input type="text" placeholder="物流单号" disabled="false" placeholder-class="place" value="{{selfOrderCode}}" /> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<!-- <picker mode="date" value="date" start="start" end="end" bindchange="bindDateChange" class="from-con"> |
|
|
|
|
<!-- <picker mode="date" value="date" start="start" end="end" bindchange="bindDateChange" class="from-con"> |
|
|
|
|
<label>日期:</label> |
|
|
|
|
<input type="text" disabled="true" placeholder="请选择日期" placeholder-class="place" value="{{date}}" /> |
|
|
|
|
</picker> --> |
|
|
|
|
<view class="from-con"> |
|
|
|
|
<text space="nbsp" style="letter-spacing: 14rpx;">数 量:</text> |
|
|
|
|
<input type="number" bindinput="inputTextInfo" data-id="number" placeholder="数量" placeholder-class="place" /> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<picker class="from-con" bindchange="bindbushChange" range="{{bushList}}"> |
|
|
|
|
<text>运输方式:</text> |
|
|
|
|
<input type="text" disabled="true" placeholder="请选择运输方式" placeholder-class="place" value="{{bushList[bush]}}" /> |
|
|
|
|
</picker> |
|
|
|
|
|
|
|
|
|
<!-- <text>转运箱号:</text> --> |
|
|
|
|
<picker class="from-con" bindchange="bindBoxNumber" range="{{boxList}}"> |
|
|
|
|
<text>转运箱号:</text> |
|
|
|
|
<input type="text" disabled="true" placeholder="转运箱号" placeholder-class="place" value="{{boxList[boxIdx]}}" /> |
|
|
|
|
</picker> |
|
|
|
|
|
|
|
|
|
<!-- <input type="text" bindinput="inputTextInfo" data-id="boxNum" placeholder="转运箱号" placeholder-class="place" value="" /> --> |
|
|
|
|
|
|
|
|
|
<picker class="from-con" mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}"> |
|
|
|
|
<label>*</label> |
|
|
|
|
<text>出发时间:</text> |
|
|
|
|
<input value='{{time}}' placeholder='请选择出发时间' placeholder-class="place" disabled="true" /> |
|
|
|
|
</picker> |
|
|
|
|
|
|
|
|
|
<picker class="from-con" mode="multiSelector" bindchange="bindMultiPickerChange1" bindcolumnchange="bindMultiPickerColumnChange1" value="{{multiIndex1}}" range="{{multiArray1}}"> |
|
|
|
|
<label>*</label> |
|
|
|
|
<text>到达时间:</text> |
|
|
|
|
<input value='{{time1}}' placeholder='请选择到达时间' placeholder-class="place" disabled="true" /> |
|
|
|
|
</picker> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 车牌照 --> |
|
|
|
|
<picker class="from-con" bindchange="bindNumberplate" range="{{numberplateArr}}"> |
|
|
|
|
<text>车 牌 号:</text> |
|
|
|
|
<input type="text" disabled="true" placeholder="车牌号" placeholder-class="place" value="{{numberplateArr[numberplateIdx]}}" /> |
|
|
|
|
</picker> |
|
|
|
|
|
|
|
|
|
<view class="from-con"> |
|
|
|
|
<text space="nbsp">驾 驶 员:</text> |
|
|
|
|
<input type="text" bindinput="inputTextInfo" data-id="driverMen" placeholder="驾驶员" placeholder-class="place" value="{{driver}}" /> |
|
|
|
|
</view> |
|
|
|
|
<view class="from-con"> |
|
|
|
|
<text space="nbsp" style="letter-spacing: 14rpx;">数 量:</text> |
|
|
|
|
<input type="number" bindinput="inputTextInfo" data-id="number" placeholder="数量" placeholder-class="place" value="{{number}}" /> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="from-con"> |
|
|
|
|
<text space="nbsp">物 流 员:</text> |
|
|
|
|
<input type="text" bindinput="inputTextInfo" data-id="logisticsMen" placeholder="物流员" placeholder-class="place" value="{{logistician}}" /> |
|
|
|
|
</view> |
|
|
|
|
<picker class="from-con" bindchange="bindbushChange" range="{{bushList}}"> |
|
|
|
|
<text>运输方式:</text> |
|
|
|
|
<input type="text" disabled="true" placeholder="请选择运输方式" placeholder-class="place" value="{{bushList[bush]}}" /> |
|
|
|
|
</picker> |
|
|
|
|
|
|
|
|
|
<picker class="from-con" bindchange="bindPickerChangeBox" range-key="boxNum" value="{{index}}" range="{{boxArr}}"> |
|
|
|
|
<text>转运箱号:</text> |
|
|
|
|
<input type="text" disabled="true" placeholder="请选择转运箱号" placeholder-class="place" value="{{boxNum}}" /> |
|
|
|
|
</picker> |
|
|
|
|
|
|
|
|
|
<picker class="from-con" mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}"> |
|
|
|
|
<label>*</label> |
|
|
|
|
<text>出发时间:</text> |
|
|
|
|
<input value='{{time}}' placeholder='请选择出发时间' placeholder-class="place" disabled="true" /> |
|
|
|
|
</picker> |
|
|
|
|
|
|
|
|
|
<picker class="from-con" mode="multiSelector" bindchange="bindMultiPickerChange1" bindcolumnchange="bindMultiPickerColumnChange1" value="{{multiIndex1}}" range="{{multiArray1}}"> |
|
|
|
|
<label>*</label> |
|
|
|
|
<text>预计到达时间:</text> |
|
|
|
|
<input value='{{time1}}' placeholder='请选择到达时间' placeholder-class="place" disabled="true" /> |
|
|
|
|
</picker> |
|
|
|
|
|
|
|
|
|
<picker class="from-con" bindchange="bindNumberplate" range-key="numberplate" value="{{index}}" range="{{numberplateArr}}"> |
|
|
|
|
<label>*</label> |
|
|
|
|
<text>车 牌 号:</text> |
|
|
|
|
<input type="text" disabled="true" placeholder="请选择车牌号" placeholder-class="place" value="{{numberplate}}" /> |
|
|
|
|
</picker> |
|
|
|
|
|
|
|
|
|
<view class="from-con"> |
|
|
|
|
<text space="nbsp">驾 驶 员:</text> |
|
|
|
|
<input type="text" bindinput="inputTextInfo" data-id="driverMen" placeholder="驾驶员" placeholder-class="place" value="{{driverMen}}" /> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="from-con"> |
|
|
|
|
<text space="nbsp" style="letter-spacing: 14rpx;">备 注:</text> |
|
|
|
|
<input type="text" bindinput="inputTextInfo" data-id="notes" placeholder="备注" placeholder-class="place" value="{{notes}}" /> |
|
|
|
|
</view> |
|
|
|
|
<view class="from-con"> |
|
|
|
|
<text space="nbsp">物 流 员:</text> |
|
|
|
|
<input type="text" bindinput="inputTextInfo" data-id="logisticsMen" placeholder="物流员" placeholder-class="place" value="{{logisticsMen}}" /> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="from-con"> |
|
|
|
|
<text space="nbsp" style="letter-spacing: 14rpx;">备 注:</text> |
|
|
|
|
<input type="text" bindinput="inputTextInfo" data-id="notes" placeholder="备注" placeholder-class="place" value="{{notes}}" /> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
<!-- </view> --> |
|
|
|
|
|
|
|
|
|
<!-- <view style="display: flex; padding: 50rpx 10rpx;"> |
|
|
|
|
<button class="out" bindtap="out">退出</button> |
|
|
|
|
<button class="save" bindtap="saveInfo">保 存</button> |
|
|
|
|
</view> --> |
|
|
|
|
|
|
|
|
|
<button class="bottomButton"bindtap="saveInfo">保 存</button> |
|
|
|
|
<button class="bottomButton" bindtap="saveInfo">保 存</button> |
|
|
|
|
|
|
|
|
|
</view> |