|
@@ -32,8 +32,8 @@
|
|
|
<span class='info'>
|
|
|
<span v-if="item.orderType==201">{{item.comboType==1?'包桌':'按人均'}}</span>
|
|
|
<span v-if="item.orderType==2">{{item.guestName}}</span>
|
|
|
- <span v-if="item.orderType==201">{{item.guestName}} {{item.guestPhone}}</span>
|
|
|
- <span v-if="item.orderType==2">{{item.guestPhone}}</span>
|
|
|
+ <span v-if="item.orderType==201">{{item.guestName}} {{item.guestPhoneCopy}}</span>
|
|
|
+ <span v-if="item.orderType==2">{{item.guestPhoneCopy}}</span>
|
|
|
<span v-if="item.orderType=='2'">{{item.arriveDate}}到{{item.leaveDate}} </span>
|
|
|
<span v-else>{{item.repastTime}} </span>
|
|
|
</span>
|
|
@@ -153,17 +153,15 @@
|
|
|
if (i.orderType == 2) {
|
|
|
this.dataList[index].arriveDate = i.arriveDate.slice(0, 10)
|
|
|
this.dataList[index].leaveDate = i.leaveDate.slice(0, 10)
|
|
|
- }
|
|
|
+ }
|
|
|
+ i.guestPhoneCopy = this.$aesTm.tuomin(i.guestPhone,2)
|
|
|
})
|
|
|
- console.log(this.dataList, 'this.dataList');
|
|
|
} else {
|
|
|
uni.showToast({
|
|
|
title: res.data.msg,
|
|
|
icon: 'none'
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
}))
|
|
|
},
|
|
|
getOrderByStatusList() {
|
|
@@ -179,7 +177,8 @@
|
|
|
if (i.orderType == 2) {
|
|
|
this.dataList[index].arriveDate = i.arriveDate.slice(0, 10)
|
|
|
this.dataList[index].leaveDate = i.leaveDate.slice(0, 10)
|
|
|
- }
|
|
|
+ }
|
|
|
+ i.guestPhoneCopy = this.$aesTm.tuomin(i.guestPhone,2)
|
|
|
})
|
|
|
} else {
|
|
|
uni.showToast({
|
|
@@ -195,7 +194,6 @@
|
|
|
url: '/pages/house/orderInfo?orderId=' + item.id
|
|
|
})
|
|
|
} else {
|
|
|
-
|
|
|
let obj = {
|
|
|
orderId: item.id,
|
|
|
isDel: 0
|
|
@@ -204,12 +202,8 @@
|
|
|
url: '/pages/house/orderDetails?obj=' + JSON.stringify(obj)
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
},
|
|
|
changeTab(index) {
|
|
|
- console.log(index, 'index------');
|
|
|
this.tabIdx = index;
|
|
|
switch (index) {
|
|
|
case 0:
|