Commit 4ec3dbb5 authored by 黄奎's avatar 黄奎

页面修改

parent 8a232393
...@@ -525,10 +525,10 @@ ...@@ -525,10 +525,10 @@
<td>{{item.PeopleNumber}}+1</td> <td>{{item.PeopleNumber}}+1</td>
<td colspan="8">{{item.TotalMoney}}</td> <td colspan="8">{{item.TotalMoney}}</td>
</tr> </tr>
<tr style="display:none;"> <tr>
<td class="CP_ComTitle2">备注</td> <td class="CP_ComTitle2">备注</td>
<td colspan="8"> <td colspan="8">
<el-input type="textarea"></el-input> <el-input type="textarea" v-model="OtherPrice.OtherRemark"></el-input>
</td> </td>
</tr> </tr>
</table> </table>
......
...@@ -277,11 +277,11 @@ ...@@ -277,11 +277,11 @@
</el-form-item> </el-form-item>
</div> </div>
</div> </div>
<div class="clearfix" style="display:none;"> <div class="clearfix" v-show="IsShow">
<div class="Dleftname">备注</div> <div class="Dleftname">备注</div>
<div class="DrightList"> <div class="DrightList">
<el-form-item> <el-form-item>
<el-input type="textarea" class="w875"></el-input> <el-input type="textarea" class="w875" v-model="teamPrice.PriceRemark"></el-input>
</el-form-item> </el-form-item>
</div> </div>
</div> </div>
......
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
</div> </div>
</div> </div>
<div> <div>
<span class="openGroup opbd" @click="goToOpenTravel('TravelManager6',item.ID,item.OpenState)"> <span class="openGroup opbd" @click="goToOpenTravel('TravelManager6',item)">
<el-tooltip class="item" effect="dark" content="开团" placement="top-start" popper-class="max-w250"> <el-tooltip class="item" effect="dark" content="开团" placement="top-start" popper-class="max-w250">
<i class="iconfont icon-nav-hangzheng"></i> <i class="iconfont icon-nav-hangzheng"></i>
</el-tooltip> </el-tooltip>
...@@ -459,15 +459,15 @@ ...@@ -459,15 +459,15 @@
}); });
}, },
//开团或修改 //开团或修改
goToOpenTravel(path, configId, openState) { goToOpenTravel(path,item) {
if (configId > 0) { if (item.ID > 0) {
this.$router.push({ this.$router.push({
name: path, name: path,
query: { query: {
configId: configId, configId: item.ID,
openState: openState, openState: item.OpenState,
isOffer: 1, isOffer: 1,
offerId:configId, offerId:item.OfferId,
blank: 'y' blank: 'y'
} }
}); });
......
...@@ -16,11 +16,13 @@ ...@@ -16,11 +16,13 @@
{{$t('sm.xianluxingcheng')}} {{$t('sm.xianluxingcheng')}}
</div> </div>
<div class="TravelLine" v-if="TeamType!=3"></div> <div class="TravelLine" v-if="TeamType!=3"></div>
<div class="TravelNavList" v-if="TeamType!=3" :class="{'TravelCked':ckedNav==3}" @click.prevent="custormAnchor('thirdAnchor',3)"> <div class="TravelNavList" v-if="TeamType!=3" :class="{'TravelCked':ckedNav==3}"
@click.prevent="custormAnchor('thirdAnchor',3)">
{{$t('sm.chanpintese')}} {{$t('sm.chanpintese')}}
</div> </div>
<div class="TravelLine" v-if="TeamType!=3"></div> <div class="TravelLine" v-if="TeamType!=3"></div>
<div class="TravelNavList" v-if="TeamType!=3" :class="{'TravelCked':ckedNav==4}" @click.prevent="custormAnchor('fourAnchor',4)"> <div class="TravelNavList" v-if="TeamType!=3" :class="{'TravelCked':ckedNav==4}"
@click.prevent="custormAnchor('fourAnchor',4)">
{{$t('sm.buchongxinxi')}} {{$t('sm.buchongxinxi')}}
</div> </div>
<div class="TravelLine"></div> <div class="TravelLine"></div>
...@@ -60,12 +62,15 @@ ...@@ -60,12 +62,15 @@
<div class="toTop" @click="backTop"> <div class="toTop" @click="backTop">
<i class="iconfont icon-huidaodingbu"></i> <i class="iconfont icon-huidaodingbu"></i>
</div> </div>
<div v-if="modifyType!=2" class="DTSaveBtn" :class="{'disClick':!isSubmit}" @click="submitForm(1)">{{$t('pub.saveBtn')}}</div> <div v-if="modifyType!=2" class="DTSaveBtn" :class="{'disClick':!isSubmit}" @click="submitForm(1)">
<div v-if="modifyType!=2" class="DTSaveBtn" :class="{'disClick':!isSubmit}" @click="submitForm(2)">{{$t('fnc.tijiao')}}</div> {{$t('pub.saveBtn')}}</div>
<div v-if="modifyType!=2" class="DTSaveBtn" :class="{'disClick':!isSubmit}" @click="submitForm(2)">
{{$t('fnc.tijiao')}}</div>
<div v-if="modifyType==2" class="DTSaveBtn" :class="{'disClick':!isSubmit}" @click="submitForm(3)" <div v-if="modifyType==2" class="DTSaveBtn" :class="{'disClick':!isSubmit}" @click="submitForm(3)"
title="另存为新模板">{{$t('pub.saveBtn')}} title="另存为新模板">{{$t('pub.saveBtn')}}
</div> </div>
<div v-if="ConfigId>0" class="DTSaveBtn" :class="{'disClick':!isSubmit}" @click="goB2B()">{{$t('sm.yulan')}}</div> <div v-if="ConfigId>0" class="DTSaveBtn" :class="{'disClick':!isSubmit}" @click="goB2B()">{{$t('sm.yulan')}}
</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -86,7 +91,7 @@ ...@@ -86,7 +91,7 @@
provide() { provide() {
return { return {
loadConfigInfo: this.firstLoadConfigInfo, loadConfigInfo: this.firstLoadConfigInfo,
reload:this.reload reload: this.reload
} }
}, },
data() { data() {
...@@ -144,6 +149,7 @@ ...@@ -144,6 +149,7 @@
OpenTeamDescribe: "", //开团备注 OpenTeamDescribe: "", //开团备注
IsOpenHotel: 0, //0可以添加删除酒店,1-不能修改酒店信息 IsOpenHotel: 0, //0可以添加删除酒店,1-不能修改酒店信息
DayNum: 0, //行程天数 DayNum: 0, //行程天数
OfferId: 0, //报价单Id
}, },
//行程 //行程
FeatureData: { FeatureData: {
...@@ -341,6 +347,7 @@ ...@@ -341,6 +347,7 @@
basicData.IsDirect = this.PostConfig.IsDirect; basicData.IsDirect = this.PostConfig.IsDirect;
basicData.OpenTeamDescribe = this.PostConfig.OpenTeamDescribe; basicData.OpenTeamDescribe = this.PostConfig.OpenTeamDescribe;
basicData.RemoveChild = this.PostConfig.RemoveChild; basicData.RemoveChild = this.PostConfig.RemoveChild;
basicData.OfferId=this.PostConfig.OfferId;
basicData.TeamType = this.PostConfig.TeamType; basicData.TeamType = this.PostConfig.TeamType;
...@@ -378,7 +385,7 @@ ...@@ -378,7 +385,7 @@
TripFeature.FeatureHtmlJsonDelete = TripFeature.FeatureHtmlJsonDelete ? JSON.stringify(TripFeature TripFeature.FeatureHtmlJsonDelete = TripFeature.FeatureHtmlJsonDelete ? JSON.stringify(TripFeature
.FeatureHtmlJsonDelete) : .FeatureHtmlJsonDelete) :
""; "";
if (TripFeature.FeatureType >= 4) { if (TripFeature.FeatureType >= 4) {
var htmlObj = document.getElementById("newFeatureBox"); var htmlObj = document.getElementById("newFeatureBox");
if (htmlObj && htmlObj.innerHTML != null && htmlObj.innerHTML != "") {} else { if (htmlObj && htmlObj.innerHTML != null && htmlObj.innerHTML != "") {} else {
...@@ -622,6 +629,9 @@ ...@@ -622,6 +629,9 @@
let configId = this.$route.query.configId; let configId = this.$route.query.configId;
this.modifyTcid = this.$route.query.tcid; this.modifyTcid = this.$route.query.tcid;
this.TCNUM = this.$route.query.TCNUM; this.TCNUM = this.$route.query.TCNUM;
if (this.$route.query.offerId) {
this.PostConfig.OfferId = this.$route.query.offerId;
}
if (this.modifyTcid > 0) { if (this.modifyTcid > 0) {
this.modifyType = 2; this.modifyType = 2;
} else { } else {
...@@ -721,6 +731,11 @@ ...@@ -721,6 +731,11 @@
this.PostConfig.IsSubstitution = tempData.IsSubstitution; this.PostConfig.IsSubstitution = tempData.IsSubstitution;
this.PostConfig.IsDirect = tempData.IsDirect; this.PostConfig.IsDirect = tempData.IsDirect;
this.PostConfig.PriceIsDirect = tempData.PriceIsDirect; this.PostConfig.PriceIsDirect = tempData.PriceIsDirect;
this.PostConfig.OfferId = tempData.OfferId;
if (this.$route.query.offerId) {
this.PostConfig.OfferId = this.$route.query.offerId;
}
//是否有报价单 //是否有报价单
this.IsHaveOffer = tempData.IsHaveOffer; this.IsHaveOffer = tempData.IsHaveOffer;
...@@ -824,9 +839,9 @@ ...@@ -824,9 +839,9 @@
}, },
watch: { watch: {
// 方法1 // 方法1
'$route' (to, from) { //监听路由是否变化 '$route'(to, from) { //监听路由是否变化
location.reload() location.reload()
}, },
}, },
mounted() { mounted() {
this.ScrollMethod(); this.ScrollMethod();
......
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