|
@@ -231,6 +231,11 @@
|
|
|
this.showRoom = true
|
|
this.showRoom = true
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ setTimeout(function() {
|
|
|
|
|
+ uni.hideLoading();
|
|
|
|
|
+ }, 3000);
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
/**
|
|
/**
|
|
@@ -699,7 +704,7 @@
|
|
|
if (err.errCode == 10001) {
|
|
if (err.errCode == 10001) {
|
|
|
uni.showModal({
|
|
uni.showModal({
|
|
|
content: '请开启手机蓝牙!',
|
|
content: '请开启手机蓝牙!',
|
|
|
- showCancel: false,
|
|
|
|
|
|
|
+ showCancel: false
|
|
|
})
|
|
})
|
|
|
} else {
|
|
} else {
|
|
|
uni.showToast({
|
|
uni.showToast({
|
|
@@ -859,10 +864,6 @@
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- setTimeout(function() {
|
|
|
|
|
- uni.hideLoading();
|
|
|
|
|
- }, 300);
|
|
|
|
|
-
|
|
|
|
|
if (res.data.msg == '获取成功') {
|
|
if (res.data.msg == '获取成功') {
|
|
|
// 消费记录
|
|
// 消费记录
|
|
|
let items = res.data.data
|
|
let items = res.data.data
|
|
@@ -1365,8 +1366,10 @@
|
|
|
this.use_amount = res.data.use_amount.toFixed(2)
|
|
this.use_amount = res.data.use_amount.toFixed(2)
|
|
|
this.amount = (this.amount - this.use_amount).toFixed(2)
|
|
this.amount = (this.amount - this.use_amount).toFixed(2)
|
|
|
this.$store.state.reshui_amount = this.amount
|
|
this.$store.state.reshui_amount = this.amount
|
|
|
- // 刷新选定的月份消费记录
|
|
|
|
|
- this.request_consumption_records()
|
|
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
|
+ // 刷新选定的月份消费记录
|
|
|
|
|
+ this.request_consumption_records()
|
|
|
|
|
+ }, 1000)
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
} else {
|
|
} else {
|