|
@@ -68,15 +68,16 @@ Page({ |
|
@@ -68,15 +68,16 @@ Page({ |
|
68
|
region_room_name+='等'+this.bookInfo.tables.length+'桌'
|
68
|
region_room_name+='等'+this.bookInfo.tables.length+'桌'
|
|
69
|
}
|
69
|
}
|
|
70
|
let smsData={
|
70
|
let smsData={
|
|
71
|
- seller_name:this.bookInfo.seller.sellername.substr(0,20),
|
|
|
|
72
|
- date:this.bookInfo.rdateStr,
|
|
|
|
73
|
- region_room_name:region_room_name.substr(0,20),
|
|
|
|
74
|
- reserve_pnum:(this.bookInfo.pnum || this.bookInfo.pnum_str)+'人',
|
|
|
|
75
|
- seller_addr:this.bookInfo.seller.map_address.substr(0,20),
|
|
|
|
76
|
- seller_phone:this.bookInfo.seller.phone.substr(0,20),
|
|
|
|
77
|
- cusman:(this.bookInfo.cusman||this.bookInfo.seller.sellername).substr(0,20),
|
|
|
|
78
|
- cusman_phone:(this.bookInfo.cusman_phone||this.bookInfo.seller.phone).substr(0,20),
|
|
|
|
79
|
- code:this.bookInfo.code,
|
71
|
+ guest:this.bookInfo.rname.substr(0,1)+(this.bookInfo.sex==1?'先生':'女士'),
|
|
|
|
72
|
+ seller_name:this.bookInfo.seller.sellername.substr(0,20),
|
|
|
|
73
|
+ date:this.bookInfo.rdateStr,
|
|
|
|
74
|
+ region_room_name:region_room_name.substr(0,20),
|
|
|
|
75
|
+ reserve_pnum:(this.bookInfo.pnum || this.bookInfo.pnum_str)+'人',
|
|
|
|
76
|
+ seller_addr:this.bookInfo.seller.map_address.substr(0,20),
|
|
|
|
77
|
+ seller_phone:this.bookInfo.seller.phone.substr(0,20),
|
|
|
|
78
|
+ cusman:(this.bookInfo.cusman||this.bookInfo.seller.sellername).substr(0,20),
|
|
|
|
79
|
+ cusman_phone:(this.bookInfo.cusman_phone||this.bookInfo.seller.phone).substr(0,20),
|
|
|
|
80
|
+ code:this.bookInfo.code,
|
|
80
|
}
|
81
|
}
|
|
81
|
let tpl=tpls[this.tplsIndex];
|
82
|
let tpl=tpls[this.tplsIndex];
|
|
82
|
this.smsData=smsData;
|
83
|
this.smsData=smsData;
|
|
@@ -91,6 +92,7 @@ Page({ |
|
@@ -91,6 +92,7 @@ Page({ |
|
91
|
phone:this.bookInfo.phone,
|
92
|
phone:this.bookInfo.phone,
|
|
92
|
sign_name:'一键订',
|
93
|
sign_name:'一键订',
|
|
93
|
template_code:'SMS_145597605',
|
94
|
template_code:'SMS_145597605',
|
|
|
|
95
|
+ //template_code:'SMS_150579975',//审核中
|
|
94
|
template_param:JSON.stringify(this.smsData),
|
96
|
template_param:JSON.stringify(this.smsData),
|
|
95
|
rid:this.bookInfo.id
|
97
|
rid:this.bookInfo.id
|
|
96
|
}).then(()=>{
|
98
|
}).then(()=>{
|