This commit is contained in:
2020-08-03 14:34:56 +08:00
parent 7ae10c200d
commit af768bff80
11 changed files with 258 additions and 36 deletions

View File

@@ -12,10 +12,10 @@
<view class="area" @click="show=true">
<label for="address">省市区:</label>
<input type="text" id="address" placeholder="" v-model="address" disabled />
<view>
<!-- <view>
<image src="/static/image/mine/24.png"></image>
<text>定位</text>
</view>
</view> -->
</view>
<view>
<label for="area">详细地址:</label>
@@ -78,6 +78,7 @@ export default {
minute: true,
second: false
},
debounce: true,
}
},
mounted() {
@@ -127,7 +128,9 @@ export default {
this.time = time;
},
confirmBtn() {
if(!this.debounce) return;
if(!this.verification()) return false;
this.debounce = false;
this.$u.api.saveGoodsTry({
member_name: this.name,
member_mobile: this.phone,
@@ -139,7 +142,6 @@ export default {
appointment_time: new Date(this.time),
}).then(res => {
if (res.errCode == 0) {
// this.$u.route({ type: 'navigateBack' });
this.$refs.uToast.show({
title: res.message,
back: true,
@@ -149,6 +151,7 @@ export default {
title: res.message,
type: 'error',
})
this.debounce = true;
}
})
},