|
@@ -2,7 +2,7 @@
|
|
|
<div>
|
|
|
<scroll-view class="scroll-Y">
|
|
|
<div>
|
|
|
- <div @click="scan">扫一扫</div>
|
|
|
+ <!-- <div @click="scan">扫一扫</div> -->
|
|
|
<div class="warp">
|
|
|
<div
|
|
|
:class="{
|
|
@@ -603,6 +603,7 @@ export default {
|
|
|
// 创建订单
|
|
|
async createParkOrder() {
|
|
|
console.log(603);
|
|
|
+ debugger;
|
|
|
try {
|
|
|
uni.showLoading({
|
|
|
title: '加载中',
|
|
@@ -616,6 +617,8 @@ export default {
|
|
|
mobile: this.mobile,
|
|
|
groupId: this.groupId,
|
|
|
createuser: 'sys_miniprogram',
|
|
|
+ projectId: uni.getStorageSync('groupId'),
|
|
|
+ // appId: uni.getStorageSync('appid'),
|
|
|
};
|
|
|
this.$md(params);
|
|
|
const res = await this.$request({
|
|
@@ -625,6 +628,8 @@ export default {
|
|
|
header: JSON.parse(uni.getStorageSync('handleUser')),
|
|
|
});
|
|
|
uni.hideLoading();
|
|
|
+ console.log(629, res.data);
|
|
|
+ debugger;
|
|
|
if (res.data.code === 0) {
|
|
|
this.bindflag = res.data.data.bind;
|
|
|
this.parkInfo = res.data.data;
|
|
@@ -1936,6 +1941,8 @@ export default {
|
|
|
});
|
|
|
});
|
|
|
},
|
|
|
+ /*
|
|
|
+ // 验证扫码环节
|
|
|
scan() {
|
|
|
wx.scanQRCode({
|
|
|
desc: 'scanQRCode desc',
|
|
@@ -1952,7 +1959,7 @@ export default {
|
|
|
console.log(1950, res);
|
|
|
},
|
|
|
});
|
|
|
- },
|
|
|
+ },*/
|
|
|
},
|
|
|
};
|
|
|
</script>
|