|
@@ -218,19 +218,6 @@ export default {
|
|
|
// this.storeAllServiceList()
|
|
// this.storeAllServiceList()
|
|
|
this.category()
|
|
this.category()
|
|
|
this.selectDate()
|
|
this.selectDate()
|
|
|
- if (!this.userInfo.phone) {
|
|
|
|
|
- uni.showModal({
|
|
|
|
|
- title: '温馨提示',
|
|
|
|
|
- content: '请绑定手机号,以便为你提供服务',
|
|
|
|
|
- success: res => {
|
|
|
|
|
- if (res.confirm) {
|
|
|
|
|
- uni.navigateTo({
|
|
|
|
|
- url: '/myPages/setting/setting-telphone',
|
|
|
|
|
- })
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- }
|
|
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
onShow() {
|
|
onShow() {
|
|
@@ -253,20 +240,6 @@ export default {
|
|
|
//提交订单
|
|
//提交订单
|
|
|
commitOrder() {
|
|
commitOrder() {
|
|
|
|
|
|
|
|
- if (!this.userInfo.phone) {
|
|
|
|
|
- uni.showModal({
|
|
|
|
|
- title: '温馨提示',
|
|
|
|
|
- content: '请绑定手机号,以便为你提供服务',
|
|
|
|
|
- success: res => {
|
|
|
|
|
- if (res.confirm) {
|
|
|
|
|
- uni.navigateTo({
|
|
|
|
|
- url: '/myPages/setting/setting-telphone',
|
|
|
|
|
- })
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- return;
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
if (!this.serviceObject) {
|
|
if (!this.serviceObject) {
|
|
|
uni.$u.toast('请选择服务对象')
|
|
uni.$u.toast('请选择服务对象')
|
|
@@ -283,8 +256,7 @@ export default {
|
|
|
this.curServiceTab = 2
|
|
this.curServiceTab = 2
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
- this.
|
|
|
|
|
- ()
|
|
|
|
|
|
|
+ this.commonGeneralOrder()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
},
|
|
},
|