Commit b59be1e7 authored by 黄奎's avatar 黄奎

11

parent ed9f193b
...@@ -443,6 +443,8 @@ ...@@ -443,6 +443,8 @@
name: '选择币种' name: '选择币种'
} }
for (let i = 0; i < this.datas.ScenicStatisticsList.length; i++) { for (let i = 0; i < this.datas.ScenicStatisticsList.length; i++) {
//只替换当前景点下面的币种
if (this.datas.scenicIndex == i) {
this.datas.ScenicStatisticsList[i].CurrencyId = this.currencyObj.id this.datas.ScenicStatisticsList[i].CurrencyId = this.currencyObj.id
this.datas.ScenicStatisticsList[i].CurrencyStr = this.currencyObj.id ? this.currencyObj.name : '' this.datas.ScenicStatisticsList[i].CurrencyStr = this.currencyObj.id ? this.currencyObj.name : ''
this.datas.ScenicStatisticsList[i].ReimburseList.CurrencyId = this.currencyObj.id this.datas.ScenicStatisticsList[i].ReimburseList.CurrencyId = this.currencyObj.id
...@@ -452,6 +454,7 @@ ...@@ -452,6 +454,7 @@
.currencyObj.id .currencyObj.id
} }
} }
}
}, },
// 餐食 // 餐食
getRenderingDataDining(type) { getRenderingDataDining(type) {
...@@ -493,14 +496,19 @@ ...@@ -493,14 +496,19 @@
name: '选择币种' name: '选择币种'
} }
for (let i = 0; i < this.datas.DiningSummaryList.length; i++) { for (let i = 0; i < this.datas.DiningSummaryList.length; i++) {
//只替换当前餐下面的币种
if (i == this.datas.diningIndex) {
this.datas.DiningSummaryList[i].CurrencyId = this.currencyObj.id this.datas.DiningSummaryList[i].CurrencyId = this.currencyObj.id
this.datas.DiningSummaryList[i].CurrencyStr = this.currencyObj.id ? this.currencyObj.name : '' this.datas.DiningSummaryList[i].CurrencyStr = this.currencyObj.id ? this.currencyObj.name : ''
this.datas.DiningSummaryList[i].ReimburseList.CurrencyId = this.currencyObj.id this.datas.DiningSummaryList[i].ReimburseList.CurrencyId = this.currencyObj.id
for (let j = 0; j < this.datas.DiningSummaryList[i].ReimburseList.ReimburseDetailsList.length; j++) { for (let j = 0; j < this.datas.DiningSummaryList[i].ReimburseList.ReimburseDetailsList
this.datas.DiningSummaryList[i].ReimburseList.ReimburseDetailsList[j].CurrencyId = this.currencyObj .length; j++) {
this.datas.DiningSummaryList[i].ReimburseList.ReimburseDetailsList[j].CurrencyId = this
.currencyObj
.id .id
} }
} }
}
}, },
// 酒店 // 酒店
getRenderingDataHotel(type) { getRenderingDataHotel(type) {
......
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
<text>金额</text> <text>金额</text>
</view> </view>
<view class="inputBoxRight"> <view class="inputBoxRight">
<input class="text-right" type="number" v-model="item.UnitPrice" /> <input class="text-right" type="text" v-model="item.UnitPrice" />
</view> </view>
</view> </view>
<view class="paymentTitle PA30">备注</view> <view class="paymentTitle PA30">备注</view>
......
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
<text>金额</text> <text>金额</text>
</view> </view>
<view class="inputBoxRight"> <view class="inputBoxRight">
<input class="text-right" type="number" v-model="item.UnitPrice" /> <input class="text-right" type="text" v-model="item.UnitPrice" />
</view> </view>
</view> </view>
<view class="paymentTitle PA30">备注</view> <view class="paymentTitle PA30">备注</view>
......
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
<text>金额</text> <text>金额</text>
</view> </view>
<view class="inputBoxRight"> <view class="inputBoxRight">
<input class="text-right" type="number" v-model="item.UnitPrice" /> <input class="text-right" type="text" v-model="item.UnitPrice" />
</view> </view>
</view> </view>
......
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
<text>金额</text> <text>金额</text>
</view> </view>
<view class="inputBoxRight"> <view class="inputBoxRight">
<input class="text-right" type="number" v-model="item.UnitPrice" /> <input class="text-right" type="text" v-model="item.UnitPrice" />
</view> </view>
</view> </view>
<view class="inputBox row justify-between"> <view class="inputBox row justify-between">
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
<text>返佣</text> <text>返佣</text>
</view> </view>
<view class="inputBoxRight"> <view class="inputBoxRight">
<input class="text-right" type="number" v-model="item.Rebate" /> <input class="text-right" type="text" v-model="item.Rebate" />
</view> </view>
</view> </view>
<view class="paymentTitle PA30">备注</view> <view class="paymentTitle PA30">备注</view>
......
...@@ -154,7 +154,6 @@ ...@@ -154,7 +154,6 @@
<text>数量</text> <text>数量</text>
</view> </view>
<view class="inputBoxRight"> <view class="inputBoxRight">
<input class="text-right" type="number" v-model="item.UserNum" @input="getNum()" /> <input class="text-right" type="number" v-model="item.UserNum" @input="getNum()" />
</view> </view>
</view> </view>
...@@ -163,7 +162,6 @@ ...@@ -163,7 +162,6 @@
<text>单价</text> <text>单价</text>
</view> </view>
<view class="inputBoxRight"> <view class="inputBoxRight">
<input class="text-right" type="text" v-model="item.UnitPrice" @input="getNum()" /> <input class="text-right" type="text" v-model="item.UnitPrice" @input="getNum()" />
</view> </view>
</view> </view>
......
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