|
...
|
...
|
@@ -68,15 +68,16 @@ Page({ |
|
|
|
region_room_name+='等'+this.bookInfo.tables.length+'桌'
|
|
|
|
}
|
|
|
|
let smsData={
|
|
|
|
seller_name:this.bookInfo.seller.sellername.substr(0,20),
|
|
|
|
date:this.bookInfo.rdateStr,
|
|
|
|
region_room_name:region_room_name.substr(0,20),
|
|
|
|
reserve_pnum:(this.bookInfo.pnum || this.bookInfo.pnum_str)+'人',
|
|
|
|
seller_addr:this.bookInfo.seller.map_address.substr(0,20),
|
|
|
|
seller_phone:this.bookInfo.seller.phone.substr(0,20),
|
|
|
|
cusman:(this.bookInfo.cusman||this.bookInfo.seller.sellername).substr(0,20),
|
|
|
|
cusman_phone:(this.bookInfo.cusman_phone||this.bookInfo.seller.phone).substr(0,20),
|
|
|
|
code:this.bookInfo.code,
|
|
|
|
guest:this.bookInfo.rname.substr(0,1)+(this.bookInfo.sex==1?'先生':'女士'),
|
|
|
|
seller_name:this.bookInfo.seller.sellername.substr(0,20),
|
|
|
|
date:this.bookInfo.rdateStr,
|
|
|
|
region_room_name:region_room_name.substr(0,20),
|
|
|
|
reserve_pnum:(this.bookInfo.pnum || this.bookInfo.pnum_str)+'人',
|
|
|
|
seller_addr:this.bookInfo.seller.map_address.substr(0,20),
|
|
|
|
seller_phone:this.bookInfo.seller.phone.substr(0,20),
|
|
|
|
cusman:(this.bookInfo.cusman||this.bookInfo.seller.sellername).substr(0,20),
|
|
|
|
cusman_phone:(this.bookInfo.cusman_phone||this.bookInfo.seller.phone).substr(0,20),
|
|
|
|
code:this.bookInfo.code,
|
|
|
|
}
|
|
|
|
let tpl=tpls[this.tplsIndex];
|
|
|
|
this.smsData=smsData;
|
|
...
|
...
|
@@ -91,6 +92,7 @@ Page({ |
|
|
|
phone:this.bookInfo.phone,
|
|
|
|
sign_name:'一键订',
|
|
|
|
template_code:'SMS_145597605',
|
|
|
|
//template_code:'SMS_150579975',//审核中
|
|
|
|
template_param:JSON.stringify(this.smsData),
|
|
|
|
rid:this.bookInfo.id
|
|
|
|
}).then(()=>{
|
...
|
...
|
|