|
|
@@ -464,15 +464,15 @@ export default {
|
|
|
if (!this.orderData) return []
|
|
|
return this.orderData.ticketList.filter(i =>
|
|
|
this.ticketNoSearch1
|
|
|
- ? i.ticketNo.includes(this.ticketNoSearch1)
|
|
|
+ ? !!i.ticketNo.includes(this.ticketNoSearch1)
|
|
|
: true
|
|
|
)
|
|
|
},
|
|
|
checkLogList () {
|
|
|
if (!this.orderData) return []
|
|
|
- return this.orderData.ticketCheckLogList.filter(i =>
|
|
|
+ return this.ticketCheckLogList.filter(i =>
|
|
|
this.ticketNoSearch2
|
|
|
- ? i.ticketNo.includes(this.ticketNoSearch2)
|
|
|
+ ? !!i.ticketNo.includes(this.ticketNoSearch2)
|
|
|
: true
|
|
|
)
|
|
|
}
|
|
|
@@ -489,7 +489,10 @@ export default {
|
|
|
activeTab: 'ticketCheckInfo',
|
|
|
ticketNoSearch: '',
|
|
|
ticketNoSearch1: '',
|
|
|
- ticketNoSearch2: ''
|
|
|
+ ticketNoSearch2: '',
|
|
|
+ ticketCheckScenicList: [],
|
|
|
+ ticketSecondPrintLogList: [],
|
|
|
+ ticketCheckLogList: []
|
|
|
}
|
|
|
},
|
|
|
filters: {
|
|
|
@@ -588,9 +591,9 @@ export default {
|
|
|
data.pictureRemarks = data.pictureRemarks.filter(i => i.url)
|
|
|
}
|
|
|
|
|
|
- this.orderData.ticketCheckScenicList = []
|
|
|
- this.orderData.ticketCheckLogList = []
|
|
|
- this.orderData.ticketSecondPrintLogList = []
|
|
|
+ this.ticketCheckScenicList = []
|
|
|
+ this.ticketCheckLogList = []
|
|
|
+ this.ticketSecondPrintLogList = []
|
|
|
|
|
|
if (this.orderData.ticketList) {
|
|
|
this.orderData.ticketList.forEach(async ticket => {
|
|
|
@@ -600,7 +603,7 @@ export default {
|
|
|
|
|
|
if (ticketCheckScenicList && ticketCheckScenicList.length) {
|
|
|
ticketCheckScenicList.forEach((scenic) => {
|
|
|
- this.orderData.ticketCheckScenicList.push({
|
|
|
+ this.ticketCheckScenicList.push({
|
|
|
...scenic,
|
|
|
ticketNo,
|
|
|
ticketTypeName,
|
|
|
@@ -611,7 +614,7 @@ export default {
|
|
|
|
|
|
if (ticketCheckLogList && ticketCheckLogList.length) {
|
|
|
ticketCheckLogList.forEach((log) => {
|
|
|
- this.orderData.ticketCheckLogList.push({
|
|
|
+ this.ticketCheckLogList.push({
|
|
|
...log,
|
|
|
ticketNo,
|
|
|
ticketTypeName,
|
|
|
@@ -622,7 +625,7 @@ export default {
|
|
|
|
|
|
if (ticketSecondPrintLogList && ticketSecondPrintLogList.length) {
|
|
|
ticketSecondPrintLogList.forEach((log) => {
|
|
|
- this.orderData.ticketSecondPrintLogList.push({
|
|
|
+ this.ticketSecondPrintLogList.push({
|
|
|
...log,
|
|
|
ticketNo,
|
|
|
ticketTypeName,
|