Commit 0ad36539 by 前端

Merge branch 'v1.0.5' of http://192.168.3.233:8090/glsx/gl_tape into v1.0.5

2 parents c9c6a82e 7d16c069
......@@ -333,10 +333,10 @@ export default {
this.$refs[e].open()
},
closeAllPopup () {
this.$refs.carBrandListVisible.close()
this.$refs.employeeBoxVisible.close()
this.$refs.couponBoxVisible.close()
this.$refs.qrbox.close()
this.$refs.carBrandListVisible?.close()
this.$refs.employeeBoxVisible?.close()
this.$refs.couponBoxVisible?.close()
this.$refs.qrbox?.close()
this.resetFocusIndex()
this.closeQr()
},
......
......@@ -174,11 +174,12 @@ export default {
const { dateList } = this,
{ startTime, endTime } = dateList[index],
userInfo = uni.$storage.get("userInfo"),
{ shopMerchantId } = userInfo,
{ shopMerchantId, sceneType } = userInfo,
data = await uni.$api.commonApi.getReceptionStatistics({
merchantId: shopMerchantId,
startTime,
endTime
endTime,
bussinessType: sceneType == 0 ? 1 : 2, // sceneType 0延保 1精品。 bussinessType 1.延保 2.轻改
})
if (data.avgTime) {
const { minutes, seconds } = this.formatTime(data.avgTime)
......@@ -197,13 +198,14 @@ export default {
const { dateList, dateIndex, pageNum, pageSize } = this,
{ startTime, endTime } = dateList[dateIndex],
userInfo = uni.$storage.get("userInfo"),
{ shopMerchantId } = userInfo,
{ shopMerchantId, sceneType } = userInfo,
{ list, total } = await uni.$api.commonApi.getReceptionList({
merchantId: shopMerchantId,
pageNum,
pageSize,
startTime,
endTime
endTime,
bussinessType: sceneType == 0 ? 1 : 2, // sceneType 0延保 1精品。 bussinessType 1.延保 2.轻改
})
uni.hideLoading()
list?.length && list.map(e => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!