|
|
@ -8,110 +8,154 @@ |
|
|
|
<!-- <view style="background-color: #23c559; color: #fff;" bindtap="phot" hidden="true">拍 照</view> --> |
|
|
|
<!-- <view style="background-color: #23c559; color: #fff;" bindtap="phot" hidden="true">拍 照</view> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="form"> |
|
|
|
<!--样本列表--> |
|
|
|
<view class="from-con"> |
|
|
|
<view class="back" style="padding: 0rpx;"> |
|
|
|
<label>物流单号:</label> |
|
|
|
<view class="con"> |
|
|
|
<input type="text" placeholder="物流单号" disabled="false" placeholder-class="place" value="{{selfOrderCode}}" /> |
|
|
|
<view style="flex: 1;">总计:{{sampleCount}}/管数</view> |
|
|
|
|
|
|
|
<button style="background-color: #ddd;" hidden="ture">修 改</button> |
|
|
|
|
|
|
|
<button style="color: #fff;" bindtap="saveInfo">保 存</button> |
|
|
|
|
|
|
|
</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.receiveTime}}</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="back_img_box"> |
|
|
|
|
|
|
|
<view class="bush"> |
|
|
|
|
|
|
|
<view style="flex: 1;">物流车拍照</view> |
|
|
|
|
|
|
|
<!-- <button bindtap="bushPhot">拍 照</button> --> |
|
|
|
</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> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <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="form"> |
|
|
|
|
|
|
|
|
|
|
|
<picker class="from-con" bindchange="bindPickerChange" value="{{insIdx}}" range="{{ins}}"> |
|
|
|
<picker class="from-con" bindchange="bindPickerChange" value="{{insIdx}}" range="{{ins}}"> |
|
|
|
<label>送检机构:</label> |
|
|
|
<text>送检机构:</text> |
|
|
|
<input type="text" disabled="true" placeholder="请选择送检机构" placeholder-class="place" value="{{insName}}" /> |
|
|
|
<input type="text" disabled="true" placeholder="请选择送检机构" placeholder-class="place" value="{{insName}}" /> |
|
|
|
</picker> |
|
|
|
</picker> |
|
|
|
<picker mode="date" value="date" start="start" end="end" bindchange="bindDateChange" class="from-con"> |
|
|
|
|
|
|
|
|
|
|
|
<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"> |
|
|
|
<label>日期:</label> |
|
|
|
<label>日期:</label> |
|
|
|
<input type="text" disabled="true" placeholder="请选择日期" placeholder-class="place" value="{{date}}" /> |
|
|
|
<input type="text" disabled="true" placeholder="请选择日期" placeholder-class="place" value="{{date}}" /> |
|
|
|
</picker> |
|
|
|
</picker> --> |
|
|
|
<view class="from-con"> |
|
|
|
<view class="from-con"> |
|
|
|
<label>数量:</label> |
|
|
|
<text space="nbsp">数 量:</text> |
|
|
|
<input type="number" bindinput="inputTextInfo" data-id="number" placeholder="数量" placeholder-class="place" /> |
|
|
|
<input type="number" bindinput="inputTextInfo" data-id="number" placeholder="数量" placeholder-class="place" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<picker class="from-con" bindchange="bindbushChange" range="{{bushList}}"> |
|
|
|
<picker class="from-con" bindchange="bindbushChange" range="{{bushList}}"> |
|
|
|
<label>运输方式:</label> |
|
|
|
<text>运输方式:</text> |
|
|
|
<input type="text" disabled="true" placeholder="请选择运输方式" placeholder-class="place" value="{{bushList[bush]}}" /> |
|
|
|
<input type="text" disabled="true" placeholder="请选择运输方式" placeholder-class="place" value="{{bushList[bush]}}" /> |
|
|
|
</picker> |
|
|
|
</picker> |
|
|
|
<view class="from-con"> |
|
|
|
|
|
|
|
<label>转运箱号:</label> |
|
|
|
<!-- <view class="from-con"> --> |
|
|
|
<input type="text" bindinput="inputTextInfo" data-id="boxNum" placeholder="转运箱号" placeholder-class="place" value="" /> |
|
|
|
<!-- <text>转运箱号:</text> --> |
|
|
|
</view> |
|
|
|
<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="" /> --> |
|
|
|
|
|
|
|
<!-- </view> --> |
|
|
|
|
|
|
|
|
|
|
|
<picker class="from-con" mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}"> |
|
|
|
<picker class="from-con" mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}"> |
|
|
|
<label>出发时间:</label> |
|
|
|
<label>*</label> |
|
|
|
|
|
|
|
<text>出发时间:</text> |
|
|
|
<input value='{{time}}' placeholder='请选择出发时间' placeholder-class="place" disabled="true" /> |
|
|
|
<input value='{{time}}' placeholder='请选择出发时间' placeholder-class="place" disabled="true" /> |
|
|
|
</picker> |
|
|
|
</picker> |
|
|
|
|
|
|
|
|
|
|
|
<picker class="from-con" mode="multiSelector" bindchange="bindMultiPickerChange1" bindcolumnchange="bindMultiPickerColumnChange1" value="{{multiIndex1}}" range="{{multiArray1}}"> |
|
|
|
<picker class="from-con" mode="multiSelector" bindchange="bindMultiPickerChange1" bindcolumnchange="bindMultiPickerColumnChange1" value="{{multiIndex1}}" range="{{multiArray1}}"> |
|
|
|
<label>到达时间:</label> |
|
|
|
<label>*</label> |
|
|
|
|
|
|
|
<text>到达时间:</text> |
|
|
|
<input value='{{time1}}' placeholder='请选择到达时间' placeholder-class="place" disabled="true" /> |
|
|
|
<input value='{{time1}}' placeholder='请选择到达时间' placeholder-class="place" disabled="true" /> |
|
|
|
</picker> |
|
|
|
</picker> |
|
|
|
|
|
|
|
|
|
|
|
<view class="from-con"> |
|
|
|
<view class="from-con"> |
|
|
|
<label>车牌号:</label> |
|
|
|
<text space="nbsp">车 牌 号:</text> |
|
|
|
<input type="text" bindinput="inputTextInfo" data-id="numberplate" placeholder="车牌号" placeholder-class="place" value="{{carCode}}" /> |
|
|
|
<input type="text" bindinput="inputTextInfo" data-id="numberplate" placeholder="车牌号" placeholder-class="place" value="{{numberplate}}" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="from-con"> |
|
|
|
<view class="from-con"> |
|
|
|
<label>物流员:</label> |
|
|
|
<text space="nbsp">驾 驶 员:</text> |
|
|
|
<input type="text" bindinput="inputTextInfo" data-id="logisticsMen" placeholder="物流员" placeholder-class="place" value="{{logistician}}" /> |
|
|
|
<input type="text" bindinput="inputTextInfo" data-id="driverMen" placeholder="驾驶员" placeholder-class="place" value="{{driver}}" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="from-con"> |
|
|
|
<view class="from-con"> |
|
|
|
<label>驾驶员:</label> |
|
|
|
<text space="nbsp">物 流 员:</text> |
|
|
|
<input type="text" bindinput="inputTextInfo" data-id="driverMen" placeholder="驾驶员" placeholder-class="place" value="{{driver}}" /> |
|
|
|
<input type="text" bindinput="inputTextInfo" data-id="logisticsMen" placeholder="物流员" placeholder-class="place" value="{{logistician}}" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="from-con"> |
|
|
|
<view class="from-con"> |
|
|
|
<label>备注:</label> |
|
|
|
<text space="nbsp">备 注:</text> |
|
|
|
<input type="text" bindinput="inputTextInfo" data-id="notes" placeholder="备注" placeholder-class="place" value="{{notes}}" /> |
|
|
|
<input type="text" bindinput="inputTextInfo" data-id="notes" placeholder="备注" placeholder-class="place" value="{{notes}}" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="back"> |
|
|
|
|
|
|
|
<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_1"></image> |
|
|
|
|
|
|
|
<image bindtap="photograph" src="{{poto[1]}}" data-id="car_2"></image> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="back"> |
|
|
|
|
|
|
|
<view class="bush"> |
|
|
|
|
|
|
|
<view style="flex: 1;">转运箱拍照</view> |
|
|
|
|
|
|
|
<!-- <button bindtap="boxPhot">拍 照</button> --> |
|
|
|
|
|
|
|
</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="back"> |
|
|
|
|
|
|
|
<view class="con"> |
|
|
|
|
|
|
|
<view style="flex: 1;">总计:{{sampleCount}}/管数</view> |
|
|
|
|
|
|
|
<button style="background-color: #ddd;" hidden="ture">修 改</button> |
|
|
|
|
|
|
|
<button style="color: #fff;" bindtap="saveInfo">保 存</button> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<scroll-view scroll-x class="tabel"> |
|
|
|
|
|
|
|
<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.receiveTime}}</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> |
|
|
|
</view> |