Commit 8d62356838048a8ef44bb78490f5119e44060f22

Authored by vking
1 parent c758e339

周到安排

... ... @@ -65,11 +65,15 @@ Page({
async getDetail(id){
let res=await App.Reserve.Detail({rid: id, openid: ''});
this.bookInfo=res.data
let tplMsg=await ST.getTplMsg(res.data,this.sc.setting.template_code,this.sc)
if(res.data.operator_openid==2){//运营处理订单,强制使用运营短信
this.tplsIndex='SMS_173950289'
}
let tplMsg=await ST.getTplMsg(res.data,this.tplsIndex,this.sc)
this.setData({
bookInfo: res.data,
tplMsg: tplMsg
})
},
sendsms(){
App.SendSMS.Message({
... ...
... ... @@ -119,7 +119,7 @@ module.exports ={
case 'SMS_173950289'://运营安排包间
smsData = {
seller_name: bookInfo.seller.sellername.substr(0, 20),
daotime: bookInfo.rdateStr.replace('日','日'+txa[tx.timeIndex]),
shiduan: bookInfo.rdateStr.replace('日','日'+txa[tx.timeIndex]),
rooms: this.getTableNameOne(bookInfo.tables).substr(0, 20),
}
break;
... ...