Commit 078c715d authored by 黄奎's avatar 黄奎

页面修改

parent 94cdcdc0
...@@ -30,13 +30,43 @@ ...@@ -30,13 +30,43 @@
{{$t('ground.jisuan1')}} <br /> {{$t('ground.jisuan1')}} <br />
{{$t('ground.jisuan2')}} <br /> {{$t('ground.jisuan2')}} <br />
{{$t('ground.sidaobsuan')}}<br /> {{$t('ground.sidaobsuan')}}<br />
付款方式是现付的,必須上传手配书. 付款方式是现付的,必須上传手配书.
</div> </div>
<div style="width: 100%; overflow-x: auto;padding-bottom: 10px; " :style="{height: boxHeight + 'px'}" <div style="width: 100%; overflow-x: auto;padding-bottom: 10px; " :style="{height: boxHeight + 'px'}"
class="ownScrollbarStyle" ref="ownScrollbarStyle"> class="ownScrollbarStyle" ref="ownScrollbarStyle">
<table border="0" cellspacing="1" cellpadding="0" class="roomReservationsDetailsTalbe" v-loading="loading"> <table border="0" cellspacing="1" cellpadding="0" class="roomReservationsDetailsTalbe" v-loading="loading">
<tr> <tr>
<th class="fz14" colspan="5">{{$t('visa.v_teaminfo')}}&nbsp;&nbsp;{{$t('leader.leader_Leader')}}:{{LeaderName}} &nbsp;&nbsp;{{$t('leader.leader_Guide')}}:{{GuideName}}.</th> <th class="fz14" colspan="5">{{$t('visa.v_teaminfo')}}&nbsp;&nbsp;{{$t('leader.leader_Leader')}}:{{LeaderName}} &nbsp;&nbsp;{{$t('leader.leader_Guide')}}:{{GuideName}}.
<el-tooltip class="item" effect="dark" :content="$t('ground.jiudiancaozuo')" placement="top-start">
<el-popover placement="bottom" width="400" trigger="click" >
<table class="dmcSetTable">
<template v-for="(lItem,lIndex) in list" >
<tr v-for="(subItem,subIndex) in lItem.HotelOrderList" :key="subIndex+lIndex">
<td style="width:100px;">
{{lItem.UseTimeStr}}
</td>
<td style="width:280px;">
<el-checkbox :checked="subItem.IsChecked" @change="MoreUpdate(subItem)">{{subItem.NewHotelName}}</el-checkbox>
</td>
</tr>
</template>
<tr>
<td colspan="2" style="text-align:center">
<el-upload :http-request="uploadFileBtnS" :multiple="false" :show-file-list="false" action=''>
<el-button size="small" type="danger" >
选择文件</el-button>
</el-upload>
</td>
</tr>
</table>
<el-button slot="reference"
style="background:#E95252; border-color:#E95252" icon="iconfont icon-suo" type="primary">
批量上传手配书
</el-button>
</el-popover>
</el-tooltip>
</th>
<th class="fz14" colspan="17">{{$t('ground.dijiecaozuoxinxi')}}</th> <th class="fz14" colspan="17">{{$t('ground.dijiecaozuoxinxi')}}</th>
</tr> </tr>
<tr> <tr>
...@@ -102,7 +132,6 @@ ...@@ -102,7 +132,6 @@
</td> </td>
</tr> </tr>
</table> </table>
</td> </td>
<!-- 机位总数/(Y/E/F) --> <!-- 机位总数/(Y/E/F) -->
<td v-if="childIndex==0" :rowspan="6"> <td v-if="childIndex==0" :rowspan="6">
...@@ -171,9 +200,8 @@ ...@@ -171,9 +200,8 @@
</template> </template>
</p> </p>
<el-upload :http-request="uploadFileBtnS" :multiple="false" :show-file-list="false" action=''> <el-upload :http-request="uploadFileBtnS" :multiple="false" :show-file-list="false" action=''>
<el-button size="small" type="danger" @click='getItem(index, subIndex)'> <el-button size="small" type="danger" @click='getItem(index, subIndex)'>{{!subItem.ContractUrl ? '上传手配书' : '重新上传手配书'}}</el-button>
{{!subItem.ContractUrl ? '上传手配书' : '重新上传手配书'}}</el-button> </el-upload>
</el-upload>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -267,7 +295,6 @@ ...@@ -267,7 +295,6 @@
<el-input class='w40' maxlength="2" @keyup.native="checkInteger(childItem,'RebateRatio')" <el-input class='w40' maxlength="2" @keyup.native="checkInteger(childItem,'RebateRatio')"
v-model='childItem.RebateRatio' @input="calculationPrice(subItem)" :disabled="true"></el-input> % v-model='childItem.RebateRatio' @input="calculationPrice(subItem)" :disabled="true"></el-input> %
</template> </template>
</td> </td>
<!--返佣金额--> <!--返佣金额-->
<td> <td>
...@@ -438,12 +465,8 @@ ...@@ -438,12 +465,8 @@
</el-select> </el-select>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2" style="height:5px;"> <td colspan="2" style="height:5px;">
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -556,7 +579,8 @@ ...@@ -556,7 +579,8 @@
allCurrencyList: [], //币种列表 allCurrencyList: [], //币种列表
checkedIndex: '', checkedIndex: '',
checkedsubIndex: '', checkedsubIndex: '',
XiaoFeiTaxFee:0.1 XiaoFeiTaxFee:0.1,
IsMoreUpdate:0,//批量上传手配书0-单个上传,1-批量上传
} }
}, },
components: { components: {
...@@ -565,6 +589,11 @@ ...@@ -565,6 +589,11 @@
commonPHInfo: commonPHlInfo commonPHInfo: commonPHlInfo
}, },
methods: { methods: {
MoreUpdate(subItem)
{
subItem.IsChecked=!subItem.IsChecked;
this.IsMoreUpdate=1;
},
//付款方式切换 //付款方式切换
PayChange(subItem) { PayChange(subItem) {
if (subItem.PayStyle > 0) { if (subItem.PayStyle > 0) {
...@@ -711,9 +740,24 @@ ...@@ -711,9 +740,24 @@
let path = '/Upload/DMC/Hotel' let path = '/Upload/DMC/Hotel'
this.$message.info('上传中...') this.$message.info('上传中...')
this.UploadSelfFileT(path, newArr, x => { this.UploadSelfFileT(path, newArr, x => {
var fileUrl=this.domainManager() var fileUrl=this.domainManager().ViittoFileUrl + x.data.FilePath;
.ViittoFileUrl + x.data.FilePath; //批量上传
this.list[this.checkedIndex].HotelOrderList[this.checkedsubIndex].ContractUrl = fileUrl; if(this.IsMoreUpdate==1)
{
this.list.forEach((sItem,sIndex)=>{
sItem.HotelOrderList.forEach((subItem,subIndex)=>{
if(subItem.IsChecked){
subItem.ContractUrl=fileUrl;
}
subItem.IsChecked=false;
});
});
}
else
{
this.list[this.checkedIndex].HotelOrderList[this.checkedsubIndex].ContractUrl = fileUrl;
}
this.IsMoreUpdate=0;
this.$forceUpdate() this.$forceUpdate()
}) })
}, },
...@@ -755,6 +799,7 @@ ...@@ -755,6 +799,7 @@
IsCombine: this.IsCombine, IsCombine: this.IsCombine,
NewTCIDs: this.NewTCIDs NewTCIDs: this.NewTCIDs
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.IsOperation = res.data.data.IsOperation; this.IsOperation = res.data.data.IsOperation;
this.IsEditHotel = res.data.data.IsEditHotel; this.IsEditHotel = res.data.data.IsEditHotel;
...@@ -799,6 +844,7 @@ ...@@ -799,6 +844,7 @@
}) })
}); });
this.list = list; this.list = list;
console.log("this.list",this.list);
this.$forceUpdate(); this.$forceUpdate();
} }
} else { } else {
......
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