物流端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
yyt-mall-wl/pages/details/details.js

91 lines
1.5 KiB

// pages/details/details.js
Page({
/**
* 页面的初始数据
*/
data: {
barCode:'', //样本条码
receiveTime:'', //接收时间
status:'', //样本状态
logisticsNo:'', //物流编号
unitType:'', //物流单位
entryDate:'', //日期
cost:'', //物流费用
expectedEndTime:'', //到达日期
boxNum:'', //转运箱号
numberplate:'', //物流车号
logisticsMen:'', //物流员
notes:'',//备注
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
var item = JSON.parse(options.sample)
this.setData({
barCode:item.barCode,
receiveTime:item.receiveTime,
status:item.status,
logisticsNo:item.logisticsNo,
unitType:item.unitType,
entryDate:item.entryDate,
cost:item.cost,
expectedEndTime:item.expectedEndTime,
boxNum:item.boxNum,
numberplate:item.numberplate,
logisticsMen:item.logisticsMen,
notes:item.notes
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})