|
...
|
...
|
@@ -34,7 +34,8 @@ Page({ |
|
|
|
menuhidden: true,
|
|
|
|
selecthidden: true,
|
|
|
|
morehidden: true,
|
|
|
|
openid: getApp().openid
|
|
|
|
openid: getApp().openid,
|
|
|
|
customerCancel:'',//是否向顾客开放取消 1 是 0 否 默认 0
|
|
|
|
},
|
|
|
|
id: null,
|
|
|
|
msgTpl: '',
|
|
...
|
...
|
@@ -265,6 +266,7 @@ Page({ |
|
|
|
tel: reserev.seller.seller_tel.split(',')[0]
|
|
|
|
}
|
|
|
|
})
|
|
|
|
this.getSellerInfo(reserev.sid)
|
|
|
|
if (this.data.detail.type == 0 || this.data.detail.type == 1) {
|
|
|
|
this.getstaffinfo();
|
|
|
|
this.getroomimage();
|
|
...
|
...
|
@@ -283,6 +285,16 @@ Page({ |
|
|
|
this.msgTpl = res.data.content
|
|
|
|
})
|
|
|
|
},
|
|
|
|
//是否展示取消预订按钮
|
|
|
|
getSellerInfo(sid) {
|
|
|
|
App.Seller.GetDzSellerConf({
|
|
|
|
sid
|
|
|
|
}).then(res => {
|
|
|
|
this.setData({
|
|
|
|
customerCancel: res.data.is_customer_cancel, //1 展示 0 不展示
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
formatDatail(detail, dateSmart) {
|
|
|
|
detail.rdateStr = dateSmart;
|
|
|
|
detail.tableFirst = detail.tables[0].name;
|
...
|
...
|
|