Commit 4a7abcb5274b4707cee0a92396e583ab6159bf0d

Authored by wangfan
1 parent 72a68b27

smsbatch

... ... @@ -21,7 +21,8 @@
"pages/book/setting/sms",
"pages/book/setting/sms_buy",
"pages/book/smsbatch/index",
"pages/book/smsbatch/update"
"pages/book/smsbatch/update",
"pages/book/smsbatch/detail"
],
"subpackages": [
{
... ...
... ... @@ -289,7 +289,7 @@ Page({
}
}
//判断hasUseDefDtime
if(key=='time' || key=='date'){
if((key=='time' || key=='date') && !sobj.timePickerMask){
sobj.hasUseDefDtime=true
}
if(this.data.form.date==0){//
... ... @@ -494,10 +494,11 @@ Page({
*/
bindTimePickerChange(e){
let timeIndex=util.attr(e,'timeIndex');
if(timeIndex<0) return;
let timePickerIndex=this.data.timePickerIndex;
//timePickerIndex[timeIndex]=util.val(e);
timePickerIndex[timeIndex]=util.attr(e,'val');
console.log(e,timeIndex,util.attr(e,'val'));
this.setData({
timePickerIndex:timePickerIndex,
... ... @@ -547,6 +548,7 @@ Page({
timePickerIndex:timePickerIndex,
form:obj.form,
//tablesed:tablesed,
hasUseDefDtime:false,
})
this.getTables();
}catch (e){
... ...
// pages/book/smsbatch/detail.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
... ...
{}
\ No newline at end of file
... ...
<!--pages/book/smsbatch/detail.wxml-->
<text>pages/book/smsbatch/detail.wxml</text>
... ...
/* pages/book/smsbatch/detail.wxss */
\ No newline at end of file
... ...