Commit 690520a4 authored by huangyuanyuan's avatar huangyuanyuan

签证

parent 2167bf8e
...@@ -820,7 +820,10 @@ export default { ...@@ -820,7 +820,10 @@ export default {
filterRouter(){ filterRouter(){
let that=this let that=this
this.$router.beforeEach((to, from, next) => { this.$router.beforeEach((to, from, next) => {
console.log("to.query.blank && to.query.blank=='y'",to.query) // console.log("to.query.blank && to.query.blank=='y'",to.query,"666")
if(to.path=="/ModifyVisaProduct"){
this.reloadpage();
}
if(that.openMode==1){ if(that.openMode==1){
let isThreeNav=false let isThreeNav=false
to.matched.forEach(x=>{ to.matched.forEach(x=>{
......
...@@ -506,7 +506,7 @@ ...@@ -506,7 +506,7 @@
<div class="TNcontent" v-else> <div class="TNcontent" v-else>
<div class="EtNodata">暂无数据</div> <div class="EtNodata">暂无数据</div>
</div> </div>
<span class="defaultAccount" slot="reference">默认叙述</span> <span class="defaultAccount" slot="reference" v-if="defaultA">默认叙述</span>
</el-popover> </el-popover>
</span> </span>
</div> </div>
...@@ -534,7 +534,7 @@ ...@@ -534,7 +534,7 @@
Quill.register(Font, true); Quill.register(Font, true);
export default { export default {
name: 'edit', name: 'edit',
props: ["editValue", "toolbarShow", "referenceList", "placeholder"], props: ["editValue", "toolbarShow", "referenceList", "placeholder","defaultAccount"],
data() { data() {
return { return {
myToolbar: '', myToolbar: '',
...@@ -542,6 +542,7 @@ ...@@ -542,6 +542,7 @@
myImageUploader: '', myImageUploader: '',
quillValue: this.editValue, quillValue: this.editValue,
popvisible: false, popvisible: false,
defaultA:true,
//字体样式 //字体样式
fonts: [ fonts: [
"SimSun", "SimSun",
...@@ -591,6 +592,12 @@ ...@@ -591,6 +592,12 @@
} }
}, },
created() { created() {
if(this.defaultAccount==undefined){
this.defaultA=true;
}else{
this.defaultA=this.defaultAccount;
}
this.myToolbar = "toolbar_" + this.guid(); this.myToolbar = "toolbar_" + this.guid();
this.editorOption.placeholder = this.placeholder; this.editorOption.placeholder = this.placeholder;
this.myQuillEditor = "editer_" + this.guid(); this.myQuillEditor = "editer_" + this.guid();
......
...@@ -528,6 +528,10 @@ export default { ...@@ -528,6 +528,10 @@ export default {
} }
}) })
}) })
if(userInfo.length==0){
this.Error("至少选择一人!");
return;
}
sessionStorage.setItem("saveGuestInfo",JSON.stringify(userInfo)) sessionStorage.setItem("saveGuestInfo",JSON.stringify(userInfo))
// this.$store.commit('saveGuestInfo',userInfo) // this.$store.commit('saveGuestInfo',userInfo)
// console.log("getGuestInfo",this.$store.getters.getGuestInfo) // console.log("getGuestInfo",this.$store.getters.getGuestInfo)
......
This diff is collapsed.
...@@ -28,14 +28,14 @@ ...@@ -28,14 +28,14 @@
.page_MyCustomer ._mc_edit { .page_MyCustomer ._mc_edit {
overflow: auto; overflow: auto;
display: none; display: none;
position: absolute; position: fixed;
z-index: 50; z-index: 50;
bottom: 0; bottom: 0;
left: 0; left: 50px;
border-top: 3px solid #38425d; border-top: 3px solid #38425d;
background-color: #f9f9f9; background-color: #f9f9f9;
padding: 10px; padding: 10px;
width: 100%; width: calc(100% - 50px);
min-width: 1146px; min-width: 1146px;
} }
.page_MyCustomer .edHeight { .page_MyCustomer .edHeight {
...@@ -291,7 +291,8 @@ ...@@ -291,7 +291,8 @@
</li> </li>
<li> <li>
<button class="hollowFixedBtn" @click="getList()">查询</button> <button class="hollowFixedBtn" @click="getList()">查询</button>
<button class="normalBtn" @click="cancelEdit(),addShow=true" v-if="msg.isFinacial==1">添加</button> <!-- <button class="normalBtn" @click="cancelEdit(),addShow=true" v-if="msg.isFinacial==1">添加</button> -->
<button class="normalBtn" @click="AddVisaProduct" v-if="msg.isFinacial==1">添加</button>
</li> </li>
</ul> </ul>
</div> </div>
...@@ -370,7 +371,7 @@ ...@@ -370,7 +371,7 @@
</td> </td>
<td class="groupTourOrderIcon"> <td class="groupTourOrderIcon">
<el-button-group> <el-button-group>
<el-tooltip <!-- <el-tooltip
class="item" class="item"
effect="dark" effect="dark"
content="修改" content="修改"
...@@ -383,6 +384,20 @@ ...@@ -383,6 +384,20 @@
icon="iconfont icon-img_bianji_small" icon="iconfont icon-img_bianji_small"
@click="getDetail(item)" @click="getDetail(item)"
></el-button> ></el-button>
</el-tooltip> -->
<el-tooltip
class="item"
effect="dark"
content="修改"
placement="top-start"
v-if="item.SendVisaStatus==1&&msg.isFinacial==1"
>
<el-button
type="primary"
style="background:#409EFF; border-color:#409EFF"
icon="iconfont icon-img_bianji_small"
@click="EditVisaProduct(item)"
></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip effect="dark" content="查看" placement="top-start" v-if="msg.isFinacial==1"> <el-tooltip effect="dark" content="查看" placement="top-start" v-if="msg.isFinacial==1">
<el-button <el-button
...@@ -629,6 +644,27 @@ export default { ...@@ -629,6 +644,27 @@ export default {
}; };
}, },
methods: { methods: {
// 修改签证产品
EditVisaProduct(item){
this.$router.push({
name: "ModifyVisaProduct",
query: {
Id:item.Id,
blank: "y",
tab: "配置签证产品"
}
});
},
// 添加签证产品
AddVisaProduct(){
this.$router.push({
name: "ModifyVisaProduct",
query: {
blank: "y",
tab: "配置签证产品"
}
});
},
saveitem(tcid) { saveitem(tcid) {
this.uploadTCID = tcid; this.uploadTCID = tcid;
}, },
...@@ -736,7 +772,6 @@ export default { ...@@ -736,7 +772,6 @@ export default {
err => {} err => {}
); );
}, },
goUrl(obj) { goUrl(obj) {
this.$router.push({ this.$router.push({
name: "VisaProductOrder", name: "VisaProductOrder",
......
This diff is collapsed.
...@@ -1499,8 +1499,8 @@ ...@@ -1499,8 +1499,8 @@
// 车资 // 车资
if(that.isExists(item.CostTypeList,'车资')){ if(that.isExists(item.CostTypeList,'车资')){
this.moneyAll.zheziyf+=item.Money; this.moneyAll.cheziyf+=item.Money;
this.moneyAll.zhezisf+=item.PayMoney; this.moneyAll.chezisf+=item.PayMoney;
} }
// 机票款 // 机票款
if(that.isExists(item.CostTypeList,'国际段机票') || item.OrderSource===4 || that.isExists(item.CostTypeList,'机票退税') || that.isExists(item.CostTypeList,'机票罚金') || that.isExists(item.CostTypeList,'机票税金') || that.isExists(item.CostTypeList,'国内联运段机票')){ if(that.isExists(item.CostTypeList,'国际段机票') || item.OrderSource===4 || that.isExists(item.CostTypeList,'机票退税') || that.isExists(item.CostTypeList,'机票罚金') || that.isExists(item.CostTypeList,'机票税金') || that.isExists(item.CostTypeList,'国内联运段机票')){
......
...@@ -608,7 +608,8 @@ ...@@ -608,7 +608,8 @@
</audio> </audio>
</div> </div>
<div class="temDivs"> <div class="temDivs">
<router-view></router-view> <!-- :key="key" -->
<router-view ></router-view>
</div> </div>
...@@ -1061,6 +1062,9 @@ export default { ...@@ -1061,6 +1062,9 @@ export default {
} }
}, },
computed: { computed: {
key(){
return this.$route.path + Math.random();
},
sysMsgUnread() { sysMsgUnread() {
let temp = this.$store.state.sysMsgUnread; let temp = this.$store.state.sysMsgUnread;
let sysMsgUnread = temp.addFriend || 0; let sysMsgUnread = temp.addFriend || 0;
......
...@@ -2482,11 +2482,29 @@ export default { ...@@ -2482,11 +2482,29 @@ export default {
meta: { meta: {
title: '制作广告' title: '制作广告'
}, },
}, { // 签证 签证产品 },
{ // 签证 签证产品
path: '/VisaProduct', path: '/VisaProduct',
name: 'VisaProduct', name: 'VisaProduct',
component: resolve => require(['@/components/SalesVisa/VisaProduct'], resolve) component: resolve => require(['@/components/SalesVisa/VisaProduct'], resolve)
}, { // 签证 常用航班 },
{ // 签证 签证产品国家
path: '/VisaProductCountryManager',
name: 'VisaProductCountryManager',
component: resolve => require(['@/components/SalesVisa/VisaProductCountryManager'], resolve),
meta: {
title: '签证产品国家'
},
},
{ // 签证 签证产品配置
path: '/ModifyVisaProduct',
name: 'ModifyVisaProduct',
component: resolve => require(['@/components/SalesVisa/ModifyVisaProduct'], resolve),
meta: {
title: '配置签证产品'
},
},
{ // 签证 常用航班
path: '/regularFlights', path: '/regularFlights',
name: 'regularFlights', name: 'regularFlights',
component: resolve => require(['@/components/SalesVisa/regularFlights'], resolve), component: resolve => require(['@/components/SalesVisa/regularFlights'], resolve),
......
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