Commit f8883a9f authored by youjie's avatar youjie

no message

parent 677b47ca
......@@ -68,7 +68,7 @@
<div class='flexOne page_CompanyAccDetail'>
<div class='query-box'>
<el-form class="_info_box clearfix" label-width="110px">
<el-row>
<el-row style="padding: 10px 0 0 0;">
<el-col :span="4" :gutter="35">
<el-form-item :label="$t('fnc.zhanghuleixing')">
<el-select filterable v-model='accType' @change="bankaccount_post_GetList">
......@@ -184,12 +184,15 @@
<th>{{$t('fnc.a_hkrfkduixiang')}}</th>
<th>{{$t('fnc.a_hkfkshijian')}}</th>
<th>{{$t('fnc.jylshuihao')}}</th>
<th>{{$t('fnc.skjine')}}</th>
<th>{{$t('fnc.fkjine')}}</th>
<th>原币币种</th>
<th>原币收款</th>
<th>原币付款</th>
<th>本位币{{$t('fnc.skjine')}}</th>
<th>本位币{{$t('fnc.fkjine')}}</th>
<th>{{$t('fnc.yueacc')}}</th>
</tr>
<tr>
<td :colspan="7">{{$t('fnc.a_qcyue')}}</td>
<td :colspan="10">{{$t('fnc.a_qcyue')}}</td>
<td></td>
<td></td>
<td>{{moneyFormat(StartMoney)}}</td>
......@@ -218,12 +221,15 @@
<td>
{{ item.AccountNumber }}
</td>
<td> {{ item.CurrencyName }} </td>
<td>{{ item.Type == 1 ? moneyFormat(item.OriginalMoney) : '' }}</td>
<td>{{ item.Type == 2 ? moneyFormat(item.OriginalMoney) : '' }}</td>
<td>{{ item.Type == 1 ? moneyFormat(item.Money) : '' }}</td>
<td>{{ item.Type == 2 ? moneyFormat(item.Money) : '' }}</td>
<td>{{ moneyFormat(item.EndMoney) }}</td>
</tr>
<tr>
<td :colspan="7">{{$t('fnc.a_heji')}}{{$t('hotel.hotel_totalRoom')}}{{ DataList.length }} {{$t('hotel.hotel_item')}}</td>
<td :colspan="10">{{$t('fnc.a_heji')}}{{$t('hotel.hotel_totalRoom')}}{{ DataList.length }} {{$t('hotel.hotel_item')}}</td>
<td>{{ InMoney == 0 ? '-' : moneyFormat(InMoney) }}</td>
<td>{{ OutMoney == 0 ? '-' : moneyFormat(OutMoney) }}</td>
<td>{{ moneyFormat(allMoney) }}</td>
......
......@@ -29,7 +29,7 @@
<el-image
style="width: 100%; height: 100%"
:src="images[0]"
:preview-src-list="images">
:preview-src-list="images" fit="cover">
</el-image>
</div>
<div v-if="images.length>1">
......@@ -37,7 +37,7 @@
<el-image
style="width: 100%; height: 100%"
:src="images[1]"
:preview-src-list="images">
:preview-src-list="images" fit="cover">
</el-image>
</div>
<div class="Img-right-box" v-if="images.length>2">
......@@ -48,14 +48,14 @@
<el-image
style="width: 100%; height: 100%"
:src="images[2]"
:preview-src-list="images" ref="images">
:preview-src-list="images" ref="images" fit="cover">
</el-image>
</div>
</div>
</div>
<div class="hotelDetails-Map">
<Map :obj="h"></Map>
<!-- <div :style="{height:'100%',width:'100%'}" id="mapContainer"></div> -->
<!-- <Map :obj="h"></Map> -->
<div :style="{height:'100%',width:'100%'}" id="mapContainer"></div>
</div>
</div>
<div class="hotelDetails-prompt">
......@@ -238,7 +238,10 @@
display: flex;
justify-content: space-between;
}
.hotelDetails-Img,.hotelDetails-Map{
.hotelDetails-Img{
width: 60%;
}
.hotelDetails-Map{
flex: 1;
flex-shrink: 0;
}
......
......@@ -7,7 +7,7 @@
<div class="hotelDetails-infor">
<div>
<i class="el-icon-location"></i>
<p><span>{{t.CityList2[0].CountryName }}{{t.CityList2[0].CityName}}</span></p>
<p v-if="t.CityList2&&t.CityList2.length>0&&t.CityList2[0]"><span>{{t.CityList2[0].CountryName }}{{t.CityList2[0].CityName}}</span></p>
</div>
</div>
<div class="hotelDetails-ImgMap">
......@@ -17,7 +17,7 @@
v-if="images.length>0"
style="width: 100%; height: 100%"
:src="images[0]"
:preview-src-list="images">
:preview-src-list="images" fit="cover">
<div slot="placeholder" class="image-slot">
加载中<span class="dot">...</span>
</div>
......@@ -31,7 +31,7 @@
<el-image
style="width: 100%; height: 100%"
:src="images[1]"
:preview-src-list="images">
:preview-src-list="images" fit="cover">
<div slot="placeholder" class="image-slot">
加载中<span class="dot">...</span>
</div>
......@@ -48,7 +48,7 @@
<el-image
style="width: 100%; height: 100%"
:src="images[2]"
:preview-src-list="images" ref="images">
:preview-src-list="images" ref="images" fit="cover">
<div slot="placeholder" class="image-slot">
加载中<span class="dot">...</span>
</div>
......@@ -60,7 +60,7 @@
</div>
</div>
<div class="hotelDetails-Map">
<Map :obj="t"></Map>
<Map :obj="ObjMap"></Map>
<!-- <div :style="{height:'100%',width:'100%'}" :id="`mapContainer_${detailsObj.Id}`"></div> -->
</div>
</div>
......@@ -111,7 +111,12 @@
loading: true,
t: {},
images: [],
center: null
center: null,
ObjMap:{
lng:'',
lat:'',
Address: ''
}
};
},
watch: {
......@@ -140,7 +145,12 @@
res => {
this.t = res.data.data
this.images = this.t.ImageList
this.initMap(this.t.PlaceList[0].Lng,this.t.PlaceList[0].Lat,this.t.Name)
this.ObjMap = {
lng:this.t.PlaceList[0].Lng,
lat:this.t.PlaceList[0].Lat,
Address: this.t.PlaceList[0].Address
}
// this.initMap(this.t.PlaceList[0].Lng,this.t.PlaceList[0].Lat,this.t.Name)
},
err => {}
);
......@@ -235,7 +245,10 @@
display: flex;
justify-content: space-between;
}
.hotelDetails-Img,.hotelDetails-Map{
.hotelDetails-Img{
width: 60%;
}
.hotelDetails-Map{
flex: 1;
flex-shrink: 0;
}
......
......@@ -53,6 +53,7 @@
handler(newValue,onldValue) {
this.keyword = newValue
},
deep:true,
immediate: true
},
},
......
......@@ -43,16 +43,19 @@
watch: {
obj: {
handler(newValue,onldValue) {
this.center.lng = newValue.PlaceList[0].Lng
this.center.lat = newValue.PlaceList[0].Lat
this.center.lng = this.obj.lng
this.center.lat = this.obj.lat
this.keyword = this.obj.Address
console.log(this.center,'----')
},
deep:true,
immediate: true
},
},
mounted() {
this.center.lng = this.obj.PlaceList[0].Lng
this.center.lat = this.obj.PlaceList[0].Lat
this.keyword = this.obj.PlaceList[0].Address
this.center.lng = this.obj.lng
this.center.lat = this.obj.lat
this.keyword = this.obj.Address
},
methods: {
getClickInfo (e) {
......
......@@ -37,7 +37,7 @@
v-if="images.length>0"
style="width: 100%; height: 100%"
:src="images[0]"
:preview-src-list="images">
:preview-src-list="images" fit="cover">
<div slot="placeholder" class="image-slot">
加载中<span class="dot">...</span>
</div>
......@@ -51,7 +51,7 @@
<el-image
style="width: 100%; height: 100%"
:src="images[1]"
:preview-src-list="images">
:preview-src-list="images" fit="cover">
<div slot="placeholder" class="image-slot">
加载中<span class="dot">...</span>
</div>
......@@ -68,7 +68,7 @@
<el-image
style="width: 100%; height: 100%"
:src="images[2]"
:preview-src-list="images" ref="images">
:preview-src-list="images" ref="images" fit="cover">
<div slot="placeholder" class="image-slot">
加载中<span class="dot">...</span>
</div>
......@@ -80,7 +80,8 @@
</div>
</div>
<div class="hotelDetails-Map">
<div :style="{height:'100%',width:'100%'}" :id="`mapContainer_${ticket.ID}`"></div>
<Map :obj="ObjMap"></Map>
<!-- <div :style="{height:'100%',width:'100%'}" :id="`mapContainer_${ticket.ID}`"></div> -->
</div>
</div>
<div class="hotelDetails-prompt">
......@@ -113,7 +114,9 @@
</div>
</template>
<script>
import Map from "../../../public/echoMap.vue";
export default {
components: { Map },
props: ['ticket'],
data() {
return {
......@@ -121,7 +124,12 @@
loading: true,
t: {},
images: [],
center: null
center: null,
ObjMap:{
lng:'',
lat:'',
Address: ''
}
};
},
watch: {
......@@ -129,9 +137,15 @@
handler: function (val, oldVal) {
this.t = JSON.parse(JSON.stringify(this.ticket))
this.images = this.t.PicPathList
this.initMap(this.t.Lng,this.t.Lat,this.t.Name)
this.ObjMap = {
lng:this.t.Lng,
lat:this.t.Lat,
Address: this.t.Address
}
// this.initMap(this.t.Lng,this.t.Lat,this.t.Name)
},
deep: true
deep: true,
immediate: true
},
},
created() {
......@@ -140,7 +154,12 @@
if(this.ticket){
this.t = JSON.parse(JSON.stringify(this.ticket))
this.images = this.t.PicPathList
this.initMap(this.t.Lng,this.t.Lat,this.t.Name)
this.ObjMap = {
lng:this.t.Lng,
lat:this.t.Lat,
Address: this.t.Address
}
// this.initMap(this.t.Lng,this.t.Lat,this.t.Name)
}
},
methods: {
......@@ -234,7 +253,10 @@
display: flex;
justify-content: space-between;
}
.hotelDetails-Img,.hotelDetails-Map{
.hotelDetails-Img{
width: 60%;
}
.hotelDetails-Map{
flex: 1;
flex-shrink: 0;
}
......
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