Compare commits
2 Commits
bae87b8238
...
ba6162c17d
Author | SHA1 | Date |
---|---|---|
xuziying | ba6162c17d | 2 years ago |
xuziying | 3063cd6f98 | 2 years ago |
@ -1,53 +0,0 @@ |
||||
<!--pages/details/details.wxml--> |
||||
<view class="box"> |
||||
<view class="back"> |
||||
<view class="cen"> |
||||
<label>样本条码:</label> |
||||
<view>{{barCode}}</view> |
||||
</view> |
||||
<view class="cen"> |
||||
<label>接收时间:</label> |
||||
<view>{{receiveTime}}</view> |
||||
</view> |
||||
<view class="cen"> |
||||
<label>样本状态:</label> |
||||
<view>已接收</view> |
||||
</view> |
||||
<view class="cen"> |
||||
<label>物流单号:</label> |
||||
<view>{{logisticsNo}}</view> |
||||
</view> |
||||
<view class="cen"> |
||||
<label>物流单位:</label> |
||||
<view>{{unitType}}</view> |
||||
</view> |
||||
<view class="cen"> |
||||
<label>日 期:</label> |
||||
<view>{{entryDate}}</view> |
||||
</view> |
||||
<view class="cen"> |
||||
<label>物流费用:</label> |
||||
<view>{{cost}}</view> |
||||
</view> |
||||
<view class="cen"> |
||||
<label>到达日期:</label> |
||||
<view>{{expectedEndTime}}</view> |
||||
</view> |
||||
<view class="cen"> |
||||
<label>转运箱号:</label> |
||||
<view>{{boxNum}}</view> |
||||
</view> |
||||
<view class="cen"> |
||||
<label>物流车号:</label> |
||||
<view>{{numberplate}}</view> |
||||
</view> |
||||
<view class="cen"> |
||||
<label>物流员:</label> |
||||
<view>{{logisticsMen}}</view> |
||||
</view> |
||||
<view class="cen"> |
||||
<label>备 注:</label> |
||||
<view>{{notes}}</view> |
||||
</view> |
||||
</view> |
||||
</view> |
@ -1,18 +0,0 @@ |
||||
/* pages/details/details.wxss */ |
||||
.cen{ |
||||
/* border-bottom: 1rpx #ececec solid; */ |
||||
padding: 10rpx 20rpx; |
||||
display: flex; |
||||
} |
||||
.cen label{ |
||||
width: 150rpx; |
||||
text-align: right; |
||||
margin-right: 20rpx; |
||||
} |
||||
.cen view{ |
||||
background-color: #eee; |
||||
padding: 10rpx 30rpx; |
||||
width: 300rpx; |
||||
flex: 1; |
||||
border-radius: 15rpx; |
||||
} |
@ -1,105 +0,0 @@ |
||||
<view class="box"> |
||||
|
||||
<view class="back"> |
||||
<view class="top"> |
||||
<input type="number" value="{{pipenum}}" /> |
||||
<view style="background-color: #eee;" bindtap="scacode">扫 码</view> |
||||
<!-- <view style="background-color: #23c559; color: #fff;" bindtap="phot">拍 照</view> --> |
||||
</view> |
||||
|
||||
<view class="form"> |
||||
|
||||
<view class="from-con"> |
||||
<label>物流单号:</label> |
||||
<input type="text" placeholder="物流单号" disabled="false" placeholder-class="place" value="{{selfOrderCode}}" /> |
||||
</view> |
||||
|
||||
<picker class="from-con" bindchange="bindPickerChange" value="{{index}}" range="{{ins}}"> |
||||
<label>转运方式:</label> |
||||
<input type="text" disabled="true" placeholder="请选择转运方式" placeholder-class="place" value="{{ins[index]}}" /> |
||||
</picker> |
||||
<view class="from-con"> |
||||
<label>转运箱号</label> |
||||
<input type="text" placeholder="转运箱号" placeholder-class="place" value="" /> |
||||
</view> |
||||
<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"> |
||||
<label>物流电话:</label> |
||||
<input type="text" placeholder="物流电话" placeholder-class="place" bindinput="inputTextInfo" data-id="phone" value="{{phone}}"/> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label>物流费用:</label> |
||||
<input type="number" placeholder="物流费用" placeholder-class="place" bindinput="inputTextInfo" data-id="cost" value="{{cost}}" /> |
||||
</view> |
||||
<picker class="from-con" mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}"> |
||||
<label>到达时间:</label> |
||||
<input value='{{time}}' placeholder='请选择到达时间' placeholder-class="place" disabled="true" /> |
||||
</picker> |
||||
<view class="from-con"> |
||||
<label>车牌号:</label> |
||||
<input type="text" placeholder="车牌号" placeholder-class="place" bindinput="inputTextInfo" data-id="numberplate" value="{{numberplate}}" /> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label>物流员:</label> |
||||
<input type="text" bindinput="inputTextInfo" data-id="logisticsMen" placeholder="物流员" placeholder-class="place" value="{{logistician}}" /> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label>备 注:</label> |
||||
<input type="text" bindinput="inputTextInfo" data-id="notes" placeholder="备注" placeholder-class="place" value="{{notes}}" /> |
||||
</view> |
||||
|
||||
</view> |
||||
</view> |
||||
|
||||
<view class="back"> |
||||
<view class="bush"> |
||||
<view style="flex: 1;">物流车拍照</view> |
||||
<button bindtap="bushPhot" hidden="true">拍 照</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" hidden="true">拍 照</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="true">修 改</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" bindtap="goDetail"> |
||||
<view class="td1">{{item.id}}</view> |
||||
<view class="td">{{item.number}}</view> |
||||
<view class="td">{{item.time}}</view> |
||||
<view class="td">{{item.status}}</view> |
||||
<view class="td">{{item.name}}</view> |
||||
<view class="td">{{item.num}}</view> |
||||
</view> |
||||
</scroll-view> |
||||
</view> |
||||
</view> |
@ -1,63 +0,0 @@ |
||||
<!--pages/handover/handover.wxml--> |
||||
<view class="box"> |
||||
<view class="top">物流单号M2023020200012已签收。签收时间:2023年6月14日 14:36</view> |
||||
|
||||
<view class="back"> |
||||
<view style="display: flex;" class="from-con"> |
||||
<text>日 期:</text> |
||||
<picker mode="date" value="date" start="start" end="end" bindchange="bindDateChange" class="from-con"> |
||||
<input type="text" disabled="true" placeholder="请选择日期" placeholder-class="place" value="{{date}}" /> |
||||
</picker> |
||||
<button class="f5" bindtap="refresh">查 询</button> |
||||
</view> |
||||
<view style="margin-top: 10rpx;">物流单号</view> |
||||
<scroll-view scroll-y class="allordernum"> |
||||
<!--物流单列表--> |
||||
<view wx:for="{{logisticsCodeList}}" wx:key="idx"> |
||||
|
||||
<view wx:if="{{item.status == 1}}" style="background-color: #ffe4c4;" bindtap="selSampleList" data-id="{{item.logisticsNo}}">{{item.logisticsNo}} - [未核收]</view> |
||||
|
||||
<view wx:else style="background-color: #a0f88a;" bindtap="selSampleList" data-id="{{item.logisticsNo}}">{{item.logisticsNo}} - [已核收]</view> |
||||
|
||||
</view> |
||||
</scroll-view> |
||||
</view> |
||||
|
||||
<view class="back"> |
||||
<scroll-view scroll-x style="width: 100%; border: 1rpx #ddd solid;"> |
||||
<view class="tr top1"> |
||||
<view class="td td1">序号</view> |
||||
<view class="td">样本号</view> |
||||
<view class="td">送检机构</view> |
||||
<view class="td td2">日期</view> |
||||
<view class="td">转运箱号</view> |
||||
<view class="td">交接人</view> |
||||
<view class="td">状态</view> |
||||
</view> |
||||
<block wx:for="{{sampleList}}" wx:key="index"> |
||||
<view class="tr"> |
||||
<view class="td td1">{{index+1}}</view> |
||||
<view class="td">{{item.barCode}}</view> |
||||
<view class="td">{{item.institutionName}}</view> |
||||
<view class="td td2">{{item.entryDate}}</view> |
||||
<view class="td">{{item.boxNum}}</view> |
||||
<view class="td">{{item.logisticsMen}}</view> |
||||
<view class="td" wx:if="{{item.status == 0}}" class="td">未采样</view> |
||||
<view class="td" wx:elif="{{item.status == 1}}" class="td">已采样</view> |
||||
<view class="td" wx:elif="{{item.status == 2}}" class="td">已发货</view> |
||||
<view class="td" wx:elif="{{item.status == 3}}" class="td">已接收</view> |
||||
<view class="td" wx:elif="{{item.status == 4}}" class="td">重新采样</view> |
||||
<view class="td" wx:else class="td">其它</view> |
||||
</view> |
||||
</block> |
||||
</scroll-view> |
||||
</view> |
||||
<view class="zan-dialog {{ showDialog ? 'zan-dialog--show' : 'pop_hidden' }}"> |
||||
<view class="zan-dialog__mask" bindtap="toggleDialog" /> |
||||
<view class="zan-dialog__container"> |
||||
<view style='padding:40rpx;'> |
||||
<canvas type="2d" class="canvas" id="myQrcode" bindtap="collectionSam"></canvas> |
||||
</view> |
||||
</view> |
||||
</view> |
||||
</view> |
@ -1,143 +0,0 @@ |
||||
/* pages/handover/handover.wxss */ |
||||
.back { |
||||
margin-top: 15rpx; |
||||
} |
||||
|
||||
.top { |
||||
background-color: #fff; |
||||
padding: 10rpx 10rpx; |
||||
font-size: 22rpx; |
||||
border-radius: 5rpx; |
||||
} |
||||
|
||||
.from-con { |
||||
display: flex; |
||||
align-items: center; |
||||
position: relative; |
||||
} |
||||
|
||||
.from-con input { |
||||
width: 250rpx; |
||||
border-radius: 5rpx; |
||||
border: 1rpx #666 solid; |
||||
padding: 3rpx 10rpx; |
||||
text-align: center; |
||||
} |
||||
|
||||
.canvas { |
||||
width: 100px; |
||||
height: 100px; |
||||
background-color: #6bc9ca; |
||||
} |
||||
|
||||
.place { |
||||
color: #c4bfbf; |
||||
} |
||||
|
||||
.f5 { |
||||
width: 200rpx !important; |
||||
font-size: 28rpx; |
||||
background-color: #eee; |
||||
border: 1rpx #ddd solid; |
||||
height: 60rpx; |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
position: relative; |
||||
left: 40rpx; |
||||
} |
||||
|
||||
|
||||
.allordernum { |
||||
margin-top: 20rpx; |
||||
/* border: 1rpx #999 solid; */ |
||||
background-color: #f1f1f1; |
||||
border: 1rpx #eee solid; |
||||
border-radius: 5rpx; |
||||
width: 100%; |
||||
height: 350rpx; |
||||
padding: 20rpx 0; |
||||
} |
||||
|
||||
.allordernum view view { |
||||
padding: 20rpx; |
||||
background-color: #eee; |
||||
width: 88%; |
||||
margin: 0 auto; |
||||
margin-bottom: 15rpx; |
||||
border-radius: 5rpx; |
||||
} |
||||
|
||||
|
||||
.tr { |
||||
display: flex; |
||||
width: 100%; |
||||
|
||||
} |
||||
|
||||
.tr .td { |
||||
/* border-right:#ddd solid 1rpx ; |
||||
border-top: #ddd solid 1rpx; */ |
||||
border: 1rpx #ddd solid; |
||||
padding: 10rpx 0; |
||||
font-size: 22rpx; |
||||
display: flex; |
||||
justify-content: center; |
||||
align-items: center; |
||||
flex-wrap: nowrap; |
||||
white-space: nowrap; |
||||
min-width: 200rpx; |
||||
} |
||||
|
||||
.top1 view { |
||||
background-color: #6bc9ca; |
||||
color: #fff; |
||||
} |
||||
|
||||
.td1 { |
||||
min-width: 100rpx !important; |
||||
} |
||||
|
||||
|
||||
.zan-dialog__mask { |
||||
position: fixed; |
||||
top: 0; |
||||
left: 0; |
||||
right: 0; |
||||
bottom: 0; |
||||
z-index: 10; |
||||
background: rgba(0, 0, 0, 0.05); |
||||
/* 设置阴影半透明背景如: background: rgba(0, 0, 0, 0.4); */ |
||||
display: none; |
||||
} |
||||
|
||||
.zan-dialog__container { |
||||
position: fixed; |
||||
bottom: 200rpx; |
||||
width: 280rpx; |
||||
/* 弹窗布局宽 */ |
||||
height: 280rpx; |
||||
/* 弹窗布局高,与下面弹出距离transform有关 */ |
||||
margin-left: 220rpx; |
||||
background: #f8f8f8; |
||||
transform: translateY(300%); |
||||
/* 弹框弹出距离,与弹框布局高度有关,如300%表示弹起距离为3倍弹窗高度 */ |
||||
transition: all 0.4s ease; |
||||
z-index: 12; |
||||
border-radius: 10rpx; |
||||
box-shadow: 0px 3px 3px 2px gainsboro; |
||||
/* 弹框的悬浮阴影效果,如不需要可注释该行 */ |
||||
} |
||||
|
||||
.zan-dialog--show .zan-dialog__container { |
||||
transform: translateY(0); |
||||
} |
||||
|
||||
.zan-dialog--show .zan-dialog__mask { |
||||
display: block; |
||||
} |
||||
|
||||
/*隐藏*/ |
||||
.pop_hidden { |
||||
display: none; |
||||
} |
@ -1,98 +0,0 @@ |
||||
// pages/login/login.js
|
||||
const request = require('../../utils/http') |
||||
var app = getApp(); |
||||
|
||||
Page({ |
||||
|
||||
/** |
||||
* 页面的初始数据 |
||||
*/ |
||||
data: { |
||||
username: "yuexiangqian", //账号
|
||||
userpwd: "123456", //密码
|
||||
}, |
||||
getUsername(e) { |
||||
this.setData({ |
||||
username: e.detail.value |
||||
}) |
||||
}, |
||||
getUserpwd(e) { |
||||
this.setData({ |
||||
userpwd: e.detail.value |
||||
}) |
||||
}, |
||||
//登录请求
|
||||
login() { |
||||
request.post(`/sso/login?username=${this.data.username}&password=${this.data.userpwd}`).then(res => { |
||||
console.log(res); |
||||
if (res.data.code == 200) { |
||||
app.globalData.token = res.data.data.tokenHead + res.data.data.token; |
||||
request.get('/sso/info').then(res2 => { |
||||
app.globalData.userInfo = res2.data.data |
||||
wx.showToast({ |
||||
title: '登陆成功' |
||||
}) |
||||
wx.reLaunch({ |
||||
url: '../about/about' |
||||
}); |
||||
}) |
||||
} |
||||
}) |
||||
}, |
||||
|
||||
/** |
||||
* 生命周期函数--监听页面加载 |
||||
*/ |
||||
onLoad(options) { |
||||
|
||||
}, |
||||
|
||||
/** |
||||
* 生命周期函数--监听页面初次渲染完成 |
||||
*/ |
||||
onReady() { |
||||
|
||||
}, |
||||
|
||||
/** |
||||
* 生命周期函数--监听页面显示 |
||||
*/ |
||||
onShow() { |
||||
|
||||
}, |
||||
|
||||
/** |
||||
* 生命周期函数--监听页面隐藏 |
||||
*/ |
||||
onHide() { |
||||
|
||||
}, |
||||
|
||||
/** |
||||
* 生命周期函数--监听页面卸载 |
||||
*/ |
||||
onUnload() { |
||||
|
||||
}, |
||||
|
||||
/** |
||||
* 页面相关事件处理函数--监听用户下拉动作 |
||||
*/ |
||||
onPullDownRefresh() { |
||||
|
||||
}, |
||||
|
||||
/** |
||||
* 页面上拉触底事件的处理函数 |
||||
*/ |
||||
onReachBottom() { |
||||
|
||||
}, |
||||
|
||||
/** |
||||
* 用户点击右上角分享 |
||||
*/ |
||||
onShareAppMessage() { |
||||
|
||||
} |
||||
}) |
@ -1,4 +0,0 @@ |
||||
{ |
||||
"usingComponents": {}, |
||||
"navigationBarTitleText": "登录" |
||||
} |
@ -1,62 +0,0 @@ |
||||
/* pages/login/login.wxss */ |
||||
/* pages/login/login.wxss */ |
||||
page { |
||||
background: -webkit-linear-gradient(top, #27adb0, #b6f0f0, #f8f8f8); |
||||
padding-top: 250rpx; |
||||
} |
||||
|
||||
.title { |
||||
padding: 40rpx 50rpx; |
||||
font-size: 55rpx; |
||||
color: #fff; |
||||
font-weight: 600; |
||||
font-family: 'Courier New', Courier, monospace; |
||||
} |
||||
|
||||
|
||||
.box { |
||||
background-color: #fff; |
||||
width: 650rpx; |
||||
border-radius: 10rpx; |
||||
margin: 0 auto; |
||||
padding: 30rpx 0; |
||||
} |
||||
|
||||
.text { |
||||
display: flex; |
||||
/* background-color: #f1f1f1; */ |
||||
border-radius: 20rpx; |
||||
width: 600rpx; |
||||
margin: 0 auto; |
||||
padding: 20rpx; |
||||
align-items: center; |
||||
} |
||||
|
||||
.text label { |
||||
font-weight: 900; |
||||
font-size: 30rpx; |
||||
color: #333; |
||||
} |
||||
|
||||
.text input { |
||||
font-size: 28rpx; |
||||
background-color: #f5f5f5; |
||||
width: 70%; |
||||
height: 60rpx; |
||||
padding: 0 20rpx; |
||||
border-radius: 10rpx; |
||||
} |
||||
|
||||
.btn { |
||||
border-radius: 10rpx; |
||||
height: 80rpx; |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
font-size: 30rpx; |
||||
font-weight: 500; |
||||
background-color: #259c9e; |
||||
color: #fff; |
||||
margin-top: 50rpx; |
||||
width: 300rpx !important; |
||||
} |
@ -1,74 +0,0 @@ |
||||
<view style="background: -webkit-linear-gradient(top,#27adb0,#ebf7f7,#f1f1f1);min-height: 1300rpx;padding: 20rpx;"> |
||||
|
||||
<view class="form"> |
||||
<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> |
||||
<picker mode="date" value="date" start="start" end="end" bindchange="bindDateChangeend" class="from-con"> |
||||
<label> </label> |
||||
<input type="text" disabled="true" placeholder="请选择结束日期" placeholder-class="place" value="{{endDate}}" /> |
||||
</picker> |
||||
<view class="from-con"> |
||||
<label>物流单号:</label> |
||||
<input type="text" placeholder="物流单号" placeholder-class="place" bindinput="getLogisticsNo" value="{{logisticsNo}}"/> |
||||
</view> |
||||
<picker class="from-con" bindchange="bindPickerChange" value="{{insName}}" range="{{ins}}"> |
||||
<label>送检机构:</label> |
||||
<input type="text" disabled="true" placeholder="请选择送检机构" placeholder-class="place" value="{{insName}}" /> |
||||
</picker> |
||||
<view class="from-con"> |
||||
<label>物流员:</label> |
||||
<input type="text" placeholder="物流员" placeholder-class="place" bindinput="bindLogisticsMen" value="{{logisticsMen}}" /> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label>转运箱号:</label> |
||||
<input type="text" placeholder="转运箱号" placeholder-class="place" bindinput="bindBoxNum" value="{{boxNum}}" /> |
||||
</view> |
||||
<view class="from-button"> |
||||
<button style="background-color: #ddd;" bindtap="resetting">重 置</button> |
||||
<button style="background-color: #54b4b6; color: #fff;" bindtap="selSampleList">查 询</button> |
||||
|
||||
</view> |
||||
</view> |
||||
|
||||
<view style="background-color: #fff;border-radius: 15rpx;margin-top: 15rpx; padding: 30rpx 10rpx 50rpx 10rpx;"> |
||||
<scroll-view scroll-x style="width: 100%;"> |
||||
<view class="tr top"> |
||||
<view class="td td1">序号</view> |
||||
<view class="td">物流单号</view> |
||||
<view class="td">送检机构</view> |
||||
<view class="td td_date">日期</view> |
||||
<view class="td">样本管数</view> |
||||
<view class="td">转运方式</view> |
||||
<view class="td">转运箱号</view> |
||||
<view class="td td_time">出发时间</view> |
||||
<view class="td td_time">到达时间</view> |
||||
<view class="td">车牌号</view> |
||||
<view class="td">备注</view> |
||||
</view> |
||||
|
||||
<block wx:for="{{sampleList}}" wx:key="index"> |
||||
<view class="tr"> |
||||
<view class="td td1">{{index + 1}}</view> |
||||
<view class="td">{{item.logisticsNo}}</view> |
||||
<view class="td">{{item.institutionName}}</view> |
||||
<view class="td td_date">{{item.entryDate}}</view> |
||||
<view class="td">{{item.number}}</view> |
||||
<block> |
||||
<view class="td" wx:if="{{item.tranType == 1}}">私家车</view> |
||||
<view class="td" wx:else>其他</view> |
||||
</block> |
||||
<view class="td">{{item.boxNum}}</view> |
||||
<view class="td td_time">{{item.startTime}}</view> |
||||
<view class="td td_time">{{item.endTime}}</view> |
||||
<view class="td">{{itme.numberplate}}</view> |
||||
<view class="td">{{itme.notes}}</view> |
||||
</view> |
||||
</block> |
||||
</scroll-view> |
||||
<!-- <view style="text-align: right; font-size: 26rpx;margin-top: 30rpx;padding: 0 20rpx;">共 2 条</view> --> |
||||
</view> |
||||
|
||||
|
||||
</view> |
@ -1,79 +0,0 @@ |
||||
|
||||
page{ |
||||
background: -webkit-linear-gradient(top,#27adb0,#ebf7f7,#f1f1f1) |
||||
} |
||||
|
||||
.form{ |
||||
background-color: #fff; |
||||
border-radius: 15rpx; |
||||
padding: 20rpx 50rpx; |
||||
margin-bottom: 15rpx; |
||||
} |
||||
.form .from-con{ |
||||
font-size: 28rpx; |
||||
border-bottom: 2rpx #eee solid; |
||||
position: relative; |
||||
margin-top: 25rpx; |
||||
} |
||||
.from-con label{ |
||||
position: absolute; |
||||
top: 5rpx; |
||||
font-weight: 900; |
||||
font-size: 28rpx; |
||||
color: #333; |
||||
} |
||||
.from-con input{ |
||||
text-align: right; |
||||
padding: 10rpx; |
||||
} |
||||
.place{ |
||||
color:#c4bfbf; |
||||
} |
||||
.from-button{ |
||||
display: flex; |
||||
margin-top: 20rpx; |
||||
} |
||||
|
||||
.from-button button{ |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
width: 250rpx !important; |
||||
font-size: 28rpx; |
||||
} |
||||
|
||||
|
||||
.tr{ |
||||
display: flex; |
||||
width: 100%; |
||||
|
||||
} |
||||
.tr .td{ |
||||
/* border-right:#ddd solid 1rpx ; |
||||
border-top: #ddd solid 1rpx; |
||||
border-bottom: #ddd solid 1rpx; */ |
||||
border: 1rpx #ddd solid; |
||||
padding: 15rpx 0; |
||||
font-size: 22rpx; |
||||
display: flex; |
||||
justify-content: center; |
||||
align-items: center; |
||||
flex-wrap: nowrap; |
||||
white-space: nowrap; |
||||
min-width: 150rpx; |
||||
} |
||||
.top view{ |
||||
background-color: #6bc9ca; |
||||
color: #fff; |
||||
} |
||||
.td1{ |
||||
min-width: 100rpx !important; |
||||
} |
||||
.td_date{ |
||||
min-width: 200rpx !important; |
||||
} |
||||
.td_time{ |
||||
min-width: 300rpx !important; |
||||
} |
||||
|
||||
|
@ -1,72 +0,0 @@ |
||||
<view style="background: -webkit-linear-gradient(top,#27adb0,#ebf7f7,#f1f1f1);min-height: 1300rpx;padding: 20rpx;"> |
||||
|
||||
<view class="form"> |
||||
<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> |
||||
<picker mode="date" value="date" start="start" end="end" bindchange="bindDateChangeend" class="from-con"> |
||||
<label> </label> |
||||
<input type="text" disabled="true" placeholder="请选择结束日期" placeholder-class="place" value="{{endDate}}" /> |
||||
</picker> |
||||
<view class="from-con"> |
||||
<label>物流单号:</label> |
||||
<input type="text" placeholder="物流单号" placeholder-class="place" bindinput="getLogisticsNo" value="{{logisticsNo}}" /> |
||||
</view> |
||||
<picker class="from-con" bindchange="bindPickerChange" value="{{insName}}" range="{{ins}}"> |
||||
<label>送检机构:</label> |
||||
<input type="text" disabled="true" placeholder="请选择送检机构" placeholder-class="place" value="{{insName}}" /> |
||||
</picker> |
||||
<view class="from-con"> |
||||
<label>物流员:</label> |
||||
<input type="text" placeholder="物流员" placeholder-class="place" bindinput="bindLogisticsMen" value="{{logisticsMen}}" /> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label>转运箱号:</label> |
||||
<input type="text" placeholder="转运箱号" placeholder-class="place" bindinput="bindBoxNum" value="{{boxNum}}" /> |
||||
</view> |
||||
<view class="from-button"> |
||||
<button style="background-color: #ddd;" bindtap="resetting">重 置</button> |
||||
<button style="background-color: #54b4b6; color: #fff;" bindtap="selSampleList">查 询</button> |
||||
|
||||
</view> |
||||
</view> |
||||
|
||||
<view style="background-color: #fff;border-radius: 15rpx;margin-top: 15rpx; padding: 30rpx 10rpx 50rpx 10rpx;"> |
||||
<scroll-view scroll-x style="width: 100%;"> |
||||
<view class="tr top"> |
||||
<view class="td td1"></view> |
||||
<view class="td">物流单号</view> |
||||
<view class="td">送检机构</view> |
||||
<view class="td td_date">创建日期</view> |
||||
<view class="td td2">样本管数</view> |
||||
<view class="td">转运方式</view> |
||||
<view class="td">转运箱号</view> |
||||
<view class="td td_time">预计出发时间</view> |
||||
<view class="td td_time">到达时间</view> |
||||
<view class="td">车牌号</view> |
||||
<view class="td">备注</view> |
||||
</view> |
||||
|
||||
<block wx:for="{{sampleList}}" wx:key="index"> |
||||
<view class="tr"> |
||||
<view class="td td1">{{index + 1}}</view> |
||||
<view class="td">{{item.logisticsNo}}</view> |
||||
<view class="td">{{item.institutionName}}</view> |
||||
<view class="td td_date">{{item.createTime}}</view> |
||||
<view class="td td2">{{item.number}}</view> |
||||
<block> |
||||
<view class="td" wx:if="{{item.tranType == 1}}">自建物流</view> |
||||
<view class="td" wx:else>其他</view> |
||||
</block> |
||||
<view class="td">{{item.boxNum}}</view> |
||||
<view class="td td_time">{{item.startTime}}</view> |
||||
<view class="td td_time">{{item.collTime == '' ? '未核收':item.collTime}}</view> |
||||
<view class="td">{{itme.numberplate}}</view> |
||||
<view class="td">{{itme.notes}}</view> |
||||
</view> |
||||
</block> |
||||
</scroll-view> |
||||
<view style="text-align: right; font-size: 26rpx;margin-top: 30rpx;padding: 0 20rpx;">共 {{sampleList.length}} 条</view> |
||||
</view> |
||||
</view> |
@ -1,85 +0,0 @@ |
||||
|
||||
page{ |
||||
background: -webkit-linear-gradient(top,#27adb0,#ebf7f7,#f1f1f1) |
||||
} |
||||
|
||||
.form{ |
||||
background-color: #fff; |
||||
border-radius: 15rpx; |
||||
padding: 20rpx 50rpx; |
||||
margin-bottom: 15rpx; |
||||
} |
||||
.form .from-con{ |
||||
font-size: 28rpx; |
||||
border-bottom: 2rpx #eee solid; |
||||
position: relative; |
||||
margin-top: 25rpx; |
||||
} |
||||
.from-con label{ |
||||
position: absolute; |
||||
top: 5rpx; |
||||
font-weight: 900; |
||||
font-size: 28rpx; |
||||
color: #333; |
||||
} |
||||
.from-con input{ |
||||
text-align: right; |
||||
padding: 10rpx; |
||||
} |
||||
.place{ |
||||
color:#c4bfbf; |
||||
} |
||||
.from-button{ |
||||
display: flex; |
||||
margin-top: 20rpx; |
||||
} |
||||
|
||||
.from-button button{ |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
width: 250rpx !important; |
||||
font-size: 28rpx; |
||||
} |
||||
|
||||
|
||||
.tr{ |
||||
display: flex; |
||||
width: 100%; |
||||
|
||||
} |
||||
.tr .td{ |
||||
/* border-right:#ddd solid 1rpx ; |
||||
border-top: #ddd solid 1rpx; |
||||
border-bottom: #ddd solid 1rpx; */ |
||||
border: 1rpx #ddd solid; |
||||
padding: 15rpx 0; |
||||
font-size: 22rpx; |
||||
display: flex; |
||||
justify-content: center; |
||||
align-items: center; |
||||
flex-wrap: nowrap; |
||||
white-space: nowrap; |
||||
min-width: 200rpx; |
||||
} |
||||
|
||||
.top view{ |
||||
background-color: #6bc9ca; |
||||
color: #fff; |
||||
} |
||||
.td1{ |
||||
min-width: 50rpx !important; |
||||
} |
||||
|
||||
.td2{ |
||||
min-width: 100rpx !important; |
||||
} |
||||
|
||||
.td_date{ |
||||
min-width: 250rpx !important; |
||||
} |
||||
.td_time{ |
||||
min-width: 300rpx !important; |
||||
} |
||||
|
||||
|
@ -1,63 +0,0 @@ |
||||
<!--pages/querythree/querythree.wxml--> |
||||
<view style="background: -webkit-linear-gradient(top,#27adb0,#ebf7f7,#f1f1f1);min-height: 1300rpx;padding: 20rpx;"> |
||||
<view class="form"> |
||||
<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> |
||||
<picker mode="date" value="date" start="start" end="end" bindchange="bindDateChangeend" class="from-con"> |
||||
<label> </label> |
||||
<input type="text" disabled="true" placeholder="请选择结束日期" placeholder-class="place" value="{{endDate}}" /> |
||||
</picker> |
||||
<view class="from-con"> |
||||
<label>物流单号:</label> |
||||
<input type="text" placeholder="物流单号" placeholder-class="place" bindinput="getLogisticsNo" /> |
||||
</view> |
||||
<picker class="from-con" bindchange="bindPickerChange" value="{{insName}}" range="{{ins}}"> |
||||
<label>送检机构:</label> |
||||
<input type="text" disabled="true" placeholder="请选择送检机构" placeholder-class="place" value="{{insName}}" /> |
||||
</picker> |
||||
<view class="from-con"> |
||||
<label>物流员:</label> |
||||
<input type="text" placeholder="物流员" placeholder-class="place" bindinput="bindLogisticsMen" value="{{logisticsMen}}" /> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label>转运箱号:</label> |
||||
<input type="text" placeholder="转运箱号" placeholder-class="place" bindinput="bindBoxNum" value="{{boxNum}}" /> |
||||
</view> |
||||
<view class="from-button"> |
||||
<button style="background-color: #ddd;" bindtap="resetting">重 置</button> |
||||
<button style="background-color: #54b4b6; color: #fff;" bindtap="selSampleList">查 询</button> |
||||
|
||||
</view> |
||||
</view> |
||||
|
||||
<view style="background-color: #fff;border-radius: 5rpx;margin-top: 5rpx; padding: 15rpx 10rpx 30rpx 10rpx;"> |
||||
<scroll-view scroll-x style="width: 100%; "> |
||||
<view class="tr top"> |
||||
<view class="td td1">序号</view> |
||||
<view class="td">物流单号</view> |
||||
<view class="td">送检机构</view> |
||||
<view class="td td_date">日期</view> |
||||
<view class="td">物流费用</view> |
||||
<view class="td">转运方式</view> |
||||
</view> |
||||
<block wx:for="{{sampleList}}" wx:key="index"> |
||||
<view class="tr"> |
||||
<view class="td td1">{{index + 1}}</view> |
||||
<view class="td">{{item.logisticsNo}}</view> |
||||
<view class="td">{{item.institutionName}}</view> |
||||
<view class="td td_date">{{item.entryDate}}</view> |
||||
<view class="td">{{item.cost}}</view> |
||||
<block> |
||||
<view class="td" wx:if="{{item.tranType == 1}}">私家车</view> |
||||
<view class="td" wx:else>其他</view> |
||||
</block> |
||||
</view> |
||||
</block> |
||||
</scroll-view> |
||||
<!-- <view style="text-align: right; font-size: 26rpx;margin-top: 30rpx;padding: 0 20rpx;">共 2 条</view> --> |
||||
</view> |
||||
|
||||
|
||||
</view> |
@ -1,79 +0,0 @@ |
||||
|
||||
page{ |
||||
background: -webkit-linear-gradient(top,#27adb0,#ebf7f7,#f1f1f1) |
||||
} |
||||
|
||||
.form{ |
||||
background-color: #fff; |
||||
border-radius: 5rpx; |
||||
padding: 20rpx 50rpx; |
||||
margin-bottom: 15rpx; |
||||
} |
||||
.form .from-con{ |
||||
font-size: 28rpx; |
||||
border-bottom: 2rpx #eee solid; |
||||
position: relative; |
||||
margin-top: 25rpx; |
||||
} |
||||
.from-con label{ |
||||
position: absolute; |
||||
top: 5rpx; |
||||
font-weight: 900; |
||||
font-size: 28rpx; |
||||
color: #333; |
||||
} |
||||
.from-con input{ |
||||
text-align: right; |
||||
padding: 10rpx; |
||||
} |
||||
.place{ |
||||
color:#c4bfbf; |
||||
} |
||||
.from-button{ |
||||
display: flex; |
||||
margin-top: 20rpx; |
||||
} |
||||
|
||||
.from-button button{ |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
width: 250rpx !important; |
||||
font-size: 28rpx; |
||||
} |
||||
|
||||
|
||||
.tr{ |
||||
display: flex; |
||||
width: 100%; |
||||
|
||||
} |
||||
.tr .td{ |
||||
/* border-right:#ddd solid 1rpx ; |
||||
border-top: #ddd solid 1rpx; |
||||
border-bottom: #ddd solid 1rpx; */ |
||||
border: 1rpx #ddd solid; |
||||
padding: 15rpx 0; |
||||
font-size: 22rpx; |
||||
display: flex; |
||||
justify-content: center; |
||||
align-items: center; |
||||
flex-wrap: nowrap; |
||||
white-space: nowrap; |
||||
min-width: 150rpx; |
||||
} |
||||
.top view{ |
||||
background-color: #6bc9ca; |
||||
color: #fff; |
||||
} |
||||
.td1{ |
||||
min-width: 50rpx !important; |
||||
} |
||||
.td_date{ |
||||
min-width: 200rpx !important; |
||||
} |
||||
.td_time{ |
||||
min-width: 300rpx !important; |
||||
} |
||||
|
||||
|
@ -1,111 +0,0 @@ |
||||
<view class="box"> |
||||
|
||||
<view class="back"> |
||||
<view class="top"> |
||||
<input type="text" value="{{pipenum}}" /> |
||||
<view style="background-color: #eee;" bindtap="scacode">扫 码</view> |
||||
</view> |
||||
|
||||
<view class="back" style="padding: 0rpx;"> |
||||
<view class="con"> |
||||
<view style="flex: 1;">总计:{{sampleCount}}/管数</view> |
||||
<button style="background-color: #ddd;" hidden="true">修 改</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" bindtap="goDetail"> |
||||
<view class="td1" bindtap="goDetail">{{item.id}}</view> |
||||
<view class="td">{{item.number}}</view> |
||||
<view class="td">{{item.time}}</view> |
||||
<view class="td">{{item.status}}</view> |
||||
<view class="td">{{item.name}}</view> |
||||
<view class="td">{{item.num}}</view> |
||||
</view> |
||||
</scroll-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> |
||||
<image bindtap="photograph" src="{{poto[1]}}" data-id="car_2"></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[1]}}" data-id="box_1"></image> |
||||
<image bindtap="photograph" src="{{poto[3]}}" data-id="box_2"></image> |
||||
<image bindtap="photograph" src="{{poto[1]}}" data-id="car_2"></image> |
||||
<image bindtap="photograph" src="{{poto[1]}}" data-id="car_2"></image> |
||||
</view> |
||||
</view> |
||||
|
||||
<view class="form"> |
||||
<view class="from-con"> |
||||
<label>物流单号:</label> |
||||
<input type="text" placeholder="物流单号" disabled="false" placeholder-class="place" value="{{selfOrderCode}}" /> |
||||
</view> |
||||
<picker class="from-con" bindchange="bindPickerChange" value="{{index}}" range="{{ins}}"> |
||||
<label>物流单位:</label> |
||||
<input type="text" disabled="true" placeholder="请选择物流单位" placeholder-class="place" value="{{ins[index]}}" /> |
||||
</picker> |
||||
|
||||
<!-- <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"> |
||||
<label>物流电话:</label> |
||||
<input type="text" placeholder="物流电话" placeholder-class="place" bindinput="inputTextInfo" data-id="phone" value="{{phone}}" /> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label>物流费用:</label> |
||||
<input type="text" placeholder="物流费用" placeholder-class="place" bindinput="inputTextInfo" data-id="cost" value="{{cost}}" /> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label>转运箱号:</label> |
||||
<input type="text" placeholder="转运箱号" placeholder-class="place" bindinput="inputTextInfo" data-id="boxNum" value="{{boxNum}}" /> |
||||
</view> |
||||
<picker class="from-con" mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}"> |
||||
<label>预计到达时间:</label> |
||||
<input value='{{expectedEndTime}}' placeholder='请选择到达时间' placeholder-class="place" disabled="true" /> |
||||
</picker> |
||||
<view class="from-con"> |
||||
<label>物流员:</label> |
||||
<input type="text" bindinput="inputTextInfo" data-id="logisticsMen" placeholder="物流员" placeholder-class="place" value="{{logisticsMen}}" /> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label>备注:</label> |
||||
<input type="text" placeholder="备注" placeholder-class="place" bindinput="inputTextInfo" data-id="notes" value="{{notes}}" /> |
||||
</view> |
||||
|
||||
</view> |
||||
</view> |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</view> |
@ -0,0 +1,17 @@ |
||||
/**app.wxss**/ |
||||
page{ |
||||
background: -webkit-linear-gradient(top,#27adb0,#ebf7f7,#f4f4f4) |
||||
} |
||||
|
||||
.box{ |
||||
background: -webkit-linear-gradient(top,#27adb0,#ebf7f7,#f4f4f4); |
||||
min-height: 1400rpx; |
||||
padding: 5rpx 15rpx; |
||||
font-size: 28rpx; |
||||
} |
||||
|
||||
.back{ |
||||
padding: 10rpx; |
||||
border-radius: 15rpx; |
||||
background-color: #fff; |
||||
} |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
@ -0,0 +1,58 @@ |
||||
<!--pages/details/details.wxml--> |
||||
<view class="box"> |
||||
<view class="back"> |
||||
<view class="cen"> |
||||
<label>样本条码:</label> |
||||
<input type="text" value="{{barCode}}"/> |
||||
</view> |
||||
<view class="cen"> |
||||
<label>接收时间:</label> |
||||
<input type="text" value="{{receiveTime}}"/> |
||||
</view> |
||||
<view class="cen"> |
||||
<label>样本状态:</label> |
||||
<input type="text" value="已签收" disabled="true"/> |
||||
</view> |
||||
<view class="cen"> |
||||
<label>物流单号:</label> |
||||
<input type="text" value="{{logisticsNo}}"/> |
||||
</view> |
||||
<view class="cen"> |
||||
<label>物流单位:</label> |
||||
<input type="text" value="{{unitType}}"/> |
||||
</view> |
||||
<view class="cen"> |
||||
<label style="letter-spacing: 13rpx;">日 期:</label> |
||||
<input type="text" value="{{entryDate}}"/> |
||||
</view> |
||||
<view class="cen"> |
||||
<label>物流费用:</label> |
||||
<input type="text" value="{{cost}}"/> |
||||
</view> |
||||
<view class="cen"> |
||||
<label>到达日期:</label> |
||||
<input type="text" value="{{expectedEndTime}}"/> |
||||
</view> |
||||
<view class="cen"> |
||||
<label>转运箱号:</label> |
||||
<input type="text" value="{{boxNum}}"/> |
||||
</view> |
||||
<view class="cen"> |
||||
<label>物流车号:</label> |
||||
<input type="text" value="{{numberplate}}"/> |
||||
</view> |
||||
<view class="cen"> |
||||
<label style="letter-spacing: 6rpx;">物流员:</label> |
||||
<input type="text" value="{{logisticsMen}}"/> |
||||
</view> |
||||
<view class="cen"> |
||||
<label style="letter-spacing: 12rpx;">备 注:</label> |
||||
<input type="text" value="{{notes}}"/> |
||||
</view> |
||||
</view> |
||||
|
||||
<view class="bottom"> |
||||
<button class="btn1">删 除</button> |
||||
<button class="btn2" bindtap="goIndex">保 存</button> |
||||
</view> |
||||
</view> |
@ -0,0 +1,47 @@ |
||||
/* pages/details/details.wxss */ |
||||
.cen{ |
||||
display: flex; |
||||
margin-top: 5rpx; |
||||
padding: 0 30rpx; |
||||
align-items: center; |
||||
} |
||||
.cen label{ |
||||
width: 150rpx; |
||||
text-align: right; |
||||
|
||||
padding: 20rpx 20rpx; |
||||
font-size: 30rpx; |
||||
font-weight: 700; |
||||
color: #444; |
||||
/* background-color: blue; */ |
||||
} |
||||
|
||||
.cen input{ |
||||
background-color: #f1f1f1; |
||||
padding: 8rpx 30rpx; |
||||
/* width: 250rpx; */ |
||||
flex: 1; |
||||
border-radius: 60rpx; |
||||
font-size: 26rpx; |
||||
letter-spacing: 2rpx; |
||||
} |
||||
|
||||
.bottom{ |
||||
display: flex; |
||||
margin-top: 100rpx; |
||||
justify-content: space-around; |
||||
width: 100%; |
||||
} |
||||
.bottom button{ |
||||
border-radius: 60rpx; |
||||
width: 45% !important; |
||||
font-size: 30rpx; |
||||
} |
||||
.btn1{ |
||||
background-color: #ddd; |
||||
} |
||||
.btn2{ |
||||
background-color: #ddd; |
||||
color: #fff; |
||||
background-color: #27adb0; |
||||
} |
@ -0,0 +1,4 @@ |
||||
{ |
||||
"usingComponents": {}, |
||||
"navigationBarTitleText": "三力货运物流" |
||||
} |
@ -0,0 +1,112 @@ |
||||
<view class="box"> |
||||
<view class="top"> |
||||
<input type="text" value="{{pipenum}}" /> |
||||
<view bindtap="scacode"> |
||||
<image src="../../images/saoma.png" style="width: 70rpx; height: 70rpx;"></image> |
||||
</view> |
||||
</view> |
||||
|
||||
<!-- <view class="back"> --> |
||||
|
||||
<!-- <view class="back"> |
||||
<view class="con"> |
||||
<view style="flex: 1;">总计:{{sampleCount}}/管数</view> |
||||
<button style="background-color: #ddd;" hidden="true">修 改</button> |
||||
</view> |
||||
|
||||
<scroll-view scroll-x scroll-y 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" bindtap="goDetail"> |
||||
<view class="td1">{{item.id}}</view> |
||||
<view class="td">{{item.number}}</view> |
||||
<view class="td">{{item.time}}</view> |
||||
<view class="td">{{item.status}}</view> |
||||
<view class="td">{{item.name}}</view> |
||||
<view class="td">{{item.num}}</view> |
||||
</view> |
||||
</scroll-view> |
||||
</view> --> |
||||
|
||||
<view class="form"> |
||||
<!-- <view class="from-con"> |
||||
<label>物流单号:</label> |
||||
<input type="text" placeholder="物流单号" disabled="false" placeholder-class="place" value="{{selfOrderCode}}" /> |
||||
</view> --> |
||||
|
||||
<picker class="from-con" bindchange="bindPickerChange" value="{{index}}" range="{{ins}}"> |
||||
<label>转运方式:</label> |
||||
<input type="text" disabled="true" placeholder="请选择转运方式" placeholder-class="place" value="{{ins[index]}}" /> |
||||
</picker> |
||||
<view class="from-con"> |
||||
<label>转运箱号:</label> |
||||
<input type="text" placeholder="转运箱号" placeholder-class="place" value="" /> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label>数量:</label> |
||||
<input type="text" placeholder="数量" placeholder-class="place"/> |
||||
</view> |
||||
<picker mode="date" value="date" start="start" end="end" bindchange="bindDateChange" class="from-con"> |
||||
<label style="letter-spacing: 14rpx;">日 期:</label> |
||||
<input type="text" disabled="true" placeholder="请选择日期" placeholder-class="place" value="{{date}}" /> |
||||
</picker> |
||||
<view class="from-con"> |
||||
<label>物流电话:</label> |
||||
<input type="text" placeholder="物流电话" placeholder-class="place" bindinput="inputTextInfo" data-id="phone" value="{{phone}}" /> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label>物流费用:</label> |
||||
<input type="number" placeholder="物流费用" placeholder-class="place" bindinput="inputTextInfo" data-id="cost" value="{{cost}}" /> |
||||
</view> |
||||
<picker class="from-con" mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}"> |
||||
<label>到达时间:</label> |
||||
<input value='{{time}}' placeholder='请选择到达时间' placeholder-class="place" disabled="true" /> |
||||
</picker> |
||||
<view class="from-con"> |
||||
<label style="letter-spacing: 8rpx;">车牌号:</label> |
||||
<input type="text" placeholder="车牌号" placeholder-class="place" bindinput="inputTextInfo" data-id="numberplate" value="{{numberplate}}" /> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label style="letter-spacing: 8rpx;">物流员:</label> |
||||
<input type="text" bindinput="inputTextInfo" data-id="logisticsMen" placeholder="物流员" placeholder-class="place" value="{{logistician}}" /> |
||||
</view> |
||||
<view class="from-con" style="border-bottom: none;"> |
||||
<label style="letter-spacing: 14rpx;">备 注:</label> |
||||
<input type="text" bindinput="inputTextInfo" data-id="notes" placeholder="备注" placeholder-class="place" value="{{notes}}" /> |
||||
</view> |
||||
</view> |
||||
|
||||
<!-- 拍照 --> |
||||
<view class="back_img_box"> |
||||
<view class="bush"> |
||||
<view style="flex: 1;">物流车拍照</view> |
||||
<!-- <button bindtap="bushPhot" hidden="true">拍 照</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> |
||||
<image bindtap="photograph" src="{{poto[1]}}" data-id="car_2"></image> |
||||
<image bindtap="photograph" src="{{poto[1]}}" data-id="car_2"></image> |
||||
</view> |
||||
|
||||
<view class="bush"> |
||||
<view style="flex: 1;">转运箱拍照</view> |
||||
<button bindtap="boxPhot" hidden="true">拍 照</button> |
||||
</view> |
||||
<view class="bush-img"> |
||||
<image bindtap="photograph" src="{{poto[1]}}" data-id="box_1"></image> |
||||
<image bindtap="photograph" src="{{poto[3]}}" data-id="box_2"></image> |
||||
<image bindtap="photograph" src="{{poto[1]}}" data-id="box_2"></image> |
||||
<image bindtap="photograph" src="{{poto[1]}}" data-id="box_2"></image> |
||||
</view> |
||||
</view> |
||||
|
||||
<button class="bottomButton" bindtap="saveInfo">保 存</button> |
||||
|
||||
</view> |
@ -0,0 +1,115 @@ |
||||
<!--pages/handover/handover.wxml--> |
||||
<view class="zhezhaoceng {{screenisshow?'screenAlertActive':''}}"> |
||||
<view class="screenAlert"> |
||||
<view style="font-weight: 700;">按时间查询</view> |
||||
<view class="dateList"> |
||||
<view wx:for="{{dateList}}" wx:key="index" data-id="{{item.id}}" bindtap="selectDate" class="date1 {{item.isShow?'dataActive':''}}">{{item.name}}</view> |
||||
<view class="selectdate"> |
||||
<picker mode="date" value="date" start="start" end="end" bindchange="bindDateChange"> |
||||
<input type="text" disabled="true" placeholder="起始时间" placeholder-class="place" value="{{date}}" /> |
||||
</picker> |
||||
<text style="color:#ddd">—</text> |
||||
<picker mode="date" value="date" start="start" end="end" bindchange="bindDateChangeend"> |
||||
<input type="text" disabled="true" placeholder="终止时间" placeholder-class="place" value="{{endDate}}" /> |
||||
</picker> |
||||
</view> |
||||
</view> |
||||
|
||||
<view style="display: flex; margin-top: 50rpx; padding: 20rpx 0;"> |
||||
<button class="chongzhi" bindtap="resDate">重 置</button> |
||||
<button class="queren" bindtap="okDate">确 认</button> |
||||
</view> |
||||
</view> |
||||
</view> |
||||
|
||||
<view class="top">物流单号M2023020200012已签收。签收时间:2023年6月14日 14:36</view> |
||||
<view class="box"> |
||||
|
||||
<view class="screen"> |
||||
<input type="text" placeholder="请输入物流单号" placeholder-class="place" bindinput="getLogisticsNo" value="{{logisticsNo}}" /> |
||||
<view style="display: flex; align-items: center;" bindtap="screenisshow"> |
||||
<image src="../../images/shaixuan.png"></image> |
||||
<view class="wz">筛选</view> |
||||
</view> |
||||
</view> |
||||
<!-- <view class="dateQuery"> |
||||
<picker mode="date" value="date" start="start" end="end" bindchange="bindDateChange" class="datesel"> |
||||
<input type="text" disabled="true" placeholder="请选择日期" value="{{date}}" /> |
||||
</picker> |
||||
<button class="f5" bindtap="refresh">查 询</button> |
||||
</view> --> |
||||
|
||||
<view class="form"> |
||||
<view class="from-con"> |
||||
<label>送检机构:</label> |
||||
<input type="text" placeholder="送检机构" placeholder-class="place"/> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label style="letter-spacing: 8rpx;">物流员:</label> |
||||
<input type="text" placeholder="物流员" placeholder-class="place" /> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label style="letter-spacing: 14rpx;">状 态:</label> |
||||
<input type="text" placeholder="状态" placeholder-class="place" /> |
||||
</view> |
||||
<view class="from-button" style="margin-top: 50rpx;"> |
||||
<button style="height: 65rpx;background-color: #eeeaea; border: 1rpx #f0eeee solid; border-radius: 50rpx;" bindtap="resetting">重 置</button> |
||||
<button style="height: 65rpx;background-color: #63bec0; color: #fff; border-radius: 50rpx; border: 1rpx #f0eeee solid;" bindtap="refresh">查 询</button> |
||||
</view> |
||||
</view> |
||||
|
||||
<view class="back" style="padding: 20rpx;box-shadow: 0 0 10px #ddd;"> |
||||
<view>物流单号</view> |
||||
<scroll-view scroll-y class="allordernum" style="box-shadow: 0 0 15px rgb(211, 210, 210);"> |
||||
<!--物流单列表--> |
||||
<view wx:for="{{logisticsCodeList}}" wx:key="idx"> |
||||
|
||||
<view wx:if="{{item.status == 1}}" style="background-color:#b9e3e5; border-radius: 50rpx; font-size: 24rpx; color: #555; font-weight: 700; letter-spacing: 2rpx;" bindtap="selSampleList" data-id="{{item.logisticsNo}}">{{item.logisticsNo}} - [未核收]</view> |
||||
|
||||
<view wx:else style="background-color:#bee9c0; font-size: 24rpx; color: #555; font-weight: 700; letter-spacing: 2rpx;border-radius: 50rpx;" bindtap="selSampleList" data-id="{{item.logisticsNo}}">{{item.logisticsNo}} - [已核收]</view> |
||||
|
||||
</view> |
||||
</scroll-view> |
||||
<view style="margin-top: 40rpx;text-align: right;">总管数:20管</view> |
||||
</view> |
||||
|
||||
<view class="back" style="padding: 20rpx;box-shadow: 0 0 10px #ddd;"> |
||||
<scroll-view scroll-x style="width: 100%; height: 400rpx;"> |
||||
<view class="tr top1"> |
||||
<view class="td td1">序号</view> |
||||
<view class="td">样本号</view> |
||||
<view class="td">送检机构</view> |
||||
<view class="td td2">日期</view> |
||||
<view class="td">转运箱号</view> |
||||
<view class="td">交接人</view> |
||||
<view class="td">状态</view> |
||||
</view> |
||||
<block wx:for="{{sampleList}}" wx:key="index"> |
||||
<view class="tr"> |
||||
<view class="td td1">{{index+1}}</view> |
||||
<view class="td">{{item.barCode}}</view> |
||||
<view class="td">{{item.institutionName}}</view> |
||||
<view class="td td2">{{item.entryDate}}</view> |
||||
<view class="td">{{item.boxNum}}</view> |
||||
<view class="td">{{item.logisticsMen}}</view> |
||||
<view class="td" wx:if="{{item.status == 0}}" class="td">未采样</view> |
||||
<view class="td" wx:elif="{{item.status == 1}}" class="td">已采样</view> |
||||
<view class="td" wx:elif="{{item.status == 2}}" class="td">已发货</view> |
||||
<view class="td" wx:elif="{{item.status == 3}}" class="td">已接收</view> |
||||
<view class="td" wx:elif="{{item.status == 4}}" class="td">重新采样</view> |
||||
<view class="td" wx:else class="td">其它</view> |
||||
</view> |
||||
</block> |
||||
</scroll-view> |
||||
</view> |
||||
<view class="zan-dialog {{ showDialog ? 'zan-dialog--show' : 'pop_hidden' }}"> |
||||
<view class="zan-dialog__mask" bindtap="toggleDialog" /> |
||||
<view class="zan-dialog__container"> |
||||
<view style='padding:40rpx;'> |
||||
<canvas type="2d" class="canvas" id="myQrcode" bindtap="collectionSam"></canvas> |
||||
</view> |
||||
</view> |
||||
</view> |
||||
|
||||
<button class="out" bindtap="out">退 出</button> |
||||
</view> |
@ -0,0 +1,295 @@ |
||||
/* pages/handover/handover.wxss */ |
||||
.back { |
||||
margin-top: 15rpx; |
||||
} |
||||
|
||||
.top { |
||||
background-color: rgb(255, 255, 255,0.8); |
||||
padding: 10rpx 10rpx; |
||||
font-size: 22rpx; |
||||
border-radius: 5rpx; |
||||
} |
||||
|
||||
.form{ |
||||
background-color: #fff; |
||||
border-radius: 15rpx; |
||||
padding: 20rpx 50rpx; |
||||
margin-bottom: 15rpx; |
||||
margin-top: 15rpx; |
||||
/* border: 1rpx #ebeaea solid; */ |
||||
box-shadow: 0 0 10px #ddd; |
||||
} |
||||
.form .from-con{ |
||||
font-size: 28rpx; |
||||
border-bottom: 2rpx #eee solid; |
||||
position: relative; |
||||
margin-top: 25rpx; |
||||
} |
||||
.from-con label{ |
||||
position: absolute; |
||||
top: 5rpx; |
||||
font-weight: 900; |
||||
font-size: 28rpx; |
||||
color: #333; |
||||
} |
||||
.from-con input{ |
||||
text-align: right; |
||||
padding: 10rpx; |
||||
width: 60%; |
||||
position: relative; |
||||
left: 230rpx; |
||||
} |
||||
.place{ |
||||
color:#c4bfbf; |
||||
} |
||||
.from-button{ |
||||
display: flex; |
||||
margin-top: 20rpx; |
||||
} |
||||
|
||||
.from-button button{ |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
width: 250rpx !important; |
||||
font-size: 28rpx; |
||||
} |
||||
|
||||
|
||||
|
||||
.canvas { |
||||
width: 100px; |
||||
height: 100px; |
||||
background-color: #6bc9ca; |
||||
} |
||||
|
||||
.allordernum { |
||||
margin-top: 20rpx; |
||||
/* border: 1rpx #999 solid; */ |
||||
background-color: #f1f1f1; |
||||
border: 1rpx #eee solid; |
||||
border-radius: 15rpx; |
||||
width: 100%; |
||||
height: 350rpx; |
||||
padding: 20rpx 0; |
||||
} |
||||
|
||||
.allordernum view view { |
||||
padding: 20rpx; |
||||
background-color: #eee; |
||||
width: 88%; |
||||
margin: 0 auto; |
||||
margin-bottom: 15rpx; |
||||
border-radius: 5rpx; |
||||
} |
||||
|
||||
|
||||
.tr { |
||||
display: flex; |
||||
width: 100%; |
||||
|
||||
} |
||||
|
||||
.tr .td { |
||||
/* border-right:#ddd solid 1rpx ; |
||||
border-top: #ddd solid 1rpx; */ |
||||
border-right: 1rpx #ddd solid; |
||||
padding: 10rpx 0; |
||||
font-size: 22rpx; |
||||
display: flex; |
||||
justify-content: center; |
||||
align-items: center; |
||||
flex-wrap: nowrap; |
||||
white-space: nowrap; |
||||
min-width: 200rpx; |
||||
} |
||||
|
||||
.top1 view { |
||||
background-color: #6bc9ca; |
||||
color: #fff; |
||||
} |
||||
|
||||
.td1 { |
||||
min-width: 100rpx !important; |
||||
} |
||||
|
||||
|
||||
.zan-dialog__mask { |
||||
position: fixed; |
||||
top: 0; |
||||
left: 0; |
||||
right: 0; |
||||
bottom: 0; |
||||
z-index: 10; |
||||
background: rgba(0, 0, 0, 0.05); |
||||
/* 设置阴影半透明背景如: background: rgba(0, 0, 0, 0.4); */ |
||||
display: none; |
||||
} |
||||
|
||||
.zan-dialog__container { |
||||
position: fixed; |
||||
bottom: 200rpx; |
||||
width: 280rpx; |
||||
/* 弹窗布局宽 */ |
||||
height: 280rpx; |
||||
/* 弹窗布局高,与下面弹出距离transform有关 */ |
||||
margin-left: 220rpx; |
||||
background: #f8f8f8; |
||||
transform: translateY(300%); |
||||
/* 弹框弹出距离,与弹框布局高度有关,如300%表示弹起距离为3倍弹窗高度 */ |
||||
transition: all 0.4s ease; |
||||
z-index: 12; |
||||
border-radius: 10rpx; |
||||
box-shadow: 0px 3px 3px 2px gainsboro; |
||||
/* 弹框的悬浮阴影效果,如不需要可注释该行 */ |
||||
} |
||||
|
||||
.zan-dialog--show .zan-dialog__container { |
||||
transform: translateY(0); |
||||
} |
||||
|
||||
.zan-dialog--show .zan-dialog__mask { |
||||
display: block; |
||||
} |
||||
|
||||
/*隐藏*/ |
||||
.pop_hidden { |
||||
display: none; |
||||
} |
||||
|
||||
.dateQuery{ |
||||
margin-top: 15rpx; |
||||
display: flex; |
||||
justify-content:center; |
||||
} |
||||
.dateQuery .datesel{ |
||||
background-color: #fff; |
||||
display: flex; |
||||
align-items: center; |
||||
padding: 0 30rpx; |
||||
width: 60%; |
||||
border-radius: 40rpx; |
||||
} |
||||
.f5 { |
||||
width: 28% !important; |
||||
font-size: 28rpx; |
||||
background-color: #c6eaeb; |
||||
color: #666; |
||||
height: 60rpx; |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
margin-left: 20rpx; |
||||
} |
||||
|
||||
|
||||
.out{ |
||||
border-radius: 50rpx; |
||||
background-color: #38bec0; |
||||
width: 70% !important; |
||||
color: #fff; |
||||
margin-top: 60rpx; |
||||
margin-bottom: 60rpx; |
||||
} |
||||
|
||||
.screen{ |
||||
display: flex; |
||||
align-items: center; |
||||
margin-bottom: 5rpx; |
||||
font-size: 26rpx; |
||||
letter-spacing: 1rpx; |
||||
margin-top: 10rpx; |
||||
|
||||
} |
||||
.screen input{ |
||||
background-color: rgb(255, 255, 255); |
||||
flex: 1; |
||||
padding: 10rpx 35rpx; |
||||
border-radius: 50rpx; |
||||
box-shadow: 0 0 5rpx #ddd; |
||||
} |
||||
.screen image{ |
||||
width: 50rpx; |
||||
height:50rpx; |
||||
margin-left: 15rpx; |
||||
} |
||||
.screen .wz{ |
||||
margin-right: 10rpx; |
||||
font-size: 30rpx; |
||||
font-weight: 500; |
||||
color: #fff; |
||||
} |
||||
|
||||
.zhezhaoceng{ |
||||
position: fixed; |
||||
background-color: rgb(0, 0, 0,0.4); |
||||
width: 100%; |
||||
height: 100vh; |
||||
z-index: 1000; |
||||
transition: all 0.4s; |
||||
transform: translateY(-100vh); |
||||
} |
||||
.screenAlertActive{ |
||||
transform: translateY(0); |
||||
} |
||||
.screenAlert{ |
||||
z-index: 2000; |
||||
background:#f4f4f4; |
||||
border-radius: 0 0 20rpx 20rpx; |
||||
max-height: 500rpx; |
||||
padding: 20rpx; |
||||
font-size: 30rpx; |
||||
} |
||||
|
||||
.dateList{ |
||||
display: flex; |
||||
flex-wrap: wrap; |
||||
justify-content:space-around; |
||||
} |
||||
.dateList .date1{ |
||||
background-color: #fff; |
||||
margin-left: 20rpx; |
||||
text-align: center; |
||||
width: 200rpx; |
||||
padding: 15rpx 0; |
||||
margin-top: 20rpx; |
||||
border-radius: 50rpx; |
||||
font-size: 26rpx; |
||||
|
||||
} |
||||
.dataActive{ |
||||
border: 1rpx #38bec0 solid; |
||||
background-color: #deeff0 !important; |
||||
} |
||||
|
||||
.selectdate{ |
||||
margin-top: 20rpx; |
||||
display: flex; |
||||
justify-content: space-between; |
||||
align-items: center; |
||||
width: 62%; |
||||
} |
||||
.selectdate input{ |
||||
background-color: #fff; |
||||
border-radius: 30rpx; |
||||
font-size: 26rpx; |
||||
padding: 12rpx 0; |
||||
text-align: center; |
||||
} |
||||
|
||||
.chongzhi{ |
||||
background-color: #eee; |
||||
border-radius: 52rpx; |
||||
border: 1rpx #ddd solid; |
||||
width: 45% !important; |
||||
height: 70rpx; |
||||
font-size: 30rpx; |
||||
} |
||||
.queren{ |
||||
background-color: #38bec0; |
||||
color: #fff; |
||||
border-radius: 52rpx; |
||||
width: 45% !important; |
||||
height: 70rpx; |
||||
font-size: 30rpx; |
||||
} |
@ -0,0 +1,144 @@ |
||||
// pages/login/login.js
|
||||
const request = require('../../utils/http') |
||||
var app = getApp(); |
||||
|
||||
Page({ |
||||
|
||||
/** |
||||
* 页面的初始数据 |
||||
*/ |
||||
data: { |
||||
username: "yuexiangqian", //账号
|
||||
userpwd: "123456", //密码
|
||||
code:'', |
||||
inputCode:'', |
||||
}, |
||||
getUsername(e) { |
||||
this.setData({ |
||||
username: e.detail.value |
||||
}) |
||||
}, |
||||
getUserpwd(e) { |
||||
this.setData({ |
||||
userpwd: e.detail.value |
||||
}) |
||||
}, |
||||
getinputCode(e){ |
||||
this.setData({ |
||||
inputCode:e.detail.value |
||||
}) |
||||
}, |
||||
//登录请求
|
||||
login() { |
||||
if(this.data.inputCode == ''){ |
||||
wx.showToast({ |
||||
title: '请输入验证码', |
||||
icon:'error' |
||||
}) |
||||
}else if(this.data.inputCode.toLowerCase()!==this.data.code.toLowerCase()){ |
||||
this.createCode() |
||||
this.setData({ |
||||
inputCode:'' |
||||
}) |
||||
wx.showToast({ |
||||
title: '验证码错误', |
||||
icon:'error' |
||||
}) |
||||
}else{ |
||||
request.post(`/sso/login?username=${this.data.username}&password=${this.data.userpwd}`).then(res => { |
||||
console.log(res); |
||||
if (res.data.code == 200) { |
||||
app.globalData.token = res.data.data.tokenHead + res.data.data.token; |
||||
request.get('/sso/info').then(res2 => { |
||||
app.globalData.userInfo = res2.data.data |
||||
wx.showToast({ |
||||
title: '登陆成功' |
||||
}) |
||||
wx.reLaunch({ |
||||
url: '../about/about' |
||||
}); |
||||
}) |
||||
} |
||||
}) |
||||
} |
||||
|
||||
}, |
||||
|
||||
getCode() { |
||||
//点击调用创建验证码方法
|
||||
this.createCode() |
||||
}, |
||||
|
||||
//创建随机验证码方法
|
||||
createCode() { |
||||
let code = ''; |
||||
let codeLength = 4; //验证码长度
|
||||
let txt = new Array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 'a', 'b', 'C', 'd', 'E', 'f', 'g', 'H', 'i', 'J', 'k', 'L', 'm', 'N', 'O', 'p', 'Q', 'r', 'S', 'T', 'u', 'V', 'w', 'X', 'Y', 'z'); |
||||
for(let i = 0; i < codeLength; i++) { |
||||
//随机数范围
|
||||
let index = Math.floor(Math.random() * 36); |
||||
code += txt[index]; |
||||
} |
||||
this.setData({ |
||||
code |
||||
})
|
||||
console.log(this.data.code); |
||||
}, |
||||
|
||||
/** |
||||
* 生命周期函数--监听页面加载 |
||||
*/ |
||||
onLoad(options) { |
||||
this.createCode() |
||||
}, |
||||
|
||||
/** |
||||
* 生命周期函数--监听页面初次渲染完成 |
||||
*/ |
||||
onReady() { |
||||
|
||||
}, |
||||
|
||||
/** |
||||
* 生命周期函数--监听页面显示 |
||||
*/ |
||||
onShow() { |
||||
|
||||
|
||||
}, |
||||
|
||||
/** |
||||
* 生命周期函数--监听页面隐藏 |
||||
*/ |
||||
onHide() { |
||||
|
||||
}, |
||||
|
||||
/** |
||||
* 生命周期函数--监听页面卸载 |
||||
*/ |
||||
onUnload() { |
||||
|
||||
}, |
||||
|
||||
/** |
||||
* 页面相关事件处理函数--监听用户下拉动作 |
||||
*/ |
||||
onPullDownRefresh() { |
||||
|
||||
}, |
||||
|
||||
/** |
||||
* 页面上拉触底事件的处理函数 |
||||
*/ |
||||
onReachBottom() { |
||||
|
||||
}, |
||||
|
||||
/** |
||||
* 用户点击右上角分享 |
||||
*/ |
||||
onShareAppMessage() { |
||||
|
||||
} |
||||
}) |
@ -0,0 +1,4 @@ |
||||
{ |
||||
"usingComponents": {}, |
||||
"navigationBarTitleText": "三力物流管理系统" |
||||
} |
@ -0,0 +1,124 @@ |
||||
/* pages/login/login.wxss */ |
||||
/* pages/login/login.wxss */ |
||||
page { |
||||
background: -webkit-linear-gradient(top, #27adb0, #b6f0f0, #f8f8f8); |
||||
padding-top: 250rpx; |
||||
} |
||||
|
||||
.title { |
||||
padding: 40rpx 50rpx; |
||||
font-size: 55rpx; |
||||
color: #fff; |
||||
font-weight: 600; |
||||
font-family: 'Courier New', Courier, monospace; |
||||
} |
||||
|
||||
|
||||
.box { |
||||
background-color: #fff; |
||||
width: 650rpx; |
||||
border-radius: 10rpx; |
||||
margin: 0 auto; |
||||
padding: 30rpx 0; |
||||
} |
||||
|
||||
.text { |
||||
display: flex; |
||||
justify-content: center; |
||||
/* background-color: #f1f1f1; */ |
||||
border-radius: 20rpx; |
||||
width: 600rpx; |
||||
margin: 0 auto; |
||||
padding: 20rpx; |
||||
align-items: center; |
||||
} |
||||
|
||||
.text label { |
||||
font-weight: 900; |
||||
font-size: 30rpx; |
||||
color: #333; |
||||
} |
||||
|
||||
.text input { |
||||
font-size: 28rpx; |
||||
background-color: #f1f1f1; |
||||
/* background-color: #f1f1f1; |
||||
border: 1rpx #ddd solid; */ |
||||
width: 55%; |
||||
height: 60rpx; |
||||
padding: 0 20rpx; |
||||
border-radius: 40rpx; |
||||
} |
||||
|
||||
.btn { |
||||
border-radius: 80rpx; |
||||
height: 70rpx; |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
font-size: 30rpx; |
||||
font-weight: 900; |
||||
background-color: #63b8b9; |
||||
color: #fff; |
||||
margin-top: 80rpx; |
||||
width: 400rpx !important; |
||||
} |
||||
|
||||
.code{ |
||||
display: flex; |
||||
padding: 20rpx; |
||||
justify-content:center; |
||||
margin-left: 30rpx; |
||||
} |
||||
.code input{ |
||||
font-size: 28rpx; |
||||
background-color: #f1f1f1; |
||||
width: 40%; |
||||
height: 60rpx; |
||||
padding: 0 20rpx; |
||||
border-radius: 30rpx; |
||||
color: #000; |
||||
font-size: 28rpx; |
||||
} |
||||
.place{ |
||||
color: #cccccc; |
||||
font-size: 22rpx; |
||||
} |
||||
.codenum{ |
||||
width: 65%; |
||||
height: 70%; |
||||
padding: 10rpx; |
||||
text-align: center; |
||||
font-weight: 900; |
||||
letter-spacing: 10rpx; |
||||
font-style: oblique; |
||||
font-size: 40rpx; |
||||
position: relative; |
||||
overflow: hidden; |
||||
margin-left: 20rpx; |
||||
} |
||||
.codenum view{ |
||||
position: absolute; |
||||
color:#000; |
||||
z-index: 200; |
||||
text-align: center; |
||||
} |
||||
.codenum image{ |
||||
width: 400rpx; |
||||
height: 200rpx; |
||||
position: absolute; |
||||
top: 0; |
||||
left: 0; |
||||
} |
||||
|
||||
.huan{ |
||||
margin-left:25rpx; |
||||
font-size: 26rpx; |
||||
margin-top: 10rpx; |
||||
color: #555; |
||||
font-weight: 500; |
||||
letter-spacing: 2rpx; |
||||
text-decoration: underline; |
||||
font-style: oblique; |
||||
} |
||||
|
@ -0,0 +1,4 @@ |
||||
{ |
||||
"usingComponents": {}, |
||||
"navigationBarTitleText": "三力自建物流" |
||||
} |
@ -0,0 +1,130 @@ |
||||
|
||||
<view class="zhezhaoceng {{screenisshow?'screenAlertActive':''}}"> |
||||
<view class="screenAlert"> |
||||
<view style="font-weight: 700;">按时间查询</view> |
||||
<view class="dateList"> |
||||
<view wx:for="{{dateList}}" wx:key="index" data-id="{{item.id}}" bindtap="selectDate" class="date1 {{item.isShow?'dataActive':''}}">{{item.name}}</view> |
||||
<view class="selectdate"> |
||||
<picker mode="date" value="date" start="start" end="end" bindchange="bindDateChange"> |
||||
<input type="text" disabled="true" placeholder="起始时间" placeholder-class="place" value="{{date}}" /> |
||||
</picker> |
||||
<text style="color:#ddd">—</text> |
||||
<picker mode="date" value="date" start="start" end="end" bindchange="bindDateChangeend"> |
||||
<input type="text" disabled="true" placeholder="终止时间" placeholder-class="place" value="{{endDate}}" /> |
||||
</picker> |
||||
</view> |
||||
</view> |
||||
|
||||
<view style="display: flex; margin-top: 50rpx; padding: 20rpx 0;"> |
||||
<button class="chongzhi" bindtap="resDate">重 置</button> |
||||
<button class="queren" bindtap="okDate">确 认</button> |
||||
</view> |
||||
</view> |
||||
</view> |
||||
|
||||
<view style="background: -webkit-linear-gradient(top,#27adb0,#ebf7f7,#f1f1f1);min-height: 1300rpx;padding: 20rpx;"> |
||||
|
||||
<view class="screen"> |
||||
<input type="text" placeholder="请输入物流单号" placeholder-class="place" bindinput="getLogisticsNo" value="{{logisticsNo}}" /> |
||||
<view style="display: flex; align-items: center;" bindtap="screenisshow"> |
||||
<image src="../../images/shaixuan.png"></image> |
||||
<view class="wz">筛选</view> |
||||
</view> |
||||
</view> |
||||
|
||||
<view class="form"> |
||||
<picker class="from-con" bindchange="bindPickerChange" value="{{insName}}" range="{{ins}}"> |
||||
<label>送检机构:</label> |
||||
<input type="text" disabled="true" placeholder="请选择送检机构" placeholder-class="place" value="{{insName}}" /> |
||||
</picker> |
||||
<view class="from-con"> |
||||
<label>转运箱号:</label> |
||||
<input type="text" placeholder="转运箱号" placeholder-class="place" bindinput="bindBoxNum" value="{{boxNum}}" /> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label style="letter-spacing: 8rpx;">物流员:</label> |
||||
<input type="text" placeholder="物流员" placeholder-class="place" bindinput="bindLogisticsMen" value="{{logisticsMen}}" /> |
||||
</view> |
||||
<view class="from-button"> |
||||
<button style="height: 65rpx;background-color: #eeeaea; border: 1rpx #f0eeee solid; border-radius: 50rpx;" bindtap="resetting">重 置</button> |
||||
<button style="height: 65rpx;background-color: #63bec0; color: #fff; border-radius: 50rpx; border: 1rpx #f0eeee solid;" bindtap="selSampleList">查 询</button> |
||||
|
||||
</view> |
||||
</view> |
||||
|
||||
<view class="tabel"> |
||||
<scroll-view scroll-x style="width: 100%; height: 400rpx;"> |
||||
<view class="tr top"> |
||||
<view class="td td1">序号</view> |
||||
<view class="td">转运方式</view> |
||||
<view class="td">转运箱号</view> |
||||
<view class="td td_date">数 量</view> |
||||
<view class="td">日 期</view> |
||||
<view class="td">物流电话</view> |
||||
<view class="td">物流费用</view> |
||||
<view class="td td_time">到达时间</view> |
||||
<view class="td td_time">车牌号</view> |
||||
<view class="td">物流员</view> |
||||
<view class="td">备注</view> |
||||
</view> |
||||
|
||||
<block wx:for="{{sampleList}}" wx:key="index"> |
||||
<view class="tr"> |
||||
<view class="td td1">{{index + 1}}</view> |
||||
<view class="td">{{item.logisticsNo}}</view> |
||||
<view class="td">{{item.institutionName}}</view> |
||||
<view class="td td_date">{{item.entryDate}}</view> |
||||
<view class="td">{{item.number}}</view> |
||||
<block> |
||||
<view class="td" wx:if="{{item.tranType == 1}}">私家车</view> |
||||
<view class="td" wx:else>其他</view> |
||||
</block> |
||||
<view class="td">{{item.boxNum}}</view> |
||||
<view class="td td_time">{{item.startTime}}</view> |
||||
<view class="td td_time">{{item.endTime}}</view> |
||||
<view class="td">{{itme.numberplate}}</view> |
||||
<view class="td">{{itme.notes}}</view> |
||||
</view> |
||||
</block> |
||||
</scroll-view> |
||||
</view> |
||||
|
||||
<!-- <view class="tabel"> |
||||
<scroll-view scroll-x style="width: 100%; height: 400rpx;"> |
||||
<view class="tr top"> |
||||
<view class="td td1">序号</view> |
||||
<view class="td">物流单号</view> |
||||
<view class="td">送检机构</view> |
||||
<view class="td td_date">日期</view> |
||||
<view class="td">样本管数</view> |
||||
<view class="td">转运方式</view> |
||||
<view class="td">转运箱号</view> |
||||
<view class="td td_time">出发时间</view> |
||||
<view class="td td_time">到达时间</view> |
||||
<view class="td">车牌号</view> |
||||
<view class="td">备注</view> |
||||
</view> |
||||
|
||||
<block wx:for="{{sampleList}}" wx:key="index"> |
||||
<view class="tr"> |
||||
<view class="td td1">{{index + 1}}</view> |
||||
<view class="td">{{item.logisticsNo}}</view> |
||||
<view class="td">{{item.institutionName}}</view> |
||||
<view class="td td_date">{{item.entryDate}}</view> |
||||
<view class="td">{{item.number}}</view> |
||||
<block> |
||||
<view class="td" wx:if="{{item.tranType == 1}}">私家车</view> |
||||
<view class="td" wx:else>其他</view> |
||||
</block> |
||||
<view class="td">{{item.boxNum}}</view> |
||||
<view class="td td_time">{{item.startTime}}</view> |
||||
<view class="td td_time">{{item.endTime}}</view> |
||||
<view class="td">{{itme.numberplate}}</view> |
||||
<view class="td">{{itme.notes}}</view> |
||||
</view> |
||||
</block> |
||||
</scroll-view> |
||||
</view> --> |
||||
|
||||
<button class="out" bindtap="out">退 出</button> |
||||
</view> |
@ -0,0 +1,206 @@ |
||||
|
||||
page{ |
||||
background: -webkit-linear-gradient(top,#27adb0,#ebf7f7,#f1f1f1) |
||||
} |
||||
|
||||
.form{ |
||||
background-color: #fff; |
||||
border-radius: 15rpx; |
||||
padding: 20rpx 50rpx; |
||||
margin-bottom: 15rpx; |
||||
margin-top: 15rpx; |
||||
/* border: 1rpx #ebeaea solid; */ |
||||
box-shadow: 0 0 10px #ddd; |
||||
} |
||||
.form .from-con{ |
||||
font-size: 28rpx; |
||||
border-bottom: 2rpx #eee solid; |
||||
position: relative; |
||||
margin-top: 25rpx; |
||||
} |
||||
.from-con label{ |
||||
position: absolute; |
||||
top: 5rpx; |
||||
font-weight: 900; |
||||
font-size: 28rpx; |
||||
color: #333; |
||||
} |
||||
.from-con input{ |
||||
text-align: right; |
||||
padding: 10rpx; |
||||
width: 60%; |
||||
position: relative; |
||||
left: 230rpx; |
||||
} |
||||
.place{ |
||||
color:#c4bfbf; |
||||
} |
||||
.from-button{ |
||||
display: flex; |
||||
margin-top: 20rpx; |
||||
} |
||||
|
||||
.from-button button{ |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
width: 250rpx !important; |
||||
font-size: 28rpx; |
||||
} |
||||
|
||||
.tabel{ |
||||
background-color: #fff; |
||||
border-radius: 15rpx;margin-top: 15rpx; |
||||
padding: 30rpx 10rpx 50rpx 10rpx; |
||||
padding: 20rpx; |
||||
/* border: 1rpx #ebeaea solid; */ |
||||
box-shadow: 0 0 10px #ddd; |
||||
} |
||||
.tr{ |
||||
display: flex; |
||||
width: 100%; |
||||
|
||||
} |
||||
.tr .td{ |
||||
/* border-right:#ddd solid 1rpx ; |
||||
border-top: #ddd solid 1rpx; |
||||
border-bottom: #ddd solid 1rpx; */ |
||||
border-right: 1rpx #ddd solid; |
||||
border-bottom: 1rpx #ddd solid; |
||||
padding: 15rpx 0; |
||||
font-size: 22rpx; |
||||
display: flex; |
||||
justify-content: center; |
||||
align-items: center; |
||||
flex-wrap: nowrap; |
||||
white-space: nowrap; |
||||
min-width: 150rpx; |
||||
} |
||||
.top view{ |
||||
background-color: #6bc9ca; |
||||
color: #fff; |
||||
font-size: 24rpx !important; |
||||
font-weight: 700 !important; |
||||
} |
||||
.td1{ |
||||
min-width: 100rpx !important; |
||||
} |
||||
.td_date{ |
||||
min-width: 200rpx !important; |
||||
} |
||||
.td_time{ |
||||
min-width: 300rpx !important; |
||||
} |
||||
|
||||
|
||||
.screen{ |
||||
display: flex; |
||||
align-items: center; |
||||
margin-bottom: 5rpx; |
||||
font-size: 26rpx; |
||||
letter-spacing: 1rpx; |
||||
|
||||
} |
||||
.screen input{ |
||||
background-color: rgb(255, 255, 255); |
||||
flex: 1; |
||||
padding: 10rpx 35rpx; |
||||
border-radius: 50rpx; |
||||
box-shadow: 0 0 5rpx #ddd; |
||||
} |
||||
.screen image{ |
||||
width: 50rpx; |
||||
height:50rpx; |
||||
margin-left: 15rpx; |
||||
} |
||||
.screen .wz{ |
||||
margin-right: 10rpx; |
||||
font-size: 30rpx; |
||||
font-weight: 500; |
||||
color: #fff; |
||||
} |
||||
|
||||
.zhezhaoceng{ |
||||
position: fixed; |
||||
background-color: rgb(0, 0, 0,0.4); |
||||
width: 100%; |
||||
height: 100vh; |
||||
z-index: 1000; |
||||
transition: all 0.4s; |
||||
transform: translateY(-100vh); |
||||
} |
||||
.screenAlertActive{ |
||||
transform: translateY(0); |
||||
} |
||||
.screenAlert{ |
||||
z-index: 2000; |
||||
background:#f4f4f4; |
||||
border-radius: 0 0 20rpx 20rpx; |
||||
max-height: 500rpx; |
||||
padding: 20rpx; |
||||
font-size: 30rpx; |
||||
} |
||||
|
||||
.dateList{ |
||||
display: flex; |
||||
flex-wrap: wrap; |
||||
justify-content:space-around; |
||||
} |
||||
.dateList .date1{ |
||||
background-color: #fff; |
||||
margin-left: 20rpx; |
||||
text-align: center; |
||||
width: 200rpx; |
||||
padding: 15rpx 0; |
||||
margin-top: 20rpx; |
||||
border-radius: 50rpx; |
||||
font-size: 26rpx; |
||||
|
||||
} |
||||
.dataActive{ |
||||
border: 1rpx #38bec0 solid; |
||||
background-color: #deeff0 !important; |
||||
} |
||||
|
||||
.selectdate{ |
||||
margin-top: 20rpx; |
||||
display: flex; |
||||
justify-content: space-between; |
||||
align-items: center; |
||||
width: 62%; |
||||
} |
||||
.selectdate input{ |
||||
background-color: #fff; |
||||
border-radius: 30rpx; |
||||
font-size: 26rpx; |
||||
padding: 12rpx 0; |
||||
text-align: center; |
||||
} |
||||
|
||||
.chongzhi{ |
||||
background-color: #eee; |
||||
border-radius: 52rpx; |
||||
border: 1rpx #ddd solid; |
||||
width: 45% !important; |
||||
height: 70rpx; |
||||
font-size: 30rpx; |
||||
} |
||||
.queren{ |
||||
background-color: #38bec0; |
||||
color: #fff; |
||||
border-radius: 52rpx; |
||||
width: 45% !important; |
||||
height: 70rpx; |
||||
font-size: 30rpx; |
||||
} |
||||
|
||||
|
||||
.out{ |
||||
border-radius: 50rpx; |
||||
background-color: #38bec0; |
||||
color: #fff; |
||||
margin-top: 200rpx; |
||||
width: 70% !important; |
||||
} |
||||
|
||||
|
@ -0,0 +1,140 @@ |
||||
<view class="zhezhaoceng {{screenisshow?'screenAlertActive':''}}"> |
||||
<view class="screenAlert"> |
||||
<view style="font-weight: 700;">按时间查询</view> |
||||
<view class="dateList"> |
||||
<view wx:for="{{dateList}}" wx:key="index" data-id="{{item.id}}" bindtap="selectDate" class="date1 {{item.isShow?'dataActive':''}}">{{item.name}}</view> |
||||
<view class="selectdate"> |
||||
<picker mode="date" value="date" start="start" end="end" bindchange="bindDateChange"> |
||||
<input type="text" disabled="true" placeholder="起始时间" placeholder-class="place" value="{{date}}" /> |
||||
</picker> |
||||
<text style="color:#ddd">—</text> |
||||
<picker mode="date" value="date" start="start" end="end" bindchange="bindDateChangeend"> |
||||
<input type="text" disabled="true" placeholder="终止时间" placeholder-class="place" value="{{endDate}}" /> |
||||
</picker> |
||||
</view> |
||||
</view> |
||||
|
||||
<view style="display: flex; margin-top: 50rpx; padding: 20rpx 0;"> |
||||
<button class="chongzhi" bindtap="resDate">重 置</button> |
||||
<button class="queren" bindtap="okDate">确 认</button> |
||||
</view> |
||||
</view> |
||||
</view> |
||||
|
||||
|
||||
|
||||
<view style="background: -webkit-linear-gradient(top,#27adb0,#ebf7f7,#f1f1f1);min-height: 1300rpx;padding: 20rpx;"> |
||||
|
||||
<view class="screen"> |
||||
<input type="text" placeholder="请输入物流单号" placeholder-class="place" bindinput="getLogisticsNo" value="{{logisticsNo}}" /> |
||||
<view style="display: flex; align-items: center;" bindtap="screenisshow"> |
||||
<image src="../../images/shaixuan.png"></image> |
||||
<view class="wz">筛选</view> |
||||
</view> |
||||
</view> |
||||
|
||||
<view class="form"> |
||||
<!-- <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> |
||||
<picker mode="date" value="date" start="start" end="end" bindchange="bindDateChangeend" class="from-con"> |
||||
<label> </label> |
||||
<input type="text" disabled="true" placeholder="请选择结束日期" placeholder-class="place" value="{{endDate}}" /> |
||||
</picker> --> |
||||
<picker class="from-con" bindchange="bindPickerChange" value="{{insName}}" range="{{ins}}"> |
||||
<label>送检机构:</label> |
||||
<input type="text" disabled="true" placeholder="请选择送检机构" placeholder-class="place" value="{{insName}}" /> |
||||
</picker> |
||||
<view class="from-con"> |
||||
<label>转运箱号:</label> |
||||
<input type="text" placeholder="转运箱号" placeholder-class="place" bindinput="bindBoxNum" value="{{boxNum}}" /> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label style="letter-spacing: 8rpx;">物流员:</label> |
||||
<input type="text" placeholder="物流员" placeholder-class="place" bindinput="bindLogisticsMen" value="{{logisticsMen}}" /> |
||||
</view> |
||||
|
||||
<view class="from-button"> |
||||
<button style="height: 65rpx;background-color: #eeeaea; border: 1rpx #f0eeee solid; border-radius: 50rpx;" bindtap="resetting">重 置</button> |
||||
<button style="height: 65rpx; background-color: #63bec0; color: #fff; border-radius: 50rpx; border: 1rpx #f0eeee solid;" bindtap="selSampleList">查 询</button> |
||||
|
||||
</view> |
||||
</view> |
||||
|
||||
<view class="tabel"> |
||||
<scroll-view scroll-x style="width: 100%; height: 400rpx;"> |
||||
<view class="tr top"> |
||||
<view class="td td1">序 号</view> |
||||
<view class="td">送检机构</view> |
||||
<view class="td">物流单号</view> |
||||
<view class="td td_date">数 量</view> |
||||
<view class="td td2">运输方式</view> |
||||
<view class="td">转运箱号</view> |
||||
<view class="td td_time">预计出发时间</view> |
||||
<view class="td td_time">到达时间</view> |
||||
<view class="td">车牌号</view> |
||||
<view class="td">驾驶员</view> |
||||
<view class="td">物流员</view> |
||||
<view class="td" style="border-right: none;">备 注</view> |
||||
</view> |
||||
|
||||
<block wx:for="{{sampleList}}" wx:key="index"> |
||||
<view class="tr"> |
||||
<view class="td td1">{{index + 1}}</view> |
||||
<view class="td">{{item.logisticsNo}}</view> |
||||
<view class="td">{{item.institutionName}}</view> |
||||
<view class="td td_date">{{item.createTime}}</view> |
||||
<view class="td td2">{{item.number}}</view> |
||||
<block> |
||||
<view class="td" wx:if="{{item.tranType == 1}}">自建物流</view> |
||||
<view class="td" wx:else>其他</view> |
||||
</block> |
||||
<view class="td">{{item.boxNum}}</view> |
||||
<view class="td td_time">{{item.startTime}}</view> |
||||
<view class="td td_time">{{item.collTime == '' ? '未核收':item.collTime}}</view> |
||||
<view class="td">{{itme.numberplate}}</view> |
||||
<view class="td">{{itme.notes}}</view> |
||||
</view> |
||||
</block> |
||||
</scroll-view> |
||||
</view> |
||||
|
||||
<!-- <view class="tabel"> |
||||
<scroll-view scroll-x style="width: 100%; height: 400rpx;"> |
||||
<view class="tr top"> |
||||
<view class="td td1">序号</view> |
||||
<view class="td">物流单号</view> |
||||
<view class="td">送检机构</view> |
||||
<view class="td td_date">创建日期</view> |
||||
<view class="td td2">样本管数</view> |
||||
<view class="td">转运方式</view> |
||||
<view class="td">转运箱号</view> |
||||
<view class="td td_time">预计出发时间</view> |
||||
<view class="td td_time">到达时间</view> |
||||
<view class="td">车牌号</view> |
||||
<view class="td" style="border-right: none;">备注</view> |
||||
</view> |
||||
|
||||
<block wx:for="{{sampleList}}" wx:key="index"> |
||||
<view class="tr"> |
||||
<view class="td td1">{{index + 1}}</view> |
||||
<view class="td">{{item.logisticsNo}}</view> |
||||
<view class="td">{{item.institutionName}}</view> |
||||
<view class="td td_date">{{item.createTime}}</view> |
||||
<view class="td td2">{{item.number}}</view> |
||||
<block> |
||||
<view class="td" wx:if="{{item.tranType == 1}}">自建物流</view> |
||||
<view class="td" wx:else>其他</view> |
||||
</block> |
||||
<view class="td">{{item.boxNum}}</view> |
||||
<view class="td td_time">{{item.startTime}}</view> |
||||
<view class="td td_time">{{item.collTime == '' ? '未核收':item.collTime}}</view> |
||||
<view class="td">{{itme.numberplate}}</view> |
||||
<view class="td">{{itme.notes}}</view> |
||||
</view> |
||||
</block> |
||||
</scroll-view> |
||||
</view> --> |
||||
<button class="out" bindtap="out">退 出</button> |
||||
</view> |
@ -0,0 +1,212 @@ |
||||
|
||||
page{ |
||||
background: -webkit-linear-gradient(top,#27adb0,#ebf7f7,#f1f1f1) |
||||
} |
||||
|
||||
.form{ |
||||
background-color: #fff; |
||||
border-radius: 15rpx; |
||||
padding: 20rpx 50rpx; |
||||
margin-bottom: 15rpx; |
||||
margin-top: 15rpx; |
||||
/* border: 1rpx #ebeaea solid; */ |
||||
box-shadow: 0 0 10px #ddd; |
||||
} |
||||
.form .from-con{ |
||||
font-size: 28rpx; |
||||
border-bottom: 2rpx #eee solid; |
||||
position: relative; |
||||
margin-top: 25rpx; |
||||
} |
||||
.from-con label{ |
||||
position: absolute; |
||||
top: 5rpx; |
||||
font-weight: 900; |
||||
font-size: 28rpx; |
||||
color: #333; |
||||
} |
||||
.from-con input{ |
||||
text-align: right; |
||||
padding: 10rpx; |
||||
width: 60%; |
||||
position: relative; |
||||
left: 230rpx; |
||||
} |
||||
.place{ |
||||
color:#c4bfbf; |
||||
} |
||||
.from-button{ |
||||
display: flex; |
||||
margin-top: 20rpx; |
||||
} |
||||
|
||||
.from-button button{ |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
width: 250rpx !important; |
||||
font-size: 28rpx; |
||||
} |
||||
|
||||
.tabel{ |
||||
background-color: #fff; |
||||
border-radius: 15rpx;margin-top: 15rpx; |
||||
padding: 30rpx 10rpx 50rpx 10rpx; |
||||
padding: 20rpx; |
||||
/* border: 1rpx #ebeaea solid; */ |
||||
box-shadow: 0 0 10px #ddd; |
||||
} |
||||
.tr{ |
||||
display: flex; |
||||
width: 100%; |
||||
|
||||
} |
||||
.tr .td{ |
||||
/* border-right:#ddd solid 1rpx ; |
||||
border-top: #ddd solid 1rpx; |
||||
border-bottom: #ddd solid 1rpx; */ |
||||
border-right: 1rpx #ddd solid; |
||||
border-bottom: 1rpx #ddd solid; |
||||
padding: 15rpx 0; |
||||
font-size: 22rpx; |
||||
display: flex; |
||||
justify-content: center; |
||||
align-items: center; |
||||
flex-wrap: nowrap; |
||||
white-space: nowrap; |
||||
min-width: 200rpx; |
||||
|
||||
} |
||||
|
||||
.top view{ |
||||
background-color: #6bc9ca; |
||||
color: #fff; |
||||
font-size: 24rpx !important; |
||||
font-weight: 700 !important; |
||||
letter-spacing: 1rpx; |
||||
} |
||||
.td1{ |
||||
min-width: 80rpx !important; |
||||
} |
||||
|
||||
.td2{ |
||||
min-width: 100rpx !important; |
||||
} |
||||
|
||||
.td_date{ |
||||
min-width: 250rpx !important; |
||||
} |
||||
.td_time{ |
||||
min-width: 300rpx !important; |
||||
} |
||||
|
||||
.screen{ |
||||
display: flex; |
||||
align-items: center; |
||||
margin-bottom: 5rpx; |
||||
font-size: 26rpx; |
||||
letter-spacing: 1rpx; |
||||
|
||||
} |
||||
.screen input{ |
||||
background-color: rgb(255, 255, 255); |
||||
flex: 1; |
||||
padding: 10rpx 35rpx; |
||||
border-radius: 50rpx; |
||||
box-shadow: 0 0 5rpx #ddd; |
||||
} |
||||
.screen image{ |
||||
width: 50rpx; |
||||
height:50rpx; |
||||
margin-left: 15rpx; |
||||
} |
||||
.screen .wz{ |
||||
margin-right: 10rpx; |
||||
font-size: 30rpx; |
||||
font-weight: 500; |
||||
color: #fff; |
||||
} |
||||
|
||||
.zhezhaoceng{ |
||||
position: fixed; |
||||
background-color: rgb(0, 0, 0,0.4); |
||||
width: 100%; |
||||
height: 100vh; |
||||
z-index: 1000; |
||||
transition: all 0.4s; |
||||
transform: translateY(-100vh); |
||||
} |
||||
.screenAlertActive{ |
||||
transform: translateY(0); |
||||
} |
||||
.screenAlert{ |
||||
z-index: 2000; |
||||
background:#f4f4f4; |
||||
border-radius: 0 0 20rpx 20rpx; |
||||
max-height: 500rpx; |
||||
padding: 20rpx; |
||||
font-size: 30rpx; |
||||
} |
||||
|
||||
.dateList{ |
||||
display: flex; |
||||
flex-wrap: wrap; |
||||
justify-content:space-around; |
||||
} |
||||
.dateList .date1{ |
||||
background-color: #fff; |
||||
margin-left: 20rpx; |
||||
text-align: center; |
||||
width: 200rpx; |
||||
padding: 15rpx 0; |
||||
margin-top: 20rpx; |
||||
border-radius: 50rpx; |
||||
font-size: 26rpx; |
||||
|
||||
} |
||||
.dataActive{ |
||||
border: 1rpx #38bec0 solid; |
||||
background-color: #deeff0 !important; |
||||
} |
||||
|
||||
.selectdate{ |
||||
margin-top: 20rpx; |
||||
display: flex; |
||||
justify-content: space-between; |
||||
align-items: center; |
||||
width: 62%; |
||||
} |
||||
.selectdate input{ |
||||
background-color: #fff; |
||||
border-radius: 30rpx; |
||||
font-size: 26rpx; |
||||
padding: 12rpx 0; |
||||
text-align: center; |
||||
} |
||||
|
||||
.chongzhi{ |
||||
background-color: #eee; |
||||
border-radius: 52rpx; |
||||
border: 1rpx #ddd solid; |
||||
width: 45% !important; |
||||
height: 70rpx; |
||||
font-size: 30rpx; |
||||
} |
||||
.queren{ |
||||
background-color: #38bec0; |
||||
color: #fff; |
||||
border-radius: 52rpx; |
||||
width: 45% !important; |
||||
height: 70rpx; |
||||
font-size: 30rpx; |
||||
} |
||||
|
||||
|
||||
.out{ |
||||
border-radius: 50rpx; |
||||
background-color: #38bec0; |
||||
color: #fff; |
||||
margin-top: 200rpx; |
||||
width: 70% !important; |
||||
} |
||||
|
@ -0,0 +1,119 @@ |
||||
<!--pages/querythree/querythree.wxml--> |
||||
<view class="zhezhaoceng {{screenisshow?'screenAlertActive':''}}"> |
||||
<view class="screenAlert"> |
||||
<view style="font-weight: 700;">按时间查询</view> |
||||
<view class="dateList" > |
||||
<view wx:for="{{dateList}}" wx:key="index" data-id="{{item.id}}" bindtap="selectDate" class="date1 {{item.isShow?'dataActive':''}}">{{item.name}}</view> |
||||
<view class="selectdate"> |
||||
<picker mode="date" value="date" start="start" end="end" bindchange="bindDateChange"> |
||||
<input type="text" disabled="true" placeholder="起始时间" placeholder-class="place" value="{{date}}" /> |
||||
</picker> |
||||
<text style="color:#ddd">—</text> |
||||
<picker mode="date" value="date" start="start" end="end" bindchange="bindDateChangeend"> |
||||
<input type="text" disabled="true" placeholder="终止时间" placeholder-class="place" value="{{endDate}}" /> |
||||
</picker> |
||||
</view> |
||||
</view> |
||||
|
||||
<view style="display: flex; margin-top: 50rpx; padding: 20rpx 0;" > |
||||
<button class="chongzhi" bindtap="resDate">重 置</button> |
||||
<button class="queren" bindtap="okDate">确 认</button> |
||||
</view> |
||||
</view> |
||||
</view> |
||||
|
||||
|
||||
<view style="background: -webkit-linear-gradient(top,#27adb0,#ebf7f7,#f1f1f1);min-height: 1300rpx;padding: 20rpx;"> |
||||
|
||||
<view class="screen"> |
||||
<input type="text" placeholder="请输入物流单号" placeholder-class="place" bindinput="getLogisticsNo" value="{{logisticsNo}}"/> |
||||
<view style="display: flex; align-items: center;" bindtap="screenisshow"> |
||||
<image src="../../images/shaixuan.png"></image> |
||||
<view class="wz">筛选</view> |
||||
</view> |
||||
</view> |
||||
|
||||
|
||||
<view class="form"> |
||||
<picker class="from-con"> |
||||
<label>物流单位:</label> |
||||
<input type="text" disabled="true" placeholder="请选择物流单位" placeholder-class="place" value="{{insName}}" /> |
||||
</picker> |
||||
<picker class="from-con" bindchange="bindPickerChange" value="{{insName}}" range="{{ins}}"> |
||||
<label>送检机构:</label> |
||||
<input type="text" disabled="true" placeholder="请选择送检机构" placeholder-class="place" value="{{insName}}" /> |
||||
</picker> |
||||
|
||||
<view class="from-con"> |
||||
<label>转运箱号:</label> |
||||
<input type="text" placeholder="转运箱号" placeholder-class="place" bindinput="bindBoxNum" value="{{boxNum}}" /> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label style="letter-spacing: 8rpx;">物流员:</label> |
||||
<input type="text" placeholder="物流员" placeholder-class="place" bindinput="bindLogisticsMen" value="{{logisticsMen}}" /> |
||||
</view> |
||||
<view class="from-button"> |
||||
<button style="height: 65rpx;background-color: #eeeaea; border: 1rpx #f0eeee solid; border-radius: 50rpx;" bindtap="resetting">重 置</button> |
||||
<button style="height: 65rpx;background-color: #63bec0; color: #fff; border-radius: 50rpx; border: 1rpx #f0eeee solid;" bindtap="selSampleList">查 询</button> |
||||
|
||||
</view> |
||||
</view> |
||||
|
||||
<view class="tabel"> |
||||
<scroll-view scroll-x style="width: 100%; height: 400rpx; "> |
||||
<view class="tr top"> |
||||
<view class="td td1">序 号</view> |
||||
<view class="td">物流单号</view> |
||||
<view class="td">物流单位</view> |
||||
<view class="td td_date">送检机构</view> |
||||
<view class="td">物流电话</view> |
||||
<view class="td">物流费用</view> |
||||
<view class="td">转运箱号</view> |
||||
<view class="td">到达时间</view> |
||||
<view class="td">物流员</view> |
||||
<view class="td">备注</view> |
||||
</view> |
||||
<block wx:for="{{sampleList}}" wx:key="index"> |
||||
<view class="tr"> |
||||
<view class="td td1">{{index + 1}}</view> |
||||
<view class="td">{{item.logisticsNo}}</view> |
||||
<view class="td">{{item.institutionName}}</view> |
||||
<view class="td td_date">{{item.entryDate}}</view> |
||||
<view class="td">{{item.cost}}</view> |
||||
<block> |
||||
<view class="td" wx:if="{{item.tranType == 1}}">私家车</view> |
||||
<view class="td" wx:else>其他</view> |
||||
</block> |
||||
</view> |
||||
</block> |
||||
</scroll-view> |
||||
</view> |
||||
|
||||
<!-- <view class="tabel"> |
||||
<scroll-view scroll-x style="width: 100%; height: 400rpx; "> |
||||
<view class="tr top"> |
||||
<view class="td td1">序号</view> |
||||
<view class="td">物流单号</view> |
||||
<view class="td">送检机构</view> |
||||
<view class="td td_date">日期</view> |
||||
<view class="td">物流费用</view> |
||||
<view class="td">转运方式</view> |
||||
</view> |
||||
<block wx:for="{{sampleList}}" wx:key="index"> |
||||
<view class="tr"> |
||||
<view class="td td1">{{index + 1}}</view> |
||||
<view class="td">{{item.logisticsNo}}</view> |
||||
<view class="td">{{item.institutionName}}</view> |
||||
<view class="td td_date">{{item.entryDate}}</view> |
||||
<view class="td">{{item.cost}}</view> |
||||
<block> |
||||
<view class="td" wx:if="{{item.tranType == 1}}">私家车</view> |
||||
<view class="td" wx:else>其他</view> |
||||
</block> |
||||
</view> |
||||
</block> |
||||
</scroll-view> |
||||
</view> --> |
||||
|
||||
<button class="out" bindtap="out">退 出</button> |
||||
</view> |
@ -0,0 +1,210 @@ |
||||
|
||||
page{ |
||||
background: -webkit-linear-gradient(top,#27adb0,#ebf7f7,#f1f1f1) |
||||
} |
||||
|
||||
.form{ |
||||
/* background-color: #fff; |
||||
border-radius: 5rpx; |
||||
padding: 20rpx 50rpx; |
||||
margin-bottom: 15rpx; */ |
||||
background-color: #fff; |
||||
border-radius: 15rpx; |
||||
padding: 20rpx 50rpx; |
||||
margin-bottom: 15rpx; |
||||
margin-top: 15rpx; |
||||
/* border: 1rpx #ebeaea solid; */ |
||||
box-shadow: 0 0 10px #ddd; |
||||
} |
||||
.form .from-con{ |
||||
font-size: 28rpx; |
||||
border-bottom: 2rpx #eee solid; |
||||
position: relative; |
||||
margin-top: 25rpx; |
||||
} |
||||
.from-con label{ |
||||
position: absolute; |
||||
top: 5rpx; |
||||
font-weight: 900; |
||||
font-size: 28rpx; |
||||
color: #333; |
||||
} |
||||
.from-con input{ |
||||
text-align: right; |
||||
padding: 10rpx; |
||||
width: 60%; |
||||
position: relative; |
||||
left: 230rpx; |
||||
} |
||||
.place{ |
||||
color:#c4bfbf; |
||||
} |
||||
.from-button{ |
||||
display: flex; |
||||
margin-top: 20rpx; |
||||
} |
||||
|
||||
.from-button button{ |
||||
display: flex; |
||||
align-items: center; |
||||
justify-content: center; |
||||
width: 250rpx !important; |
||||
font-size: 28rpx; |
||||
} |
||||
|
||||
.tabel{ |
||||
background-color: #fff; |
||||
border-radius: 15rpx;margin-top: 15rpx; |
||||
padding: 30rpx 10rpx 50rpx 10rpx; |
||||
padding: 20rpx; |
||||
/* border: 1rpx #ebeaea solid; */ |
||||
box-shadow: 0 0 10px #ddd; |
||||
} |
||||
.tr{ |
||||
display: flex; |
||||
width: 100%; |
||||
|
||||
} |
||||
.tr .td{ |
||||
/* border-right:#ddd solid 1rpx ; |
||||
border-top: #ddd solid 1rpx; |
||||
border-bottom: #ddd solid 1rpx; */ |
||||
border-right: 1rpx #ddd solid; |
||||
border-bottom: 1rpx #ddd solid; |
||||
padding: 15rpx 0; |
||||
font-size: 22rpx; |
||||
display: flex; |
||||
justify-content: center; |
||||
align-items: center; |
||||
flex-wrap: nowrap; |
||||
white-space: nowrap; |
||||
min-width: 150rpx; |
||||
} |
||||
.top view{ |
||||
background-color: #6bc9ca; |
||||
color: #fff; |
||||
font-size: 24rpx !important; |
||||
font-weight: 700 !important; |
||||
} |
||||
.td1{ |
||||
min-width: 100rpx !important; |
||||
|
||||
} |
||||
.td_date{ |
||||
min-width: 200rpx !important; |
||||
} |
||||
.td_time{ |
||||
min-width: 300rpx !important; |
||||
} |
||||
|
||||
.screen{ |
||||
display: flex; |
||||
align-items: center; |
||||
margin-bottom: 5rpx; |
||||
font-size: 26rpx; |
||||
letter-spacing: 1rpx; |
||||
|
||||
} |
||||
.screen input{ |
||||
background-color: rgb(255, 255, 255); |
||||
flex: 1; |
||||
padding: 10rpx 35rpx; |
||||
border-radius: 50rpx; |
||||
box-shadow: 0 0 5rpx #ddd; |
||||
} |
||||
.screen image{ |
||||
width: 50rpx; |
||||
height:50rpx; |
||||
margin-left: 15rpx; |
||||
} |
||||
.screen .wz{ |
||||
margin-right: 10rpx; |
||||
font-size: 30rpx; |
||||
font-weight: 500; |
||||
color: #fff; |
||||
} |
||||
|
||||
.zhezhaoceng{ |
||||
position: fixed; |
||||
background-color: rgb(0, 0, 0,0.4); |
||||
width: 100%; |
||||
height: 100vh; |
||||
z-index: 1000; |
||||
transition: all 0.4s; |
||||
transform: translateY(-100vh); |
||||
} |
||||
.screenAlertActive{ |
||||
transform: translateY(0); |
||||
} |
||||
.screenAlert{ |
||||
z-index: 2000; |
||||
background:#f4f4f4; |
||||
border-radius: 0 0 20rpx 20rpx; |
||||
max-height: 500rpx; |
||||
padding: 20rpx; |
||||
font-size: 30rpx; |
||||
} |
||||
|
||||
.dateList{ |
||||
display: flex; |
||||
flex-wrap: wrap; |
||||
justify-content:space-around; |
||||
} |
||||
.dateList .date1{ |
||||
background-color: #fff; |
||||
margin-left: 20rpx; |
||||
text-align: center; |
||||
width: 200rpx; |
||||
padding: 15rpx 0; |
||||
margin-top: 20rpx; |
||||
border-radius: 50rpx; |
||||
font-size: 26rpx; |
||||
|
||||
} |
||||
.dataActive{ |
||||
border: 1rpx #38bec0 solid; |
||||
background-color: #deeff0 !important; |
||||
} |
||||
|
||||
.selectdate{ |
||||
margin-top: 20rpx; |
||||
display: flex; |
||||
justify-content: space-between; |
||||
align-items: center; |
||||
width: 62%; |
||||
} |
||||
.selectdate input{ |
||||
background-color: #fff; |
||||
border-radius: 30rpx; |
||||
font-size: 26rpx; |
||||
padding: 12rpx 0; |
||||
text-align: center; |
||||
} |
||||
|
||||
.chongzhi{ |
||||
background-color: #eee; |
||||
border-radius: 52rpx; |
||||
border: 1rpx #ddd solid; |
||||
width: 45% !important; |
||||
height: 70rpx; |
||||
font-size: 30rpx; |
||||
} |
||||
.queren{ |
||||
background-color: #38bec0; |
||||
color: #fff; |
||||
border-radius: 52rpx; |
||||
width: 45% !important; |
||||
height: 70rpx; |
||||
font-size: 30rpx; |
||||
} |
||||
|
||||
|
||||
.out{ |
||||
border-radius: 50rpx; |
||||
background-color: #38bec0; |
||||
color: #fff; |
||||
margin-top: 150rpx; |
||||
width: 70% !important; |
||||
} |
||||
|
||||
|
@ -0,0 +1,4 @@ |
||||
{ |
||||
"usingComponents": {}, |
||||
"navigationBarTitleText": "三力第三方物流" |
||||
} |
@ -0,0 +1,111 @@ |
||||
<view class="box"> |
||||
<view class="top"> |
||||
<input type="text" value="{{pipenum}}" /> |
||||
<view bindtap="scacode"> |
||||
<image src="../../images/saoma.png" style="width: 70rpx; height: 70rpx;"></image> |
||||
</view> |
||||
</view> |
||||
|
||||
<!-- <view class="back"> --> |
||||
|
||||
<view class="back" style="padding: 10rpx;"> |
||||
<view class="con"> |
||||
<view style="flex: 1;">总计:{{sampleCount}}/管数</view> |
||||
<!-- <button style="background-color: #ddd;" hidden="true">修 改</button> --> |
||||
</view> |
||||
|
||||
<!-- 样本列表 --> |
||||
<scroll-view scroll-x scroll-y 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" bindtap="goDetail"> |
||||
<view class="td1" bindtap="goDetail">{{item.id}}</view> |
||||
<view class="td">{{item.number}}123</view> |
||||
<view class="td">{{item.time}}</view> |
||||
<view class="td">{{item.status}}</view> |
||||
<view class="td">{{item.name}}</view> |
||||
<view class="td">{{item.num}}</view> |
||||
</view> |
||||
</scroll-view> |
||||
</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_1"></image> |
||||
<image bindtap="photograph" src="{{poto[1]}}" data-id="car_2"></image> |
||||
<image bindtap="photograph" src="{{poto[1]}}" data-id="car_2"></image> |
||||
<image bindtap="photograph" src="{{poto[1]}}" data-id="car_2"></image> |
||||
</view> |
||||
|
||||
<view class="bush"> |
||||
<view style="flex: 1;">转运箱拍照</view> |
||||
<!-- <button bindtap="boxPhot">拍 照</button> --> |
||||
</view> |
||||
<view class="bush-img"> |
||||
<image bindtap="photograph" src="{{poto[1]}}" data-id="box_1"></image> |
||||
<image bindtap="photograph" src="{{poto[3]}}" data-id="box_2"></image> |
||||
<image bindtap="photograph" src="{{poto[1]}}" data-id="car_2"></image> |
||||
<image bindtap="photograph" src="{{poto[1]}}" data-id="car_2"></image> |
||||
</view> |
||||
</view> |
||||
|
||||
<view class="form"> |
||||
<view class="from-con"> |
||||
<label>物流单号:</label> |
||||
<input type="text" placeholder="物流单号" disabled="false" placeholder-class="place" value="{{selfOrderCode}}" /> |
||||
</view> |
||||
<picker class="from-con" bindchange="bindPickerChange" value="{{index}}" range="{{ins}}"> |
||||
<label>物流单位:</label> |
||||
<input type="text" disabled="true" placeholder="请选择物流单位" placeholder-class="place" value="{{ins[index]}}" /> |
||||
</picker> |
||||
<view class="from-con"> |
||||
<label>送检机构</label> |
||||
<input type="text" placeholder="送检机构"/> |
||||
</view> |
||||
|
||||
<!-- <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"> |
||||
<label>物流电话:</label> |
||||
<input type="text" placeholder="物流电话" placeholder-class="place" bindinput="inputTextInfo" data-id="phone" value="{{phone}}" /> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label>物流费用:</label> |
||||
<input type="text" placeholder="物流费用" placeholder-class="place" bindinput="inputTextInfo" data-id="cost" value="{{cost}}" /> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label>转运箱号:</label> |
||||
<input type="text" placeholder="转运箱号" placeholder-class="place" bindinput="inputTextInfo" data-id="boxNum" value="{{boxNum}}" /> |
||||
</view> |
||||
<picker class="from-con" mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}"> |
||||
<label>预计到达时间:</label> |
||||
<input value='{{expectedEndTime}}' placeholder='请选择到达时间' placeholder-class="place" disabled="true" /> |
||||
</picker> |
||||
<view class="from-con"> |
||||
<label style="letter-spacing: 8rpx;">物流员:</label> |
||||
<input type="text" bindinput="inputTextInfo" data-id="logisticsMen" placeholder="物流员" placeholder-class="place" value="{{logisticsMen}}" /> |
||||
</view> |
||||
<view class="from-con"> |
||||
<label style="letter-spacing: 14rpx;">备 注:</label> |
||||
<input type="text" placeholder="备注" placeholder-class="place" bindinput="inputTextInfo" data-id="notes" value="{{notes}}" /> |
||||
</view> |
||||
|
||||
</view> |
||||
<!-- </view> --> |
||||
|
||||
<button class="bottomButton" bindtap="saveInfo">保 存</button> |
||||
</view> |