Commit cc38a61b authored by 黄奎's avatar 黄奎

11

parent cc3b6d9a
...@@ -295,12 +295,10 @@ ...@@ -295,12 +295,10 @@
this.dateVisible = true this.dateVisible = true
}, },
setDateHandler(val) { setDateHandler(val) {
uni.hideLoading()
this.time = `${val.year}-${val.month}-${val.day}` this.time = `${val.year}-${val.month}-${val.day}`
this.OtherList[this.ReimIndex].UseDate = this.time this.OtherList[this.ReimIndex].UseDate = this.time
this.dateVisible = false this.dateVisible = false
}, },
delInfor(index) { delInfor(index) {
this.OtherList.splice(index, 1) this.OtherList.splice(index, 1)
}, },
...@@ -331,7 +329,6 @@ ...@@ -331,7 +329,6 @@
id: this.OtherList[this.ReimIndex].Currency, id: this.OtherList[this.ReimIndex].Currency,
} }
} }
}, },
close() { close() {
this.optionVisible = false this.optionVisible = false
......
...@@ -169,7 +169,6 @@ ...@@ -169,7 +169,6 @@
</view> </view>
<view class="inputBoxRight"> <view class="inputBoxRight">
<input class="text-right" type="number" v-model="item.UnitPrice" /> <input class="text-right" type="number" v-model="item.UnitPrice" />
</view> </view>
</view> </view>
...@@ -266,7 +265,6 @@ ...@@ -266,7 +265,6 @@
this.dateVisible = true this.dateVisible = true
}, },
setDateHandler(val) { setDateHandler(val) {
uni.hideLoading()
this.time = `${val.year}-${val.month}-${val.day}` this.time = `${val.year}-${val.month}-${val.day}`
this.SelfPlayingIncomeList[this.ReimIndex].UseDate = this.time this.SelfPlayingIncomeList[this.ReimIndex].UseDate = this.time
this.dateVisible = false this.dateVisible = false
......
...@@ -276,7 +276,6 @@ ...@@ -276,7 +276,6 @@
this.dateVisible = true this.dateVisible = true
}, },
setDateHandler(val) { setDateHandler(val) {
uni.hideLoading()
this.time = `${val.year}-${val.month}-${val.day}` this.time = `${val.year}-${val.month}-${val.day}`
this.SelfPlayingExpendList[this.ReimIndex].UseDate = this.time this.SelfPlayingExpendList[this.ReimIndex].UseDate = this.time
this.dateVisible = false this.dateVisible = false
......
...@@ -289,7 +289,6 @@ ...@@ -289,7 +289,6 @@
this.dateVisible = true this.dateVisible = true
}, },
setDateHandler(val) { setDateHandler(val) {
uni.hideLoading()
this.time = `${val.year}-${val.month}-${val.day}` this.time = `${val.year}-${val.month}-${val.day}`
this.LeaderShopList[this.ReimIndex].EnterTime = this.time this.LeaderShopList[this.ReimIndex].EnterTime = this.time
this.dateVisible = false this.dateVisible = false
......
...@@ -276,11 +276,12 @@ ...@@ -276,11 +276,12 @@
this.datas.HotelOrderList[this.datas.hotelIndex].ReimburseList.ReimburseDetailsList.forEach(x => { this.datas.HotelOrderList[this.datas.hotelIndex].ReimburseList.ReimburseDetailsList.forEach(x => {
total += x.UserNum * x.UnitPrice total += x.UserNum * x.UnitPrice
}) })
this.datas.TotalMoney = total this.datas.HotelOrderList[this.datas.hotelIndex].TotalMoney = total;
this.updateData() this.updateData()
}, },
delInfor(index) { delInfor(index) {
this.datas.HotelOrderList[this.datas.hotelIndex].ReimburseList.ReimburseDetailsList.splice(index, 1) this.datas.HotelOrderList[this.datas.hotelIndex].ReimburseList.ReimburseDetailsList.splice(index, 1)
this.getTotal();
}, },
delImg(index) { delImg(index) {
this.datas.HotelOrderList[this.datas.hotelIndex].ReimburseList.VoucherPicList.splice(index, 1) this.datas.HotelOrderList[this.datas.hotelIndex].ReimburseList.VoucherPicList.splice(index, 1)
......
...@@ -276,7 +276,7 @@ ...@@ -276,7 +276,7 @@
this.datas.DiningSummaryList[this.datas.diningIndex].ReimburseList.ReimburseDetailsList.forEach(x => { this.datas.DiningSummaryList[this.datas.diningIndex].ReimburseList.ReimburseDetailsList.forEach(x => {
total += x.UserNum * x.UnitPrice total += x.UserNum * x.UnitPrice
}) })
this.datas.TotalMoney = total this.datas.DiningSummaryList[this.datas.diningIndex].TotalMoney = total
this.updateData() this.updateData()
}, },
delInfor(index) { delInfor(index) {
......
...@@ -274,7 +274,7 @@ ...@@ -274,7 +274,7 @@
this.datas.ScenicStatisticsList[this.datas.scenicIndex].ReimburseList.ReimburseDetailsList.forEach(x => { this.datas.ScenicStatisticsList[this.datas.scenicIndex].ReimburseList.ReimburseDetailsList.forEach(x => {
total += x.UserNum * x.UnitPrice total += x.UserNum * x.UnitPrice
}) })
this.datas.TotalMoney = total this.datas.ScenicStatisticsList[this.datas.scenicIndex].TotalMoney = total
this.updateData() this.updateData()
}, },
delInfor(index) { delInfor(index) {
......
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