Commit 9108e941 authored by 黄奎's avatar 黄奎

页面修改

parent ff8c578c
......@@ -9,12 +9,15 @@
.CostNewPrice .CP_halfWi {
width: 45%;
}
.CostNewPrice .QuotationFirstDiv1{
padding-top:30px;
.CostNewPrice .QuotationFirstDiv1 {
padding-top: 30px;
}
.CostNewPrice .QuotationFirstDiv1 .el-form-item__content .el-select{
.CostNewPrice .QuotationFirstDiv1 .el-form-item__content .el-select {
width: calc(100% - 100px);
}
}
</style>
<template>
......@@ -26,7 +29,7 @@
<el-col :span="12">
<el-form-item label="线路" label-width="100px">
<el-select v-model="postConfig.LineId" :placeholder="$t('pub.pleaseSel')"
@change="getLineTeamList(postConfig.LineId)" filterable>
@change="getLineTeamList(postConfig.LineId,1)" filterable>
<el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option>
<el-option v-for="item in LineList" :label='item.LineName' :value='item.LineID' :key='item.LineID'>
</el-option>
......@@ -46,8 +49,8 @@
<el-row>
<el-col :span="24">
<el-form-item label="团队标题" label-width="100px">
<el-input v-model="postConfig.Title" type="textarea" style="width:94%" :autosize="{minRows: 1, maxRows: 2 }" resize="none"
placeholder="请填写团队标题" maxlength="200"></el-input>
<el-input v-model="postConfig.Title" type="textarea" style="width:94%"
:autosize="{minRows: 1, maxRows: 2 }" resize="none" placeholder="请填写团队标题" maxlength="200"></el-input>
</el-form-item>
</el-col>
</el-row>
......@@ -130,11 +133,13 @@
<tr>
<td class="CP_comBack">汇率</td>
<td v-for='item in CostCurrencyList'>
<el-input class="w80" v-model='item.ExchangeRate' @keyup.native="checkRate(item,'ExchangeRate'),getchange()">
<el-input class="w80" v-model='item.ExchangeRate'
@keyup.native="checkRate(item,'ExchangeRate'),getchange()">
</el-input>
</td>
<td>
<el-input class="w100" v-model='queryMsg.RateInput' @keyup.native="checkRate(queryMsg,'RateInput'),getchange()">
<el-input class="w100" v-model='queryMsg.RateInput'
@keyup.native="checkRate(queryMsg,'RateInput'),getchange()">
</el-input>
</td>
</tr>
......@@ -207,7 +212,8 @@
@keyup.native="checkPrice(subItem,'HotelCostPrice')"></el-input>
</td>
<td>
<el-input type='text' v-model="subItem.BusCostPrice" @keyup.native="checkPrice(subItem,'BusCostPrice'),getchange()">
<el-input type='text' v-model="subItem.BusCostPrice"
@keyup.native="checkPrice(subItem,'BusCostPrice'),getchange()">
</el-input>
</td>
<td>
......@@ -595,8 +601,12 @@
return totalMoney;
},
//获取系列列表
getLineTeamList(lineId) {
this.postConfig.LineteamId = 0;
getLineTeamList(lineId,isClear) {
if(isClear&&isClear==1)
{
this.postConfig.LineteamId = 0;
}
let msg = {
lineID: lineId,
isTOOP: 1
......@@ -841,17 +851,25 @@
x.OtherMoney = (OtherShareMoney / x.PeopleNumber).toFixed(2);
});
},
getchange()
{
this.getLeaderShare();
this.getSubtotalMoney();
getchange() {
this.getLeaderShare();
this.getSubtotalMoney();
}
},
mounted() {
this.getAllCurrency();
},
created() {},
created() {
},
watch: {
postConfig: {
handler: function (val, oldVal) {
this.getLineTeamList(this.postConfig.LineId);
},
deep: true
},
CostNumberList: {
handler: function (val, oldVal) {
this.getchange()
......
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