Commit d1d49b0c authored by huangyuanyuan's avatar huangyuanyuan

签证产品

parent 350d0ce0
...@@ -519,7 +519,6 @@ export default { ...@@ -519,7 +519,6 @@ export default {
}) })
}, },
addFinancialOrder () { // 新增单据方法 addFinancialOrder () { // 新增单据方法
let userInfo =[]; let userInfo =[];
this.checkList.forEach(check=>{ this.checkList.forEach(check=>{
this.checknameList.forEach(item=>{ this.checknameList.forEach(item=>{
...@@ -528,6 +527,11 @@ export default { ...@@ -528,6 +527,11 @@ 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.
...@@ -2521,7 +2521,25 @@ export default { ...@@ -2521,7 +2521,25 @@ export default {
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