|
...
|
...
|
@@ -17,15 +17,17 @@ Page({ |
|
|
|
bookInfo: {},
|
|
|
|
tplMsg: ''
|
|
|
|
},
|
|
|
|
seller:{},
|
|
|
|
sc:{},
|
|
|
|
/**
|
|
|
|
* 生命周期函数--监听页面加载
|
|
|
|
*/
|
|
|
|
onLoad: function (options) {
|
|
|
|
this.enter_params=util.cache('enter_params');
|
|
|
|
App.Reserve.SellerInfo(this.enter_params).then(res=>{
|
|
|
|
this.seller=res.data;
|
|
|
|
//this.tplsIndex='SMS_162733710'
|
|
|
|
this.sc=res.data;
|
|
|
|
try{
|
|
|
|
this.tplsIndex=res.data.setting.template_code
|
|
|
|
}catch(e){}
|
|
|
|
this.getDetail(options.id);
|
|
|
|
});
|
|
|
|
},
|
|
...
|
...
|
@@ -111,7 +113,7 @@ Page({ |
|
|
|
.replace(/0(\d)/g,function($0,$1){
|
|
|
|
return $1;
|
|
|
|
})+' '+txa[tx.timeIndex],
|
|
|
|
seller_name_addr_room: this.getTableNameShort(this.bookInfo.tables).substr(0, 20),
|
|
|
|
seller_name_addr_room: this.sc.seller.selleralias+this.getTableNameShort(this.bookInfo.tables).substr(0, 20),
|
|
|
|
cusman: (this.bookInfo.cusman || this.bookInfo.seller.sellername).substr(0, 20),
|
|
|
|
}
|
|
|
|
break;
|
...
|
...
|
|