Commit 4181b1b0 authored by youjie's avatar youjie

修复

parent 930ce114
......@@ -181,7 +181,7 @@
</view>
<view class="headeDatasCurrency row justify-between" @click="showOptionVisible(2)">
<view>
实际金额:¥{{ datas.TotalMoney }}
实际金额:¥{{ datas&&datas.TotalMoney>=0?datas.TotalMoney.toFixed(2):0.0 }}
</view>
<view class="row items-center">
<text style="color: red;">*</text>
......
......@@ -170,7 +170,7 @@
v-model="item.Remark" placeholder="请输入备注信息" @blur="updateData"/>
</view>
<view class="PY20"></view>
<!-- <view class="paymentTitle PA30">
<view class="paymentTitle PA30">
<text>凭证</text>
<text class="tisp">(可上传多张图片)</text>
</view>
......@@ -181,7 +181,7 @@
<u-icon @click="delImg(i,index)" class="InforImgDel" name="clear" color="#FA6967" size="36"/>
</view>
<upload class="addUp" @onSuccess="(info)=>{onSuccess(info,i)}"></upload>
</view> -->
</view>
</view>
</view>
......
......@@ -116,7 +116,7 @@
</style>
<template>
<view>
<view class="inforCenterBox PX30 MT20">
<view v-if="datas&&datas.ReimburseList&&datas.ReimburseList.ReimburseDetailsList.length>0" class="inforCenterBox PX30 MT20">
<view class="inforCenter" v-for="(item,index) in datas.ReimburseList.ReimburseDetailsList"
:key="index">
<view class="inforCenterTop row justify-between" @click="showOptionVisible(index)">
......@@ -158,7 +158,7 @@
<view class="row">
<text>金额小计</text>
</view>
<view class="text-right">{{ item.UserNum*item.UnitPrice }}</view>
<view class="text-right">{{ (item.UserNum*item.UnitPrice).toFixed(2) }}</view>
</view>
</view>
</view>
......@@ -181,7 +181,7 @@
<text class="tisp">(可上传多张图片)</text>
</view>
<view class="PX30 PB30 row InforImgBox">
<view class="InforImg" v-for="(item,index) in datas.VoucherPicList"
<view class="InforImg" v-for="(item,index) in datas.ReimburseList.VoucherPicList"
@click="previewImage(item.url)">
<image :src="item.url" mode="aspectFill"></image>
<u-icon @click="delImg(index)" class="InforImgDel" name="clear" color="#FA6967" size="36"/>
......@@ -310,7 +310,7 @@ export default {
},
previewImage(src) {
uni.previewImage({
urls: this.datas.VoucherPicList.map(x=> {return x.url}),
urls: this.datas.ReimburseList.VoucherPicList.map(x=> {return x.url}),
current: src,
longPressActions: {
itemList: ["发送给朋友", "保存图片", "收藏"],
......
......@@ -146,7 +146,7 @@
<view class="row">
<text>金额小计</text>
</view>
<view class="text-right">{{ item.UserNum*item.UnitPrice }}</view>
<view class="text-right">{{ (item.UserNum*item.UnitPrice).toFixed(2) }}</view>
</view>
</view>
</view>
......@@ -169,7 +169,7 @@
<text class="tisp">(可上传多张图片)</text>
</view>
<view class="PX30 PB30 row InforImgBox">
<view class="InforImg" v-for="(item,index) in datas.HotelOrderList[datas.hotelIndex].VoucherPicList"
<view class="InforImg" v-for="(item,index) in datas.HotelOrderList[datas.hotelIndex].ReimburseList.VoucherPicList"
@click="previewImage(item.url)">
<image :src="item.url" mode="aspectFill"></image>
<u-icon @click="delImg(index)" class="InforImgDel" name="clear" color="#FA6967" size="36"/>
......@@ -298,7 +298,7 @@ export default {
},
previewImage(src) {
uni.previewImage({
urls: this.datas.HotelOrderList[this.datas.hotelIndex].VoucherPicList.map(x=> {return x.url}),
urls: this.datas.HotelOrderList[this.datas.hotelIndex].ReimburseList.VoucherPicList.map(x=> {return x.url}),
current: src,
longPressActions: {
itemList: ["发送给朋友", "保存图片", "收藏"],
......
......@@ -146,7 +146,7 @@
<view class="row">
<text>金额小计</text>
</view>
<view class="text-right">{{ item.UserNum*item.UnitPrice }}</view>
<view class="text-right">{{ (item.UserNum*item.UnitPrice).toFixed(2) }}</view>
</view>
</view>
</view>
......@@ -169,7 +169,7 @@
<text class="tisp">(可上传多张图片)</text>
</view>
<view class="PX30 PB30 row InforImgBox">
<view class="InforImg" v-for="(item,index) in datas.DiningSummaryList[datas.diningIndex].VoucherPicList"
<view class="InforImg" v-for="(item,index) in datas.DiningSummaryList[datas.diningIndex].ReimburseList.VoucherPicList"
@click="previewImage(item.url)">
<image :src="item.url" mode="aspectFill"></image>
<u-icon @click="delImg(index)" class="InforImgDel" name="clear" color="#FA6967" size="36"/>
......@@ -297,7 +297,7 @@ export default {
},
previewImage(src) {
uni.previewImage({
urls: this.datas.DiningSummaryList[this.datas.diningIndex].VoucherPicList.map(x=> {return x.url}),
urls: this.datas.DiningSummaryList[this.datas.diningIndex].ReimburseList.VoucherPicList.map(x=> {return x.url}),
current: src,
longPressActions: {
itemList: ["发送给朋友", "保存图片", "收藏"],
......
......@@ -146,7 +146,7 @@
<view class="row">
<text>金额小计</text>
</view>
<view class="text-right">{{ item.UserNum*item.UnitPrice }}</view>
<view class="text-right">{{ (item.UserNum*item.UnitPrice).toFixed(2) }}</view>
</view>
</view>
</view>
......@@ -169,7 +169,7 @@
<text class="tisp">(可上传多张图片)</text>
</view>
<view class="PX30 PB30 row InforImgBox">
<view class="InforImg" v-for="(item,index) in datas.ScenicStatisticsList[datas.scenicIndex].VoucherPicList"
<view class="InforImg" v-for="(item,index) in datas.ScenicStatisticsList[datas.scenicIndex].ReimburseList.VoucherPicList"
@click="previewImage(item.url)">
<image :src="item.url" mode="aspectFill"></image>
<u-icon @click="delImg(index)" class="InforImgDel" name="clear" color="#FA6967" size="36"/>
......@@ -297,7 +297,7 @@ export default {
},
previewImage(src) {
uni.previewImage({
urls: this.datas.ScenicStatisticsList[this.datas.scenicIndex].VoucherPicList.map(x=> {return x.url}),
urls: this.datas.ScenicStatisticsList[this.datas.scenicIndex].ReimburseList.VoucherPicList.map(x=> {return x.url}),
current: src,
longPressActions: {
itemList: ["发送给朋友", "保存图片", "收藏"],
......
......@@ -161,7 +161,7 @@
</view>
</view>
</template>
<u-loadmore v-if="!loading" :status="status" :load-text="loadText" :font-size="24" :margin-top="20"
<u-loadmore v-if="!loading&&dataList.length>0" :status="status" :load-text="loadText" :font-size="24" :margin-top="20"
:margin-bottom="100" bg-color="#f3f4f6" />
<view style="height: 1rpx;"></view>
</scroll-view>
......
......@@ -15,7 +15,7 @@
left: 0;
top: 0;
right: 0;
z-index: 2;
z-index: 3;
background: linear-gradient(-30deg, #4FA9FF, #4779FF);
}
.reimbursementInforTitle.fixed .reimbursementInforTsBox{
......
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