Commit 44a44941 authored by youjie's avatar youjie

no message

parent e3e68a6f
......@@ -276,6 +276,13 @@
deep: true,
immediate: false
},
datas: {
handler(newVal, oldVal) {
this.updateData();
},
deep: true,
immediate: false
},
},
mounted() {
this.initData();
......@@ -329,7 +336,6 @@
})
this.datas.HotelOrderList[this.datas.hotelIndex].TotalMoney = total;
}
this.updateData()
},
delInfor(index) {
this.datas.HotelOrderList[this.datas.hotelIndex].ReimburseList.ReimburseDetailsList.splice(index, 1)
......@@ -337,11 +343,9 @@
},
delImg(index) {
this.datas.HotelOrderList[this.datas.hotelIndex].ReimburseList.VoucherPicList.splice(index, 1)
this.updateData()
},
getSettlementType(item) {
this.datas.HotelOrderList[this.datas.hotelIndex].ReimburseList.SettlementType = item.id
this.updateData()
this.$forceUpdate()
},
updateData() {
......@@ -407,7 +411,6 @@
FileName: infor.name,
url: infor.url,
})
this.updateData()
}
}
}
......
......@@ -268,6 +268,13 @@
deep: true,
immediate: false
},
datas: {
handler(newVal, oldVal) {
this.updateData();
},
deep: true,
immediate: false
},
},
mounted() {
this.initData();
......@@ -316,7 +323,6 @@
total += x.UserNum * x.UnitPrice
})
this.datas.DiningSummaryList[this.datas.diningIndex].TotalMoney = total
this.updateData()
}
},
delInfor(index) {
......@@ -325,11 +331,9 @@
},
delImg(index) {
this.datas.DiningSummaryList[this.datas.diningIndex].ReimburseList.VoucherPicList.splice(index, 1)
this.updateData()
},
getSettlementType(item) {
this.datas.DiningSummaryList[this.datas.diningIndex].ReimburseList.SettlementType = item.id
this.updateData()
this.$forceUpdate()
},
updateData() {
......@@ -401,7 +405,6 @@
FileName: infor.name,
url: infor.url,
})
this.updateData()
}
}
}
......
......@@ -270,6 +270,13 @@
deep: true,
immediate: false
},
datas: {
handler(newVal, oldVal) {
this.updateData();
},
deep: true,
immediate: false
},
},
mounted() {
this.initData();
......@@ -318,7 +325,6 @@
total += x.UserNum * x.UnitPrice
})
this.datas.ScenicStatisticsList[this.datas.scenicIndex].TotalMoney = total
this.updateData()
}
},
delInfor(index) {
......@@ -327,11 +333,9 @@
},
delImg(index) {
this.datas.ScenicStatisticsList[this.datas.scenicIndex].ReimburseList.VoucherPicList.splice(index, 1)
this.updateData()
},
getSettlementType(item) {
this.datas.ScenicStatisticsList[this.datas.scenicIndex].ReimburseList.SettlementType = item.id
this.updateData()
this.$forceUpdate()
},
updateData() {
......@@ -403,7 +407,6 @@
FileName: infor.name,
url: infor.url,
})
this.updateData()
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment