Commit b59be1e7 authored by 黄奎's avatar 黄奎

11

parent ed9f193b
...@@ -443,13 +443,16 @@ ...@@ -443,13 +443,16 @@
name: '选择币种' name: '选择币种'
} }
for (let i = 0; i < this.datas.ScenicStatisticsList.length; i++) { for (let i = 0; i < this.datas.ScenicStatisticsList.length; i++) {
this.datas.ScenicStatisticsList[i].CurrencyId = this.currencyObj.id //只替换当前景点下面的币种
this.datas.ScenicStatisticsList[i].CurrencyStr = this.currencyObj.id ? this.currencyObj.name : '' if (this.datas.scenicIndex == i) {
this.datas.ScenicStatisticsList[i].ReimburseList.CurrencyId = this.currencyObj.id this.datas.ScenicStatisticsList[i].CurrencyId = this.currencyObj.id
for (let j = 0; j < this.datas.ScenicStatisticsList[i].ReimburseList.ReimburseDetailsList this.datas.ScenicStatisticsList[i].CurrencyStr = this.currencyObj.id ? this.currencyObj.name : ''
.length; j++) { this.datas.ScenicStatisticsList[i].ReimburseList.CurrencyId = this.currencyObj.id
this.datas.ScenicStatisticsList[i].ReimburseList.ReimburseDetailsList[j].CurrencyId = this for (let j = 0; j < this.datas.ScenicStatisticsList[i].ReimburseList.ReimburseDetailsList
.currencyObj.id .length; j++) {
this.datas.ScenicStatisticsList[i].ReimburseList.ReimburseDetailsList[j].CurrencyId = this
.currencyObj.id
}
} }
} }
}, },
...@@ -493,12 +496,17 @@ ...@@ -493,12 +496,17 @@
name: '选择币种' name: '选择币种'
} }
for (let i = 0; i < this.datas.DiningSummaryList.length; i++) { for (let i = 0; i < this.datas.DiningSummaryList.length; i++) {
this.datas.DiningSummaryList[i].CurrencyId = this.currencyObj.id //只替换当前餐下面的币种
this.datas.DiningSummaryList[i].CurrencyStr = this.currencyObj.id ? this.currencyObj.name : '' if (i == this.datas.diningIndex) {
this.datas.DiningSummaryList[i].ReimburseList.CurrencyId = this.currencyObj.id this.datas.DiningSummaryList[i].CurrencyId = this.currencyObj.id
for (let j = 0; j < this.datas.DiningSummaryList[i].ReimburseList.ReimburseDetailsList.length; j++) { this.datas.DiningSummaryList[i].CurrencyStr = this.currencyObj.id ? this.currencyObj.name : ''
this.datas.DiningSummaryList[i].ReimburseList.ReimburseDetailsList[j].CurrencyId = this.currencyObj this.datas.DiningSummaryList[i].ReimburseList.CurrencyId = this.currencyObj.id
.id for (let j = 0; j < this.datas.DiningSummaryList[i].ReimburseList.ReimburseDetailsList
.length; j++) {
this.datas.DiningSummaryList[i].ReimburseList.ReimburseDetailsList[j].CurrencyId = this
.currencyObj
.id
}
} }
} }
}, },
......
...@@ -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