Commit 4f529597 authored by Mac's avatar Mac

1

parent a2cb267c
......@@ -650,18 +650,19 @@
this.selectDay= this.dayList[0].DayDateStr;
this.timeList = this.dayList[0].TimeList;
this.selecttime= this.timeList[0];
this.designerList = res.data.goods.persionList;
this.getServerpersionListInfo()
var richtext = this.goods.detail;
this.detailContent = richtext;
let obj = {
ServiceLogo:'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/timeisup.png',
Name:'到点分配',
ServiceId:0,
}
this.designerList.unshift(obj)
// let obj = {
// ServiceLogo:'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/timeisup.png',
// Name:'到点分配',
// ServiceId:0,
// }
// this.designerList.unshift(obj)
this.selectdesigner= this.designerList[0].ServiceId;
// this.selectdesigner= this.designerList[0].ServiceId;
let set = uni.getStorageSync("basedata") ? uni.getStorageSync("basedata").mall.offlineServiceSetting.offlineServicePayType : [];
if(set.length>0){
......@@ -686,7 +687,7 @@
}
this.payname = this.paymentList[0].name;
this.PaymentWay = this.paymentList[0].Id;
this.
this.schoolCoupon();//获取套餐卡
this.Nosubmit = false;
}
......@@ -695,6 +696,33 @@
}
);
},
getServerpersionListInfo(){
uni.showLoading({
title: '加载中',
});
this.request2({
url: '/api/AppletGoods/GetServerpersionListInfo',
data: {GoodsId:this.GoodsId,StoreId: this.id,servicePersionId:this.servicePersionId,chooseDate:this.selectDay}
},
res => {
uni.hideLoading();
if (res.resultCode == 1&& res.data!=null) {
if(res.data && res.data.persionList){
this.designerList = res.data.persionList
let obj = {
ServiceLogo:'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/timeisup.png',
Name:'到点分配',
ServiceId:0,
}
this.designerList.unshift(obj)
this.selectdesigner= this.designerList[0].ServiceId;
this.Nosubmit = false;
}
}
}
);
},
submitOrderHandler(){//提交订单
let that = this;
if(that.Mobile==''){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment