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

页面修改

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