Commit b6862ee5 authored by 华国豪's avatar 华国豪 🙄

'行程特色样式@'

parent c167fbe1
......@@ -80,7 +80,7 @@ input:-webkit-autofill{-webkit-box-shadow: 0 0 0px 1000px white inset;}
.w30{width: 30px!important;}
.w40{width: 40px!important;}
.w50{width: 50px!important;}
.w60{width: 50px!important;}
.w60{width: 60px!important;}
.w69{width: 69px!important;}
.w80{width: 80px!important;}
.w89{width: 89px!important;}
......
......@@ -34,11 +34,19 @@
width: 90px;
text-align: right;
}
.page_addCapitalAllocation ._conten ul li{
margin-bottom: 15px;
}
.page_addCapitalAllocation ._conten ul li._inList{
border: 1px solid #c94052;
padding: 10px 0;
position: relative;
}
.page_addCapitalAllocation ._conten ul li._outList{
border: 1px solid #106BAF;
padding: 10px 0;
position: relative;
}
.page_addCapitalAllocation ._conten ul li._inList>p{
border-bottom: 1px dotted #c94052;
padding-bottom: 10px;
......@@ -46,10 +54,20 @@
padding-left: 10px;
font-size: 18px;
}
.page_addCapitalAllocation ._conten ul li._inList>div{
.page_addCapitalAllocation ._conten ul li._outList>p{
border-bottom: 1px dotted #106BAF;
padding-bottom: 10px;
margin-bottom: 10px;
padding-left: 10px;
font-size: 18px;
}
.page_addCapitalAllocation ._conten ul li._outList span,.page_addCapitalAllocation ._conten ul li._outList p{
color: #106BAF
}
.page_addCapitalAllocation ._conten ul li._inList>div,.page_addCapitalAllocation ._conten ul li._outList>div{
padding: 5px 0;
}
.page_addCapitalAllocation ._conten ul li._inList ._add_btn{
.page_addCapitalAllocation ._conten ul li._inList ._add_btn,.page_addCapitalAllocation ._conten ul li._outList ._add_btn{
text-align: right;
height: 35px;
line-height: 35px;
......@@ -57,15 +75,15 @@
right: 22px;
bottom: 10px;
}
.page_addCapitalAllocation ._conten ul li._inList ._add_btn span{
.page_addCapitalAllocation ._conten ul li._inList ._add_btn span,.page_addCapitalAllocation ._conten ul li._outList ._add_btn span{
cursor: pointer;
}
.page_addCapitalAllocation ._conten ul li._inList textarea{
.page_addCapitalAllocation ._conten ul li._inList textarea,.page_addCapitalAllocation ._conten ul li._outList textarea{
border: none;
border-bottom: 1px solid #666666;
min-height: 300px;
}
.page_addCapitalAllocation ._conten ul li._inList ._uoload{
.page_addCapitalAllocation ._conten ul li._inList ._uoload,.page_addCapitalAllocation ._conten ul li._outList ._uoload{
padding-left: 10px;
}
.page_addCapitalAllocation ._addUpload_box{
......@@ -159,7 +177,7 @@
</el-option>
</el-select>
<span class="_lable">到款账户:</span>
<el-select filterable v-model='item.AccountId' @change="getAccInfo(index, item.AccountId)" class="w250 _border_b_1">
<el-select filterable v-model='item.AccountId' @change="getAccInfo(1, index, item.AccountId)" class="w250 _border_b_1">
<el-option v-for='item in shouAccNumList'
:label='item.allName'
:value='item.ID'
......@@ -169,9 +187,11 @@
</div>
<div>
<span class="_lable">收款金额:</span>
<el-input v-model='item.OriginalMoney' class="w100 _border_b_1"></el-input>
<el-input v-model='item.OriginalMoney' @input="" class="w100 _border_b_1"></el-input>
<span class="_lable">币种:</span>
<el-input disabled="disabled" v-model='item.CurrencyName' class="w80 _border_b_1"></el-input>
<span class="_lable">汇率:</span>
<el-input v-model='item.Rate' class="w100 _border_b_1"></el-input>
<el-input v-model='item.Rate' class="w60 _border_b_1"></el-input>
<span class="_lable">本位金额:</span>
<el-input v-model='item.Money' class="w100 _border_b_1"></el-input>
</div>
......@@ -228,6 +248,98 @@
</div>
</li>
</ul>
<ul v-if="outList.length">
<li v-for="(item, index) in outList" class="_outList">
<p>付款方式</p>
<div>
<span class="_lable">付款方式:</span>
<el-select filterable v-model='item.mode' @change="FinancialInstitutions_post_GetAccountList(item.mode, item.Type)" class="w100 _border_b_1">
<el-option v-for='item in AccList'
:label='item.Name'
:value='item.ID'
:key='item.ID'>
</el-option>
</el-select>
<span class="_lable">账户类型:</span>
<el-select filterable v-model='item.Type' @change="FinancialInstitutions_post_GetAccountList(item.mode, item.Type)" class="w100 _border_b_1">
<el-option v-for='item in shouAccList'
:label='item.Name'
:value='item.ID'
:key='item.ID'>
</el-option>
</el-select>
<span class="_lable">付款账户:</span>
<el-select filterable v-model='item.AccountId' @change="getAccInfo(2, index, item.AccountId)" class="w250 _border_b_1">
<el-option v-for='item in shouAccNumList'
:label='item.allName'
:value='item.ID'
:key='item.ID'>
</el-option>
</el-select>
</div>
<div>
<span class="_lable">付款金额:</span>
<el-input v-model='item.OriginalMoney' class="w100 _border_b_1"></el-input>
<span class="_lable">币种:</span>
<el-input disabled="disabled" v-model='item.CurrencyName' class="w80 _border_b_1"></el-input>
<span class="_lable">汇率:</span>
<el-input v-model='item.Rate' class="w60 _border_b_1"></el-input>
<span class="_lable">本位金额:</span>
<el-input v-model='item.Money' class="w100 _border_b_1"></el-input>
</div>
<div>
<span class="_lable">调拨日期:</span>
<el-date-picker clearable class="w100 _border_b_1"
v-model="item.AllotDate"
prefix-icon='1'
type="date"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd">
</el-date-picker>
<span class="_lable">备注:</span>
<el-input v-model="item.Description" type="textarea" class="w300 _border_b_1"></el-input>
<div class="_add_btn">
<span @click="initMsg(2)">添加</span>
<span @click="deleteItem(2, index)">删除</span>
<span @click="clearItem(2, index)">清空</span>
</div>
</div>
<div class="_uoload">
<p>上传附件<span class="_addUpload_tips">(单个附件大小不得超过10M)</span></p>
<div class="_addUpload_box clearfix" >
<template v-for="(file,fIndex) in item.VorcherInos">
<div v-if="file.Type==3">
<div style="width:100%;height:100%;overflow: hidden;">
<img :src="file.Url?file.Url:file.Content" @click="showUpLoadFile(file)">
</div>
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(1, index, fIndex)"></span>
</div>
<div v-if="file.Type==1">
<div class="iconfont " :class="file.Content.substring(file.Content.lastIndexOf('.')+1, file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'" @click="showUpLoadFile(file)">
</div>
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(1, index, fIndex)"></span>
</div>
<div v-if="file.Type==2">
<div class="iconfont icon-excel" @click="showUpLoadFile(file)">
</div>
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(1, index, fIndex)"></span>
</div>
</template>
<div class="_pic_upload" @click="inUploadIndex = index,inUploadTrue = true">
<el-upload
drag
:http-request="uploadFileBtn"
:multiple="true" :show-file-list="false" action="">
<i class="el-icon-plus avatar-uploader-icon"></i>
<div class="el-upload__text">点击/拖拽上传</div>
</el-upload>
</div>
</div>
</div>
</li>
</ul>
</div>
<viewer :images="images" :options='imageOptions' @inited="inited" class="viewer" ref="viewer">
<img v-for="src in images" :src="src" :key="src">
......@@ -292,6 +404,7 @@ export default {
this.inList[index].Money = 0
this.inList[index].CurrencyId = ''
this.inList[index].Description = ''
this.inList[index].CurrencyName = ''
this.inList[index].AllotDate = ''
this.inList[index].AllotType = 1
this.inList[index].Sort = ''
......@@ -307,6 +420,7 @@ export default {
this.outList[index].Money = 0
this.outList[index].CurrencyId = ''
this.outList[index].Description = ''
this.outList[index].CurrencyName = ''
this.outList[index].AllotDate = ''
this.outList[index].AllotType = 2
this.outList[index].Sort = ''
......@@ -367,7 +481,7 @@ export default {
VorcherInos: []
})
},
initMsg: function (t) {
initMsg: function (t) {
if(!t){
this.initInList()
this.initOnList()
......@@ -402,9 +516,9 @@ export default {
if (!id) return
this.queryAccMsg.TypeId = id
this.queryAccMsg.BankType = Type
this.apipost('FinancialInstitutions_post_GetAccountList', this.queryAccMsg, res=>{
this.apipost('FinancialInstitutions_post_GetALLAccountList', this.queryAccMsg, res=>{
if(res.data.resultCode==1){
let List = res.data.data.pageData;
let List = res.data.data;
List.forEach(x => {
x.allName = x.BackNo+"("+x.Alias+")";
});
......@@ -414,13 +528,20 @@ export default {
}
},err=>{})
},
getAccInfo: function (i, id) {
getAccInfo: function (type, i, id) {
this.shouAccNumList.forEach(x => {
if (x.ID === id) {
console.log(x)
this.inList[i].Rate = x.Rate
this.inList[i].AccountId = x.ID
this.inList[i].CurrencyId = x.CurrencyId
if (type===1) {
this.inList[i].Rate = x.Rate
this.inList[i].AccountId = x.ID
this.inList[i].CurrencyId = x.CurrencyId
this.inList[i].CurrencyName = x.CurrencyName
} else {
this.outList[i].Rate = x.Rate
this.outList[i].AccountId = x.ID
this.outList[i].CurrencyId = x.CurrencyId
this.outList[i].CurrencyName = x.CurrencyName
}
}
})
},
......
......@@ -4,7 +4,8 @@
<!-- 酒店 -->
<div class="travle_page" v-for="(item, index) in hotelObj.pageList" :key="'hotel'+index " v-if="hotelObj.list.length>0">
<!-- 酒店1 -->
<div class="travel_hotel_1" v-if="item === 0 && hotelObj.list!=null && hotelObj.list.length>0">
<!-- item === 0 && -->
<div class="travel_hotel_1" v-if="hotelObj.list!=null && hotelObj.list.length>0">
<div class="hotel_1_header">
<img class="hotel_1_header_bg" :src="`https://reborndev.oss-cn-hangzhou.aliyuncs.com/Upload/BackgroundImg/featurebg/template_top_${templateType}.jpg`">
<img class="hotel_1_header_bg2" :src="`https://reborndev.oss-cn-hangzhou.aliyuncs.com/Upload/BackgroundImg/featurebg/template_title1_${templateType}.jpg`">
......@@ -218,7 +219,7 @@
</div>
</div>
<!-- 酒店2 -->
<div class="travel_hotel_2" v-if="item !== 0">
<!-- <div class="travel_hotel_2" v-if="item !== 0">
<div class="hotel_2_info_1" v-if="hotelObj.list[item*2]">
<div class="travel_toolbar_block" v-if="canEdit===true">
<vToolBar
......@@ -438,7 +439,7 @@
</div>
</div>
</div>
</div>
</div> -->
</div>
<!-- 景点 -->
<div class="travle_page" v-for="(item, index) in viewSpotObj.pageList" :key="'viewSpot'+index" v-if="viewSpotObj.list.length>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