Commit 1bca09e6 authored by huangyuanyuan's avatar huangyuanyuan

签证财务单据

parent 91302454
...@@ -1036,7 +1036,7 @@ export default { ...@@ -1036,7 +1036,7 @@ export default {
this.picIsShow= true; this.picIsShow= true;
// this.hideFlashMan = true; // this.hideFlashMan = true;
}else{ }else{
console.log(i.Url)
if(i.Content.substring(i.Content.lastIndexOf('.')+1,i.Content.length).toUpperCase()=='PDF'){ if(i.Content.substring(i.Content.lastIndexOf('.')+1,i.Content.length).toUpperCase()=='PDF'){
this.previewPDF(i.Url) this.previewPDF(i.Url)
}else{ }else{
...@@ -1045,7 +1045,7 @@ export default { ...@@ -1045,7 +1045,7 @@ export default {
} }
}, },
showUpLoadFile(i){ // 预览上传文件 showUpLoadFile(i){ // 预览上传文件
console.log(i.Content)
if(i.Content.substring(i.Content.lastIndexOf('.')+1,i.Content.length).toUpperCase()=='PDF'){ if(i.Content.substring(i.Content.lastIndexOf('.')+1,i.Content.length).toUpperCase()=='PDF'){
this.previewPDF(i.Content) this.previewPDF(i.Content)
}else{ }else{
......
...@@ -477,8 +477,7 @@ ...@@ -477,8 +477,7 @@
</div> </div>
<div class="_remark"> <div class="_remark">
<p>{{$t('system.label_info')}}</p> <p>{{$t('system.label_info')}}</p>
<textarea v-model="msg.Description"> <textarea v-model="Description">
</textarea> </textarea>
</div> </div>
<div> <div>
...@@ -556,6 +555,7 @@ import myFlowChartModule from "./FinancialSubmodule/FlowChartModule.vue"; ...@@ -556,6 +555,7 @@ import myFlowChartModule from "./FinancialSubmodule/FlowChartModule.vue";
export default { export default {
data(){ data(){
return{ return{
Description:"",
msg:{ msg:{
FrID:0, FrID:0,
ClientType:'', ClientType:'',
...@@ -567,7 +567,7 @@ export default { ...@@ -567,7 +567,7 @@ export default {
OrderID:0, OrderID:0,
OrderSource:0, OrderSource:0,
TemplateId:0, TemplateId:0,
Description:'', Description:'132356',
detailList:[], detailList:[],
RB_Branch_Id:'', RB_Branch_Id:'',
RB_Depart_Id:'', RB_Depart_Id:'',
...@@ -663,6 +663,7 @@ export default { ...@@ -663,6 +663,7 @@ export default {
methods:{ methods:{
deleteRow(i,obj){ deleteRow(i,obj){
obj.show = false; obj.show = false;
this.msg.Description=this.Description;
this.msg.detailList.splice(i,1); this.msg.detailList.splice(i,1);
this.$forceUpdate(); this.$forceUpdate();
}, },
...@@ -874,21 +875,25 @@ export default { ...@@ -874,21 +875,25 @@ export default {
}); });
//旅客名单数据组装 //旅客名单数据组装
if(this.orderObj!=null&&this.orderObj.OrderSource===10){ if(this.orderObj!=null&&this.orderObj.OrderSource===10){
console.log("getGuestInfo",this.$store.getters.getGuestInfo) // console.log("getGuestInfo",this.$store.getters.getGuestInfo)
let guestInfo = this.$store.getters.getGuestInfo; let guestInfo = JSON.parse(sessionStorage.getItem("saveGuestInfo"));
console.log("getGuestInfo",guestInfo)
// return;
this.msg.GuestInfoList=[]; this.msg.GuestInfoList=[];
if(guestInfo!=null&&guestInfo.length>0){ if(guestInfo!=null&&guestInfo.length>0){
guestInfo.forEach(t=>{ guestInfo.forEach(t=>{
this.msg.GuestInfoList.push({GuestId:t.guestId,GuestName:t.guestName}) this.msg.GuestInfoList.push({GuestId:t.Id,GuestName:""})
}) })
} }
} }
console.log("1234",this.msg); console.log("1234",this.msg);
this.loading = true; this.loading = true;
this.msg.Description=this.Description;
this.apipost('Financial_post_Set',this.msg,res=>{ this.apipost('Financial_post_Set',this.msg,res=>{
if(res.data.resultCode==1){ if(res.data.resultCode==1){
//清除旅客名单数据 //清除旅客名单数据
this.$store.commit('saveGuestInfo',[]) sessionStorage.removeItem("saveGuestInfo");
// this.$store.commit('saveGuestInfo',[])
this.$confirm(this.$t('tips.czcgsfjxzhidan'), this.$t('tips.tips'), { this.$confirm(this.$t('tips.czcgsfjxzhidan'), this.$t('tips.tips'), {
confirmButtonText: this.$t('fnc.jxzhidan'), confirmButtonText: this.$t('fnc.jxzhidan'),
cancelButtonText: this.$t('fnc.nothanks'), cancelButtonText: this.$t('fnc.nothanks'),
...@@ -1274,11 +1279,15 @@ export default { ...@@ -1274,11 +1279,15 @@ export default {
}, err => {}) }, err => {})
}, },
},created(){ },created(){
var that=this;
this.orderObj = this.$route.query.orderObj?JSON.parse(this.$route.query.orderObj):null; this.orderObj = this.$route.query.orderObj?JSON.parse(this.$route.query.orderObj):null;
console.log(this.$route.query.orderObj) // console.log(this.$route.query.orderObj)
if(this.orderObj!=null&&this.orderObj.OrderSource===10){ if(this.orderObj!=null&&this.orderObj.OrderSource===10){
console.log("getGuestInfo",this.$store.getters.getGuestInfo) that.Description="旅客名单:";
this.describeList=this.$store.getters.getGuestInfo; that.describeList=JSON.parse(sessionStorage.getItem("saveGuestInfo"));
that.describeList.forEach(item=>{
that.Description+=item.GuestName+" ";
})
} }
},mounted(){ },mounted(){
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
......
...@@ -83,7 +83,29 @@ ...@@ -83,7 +83,29 @@
display: inline-block; display: inline-block;
margin:10px 0; margin:10px 0;
width: 85px; width: 85px;
cursor: pointer;
} }
.tickets_red {
color: #FF0000;
cursor: pointer;
}
.tickets_blue {
color: #0000FF;
cursor: pointer;
}
.tickets_black {
color: #000000;
}
.color_des{
display: inline-block;
width: 5px;
height: 12px;
margin-left:15px;
}
</style> </style>
<template> <template>
<div class="page_SalesFinancialDetail"> <div class="page_SalesFinancialDetail">
...@@ -118,6 +140,7 @@ ...@@ -118,6 +140,7 @@
<th width="100">实收</th> <th width="100">实收</th>
<th width="100">平台税金</th> <th width="100">平台税金</th>
<th width="150">交易日期</th> <th width="150">交易日期</th>
<th width="150">旅客名单</th>
<th width="100">制单人员</th> <th width="100">制单人员</th>
<th width="120">当前状态</th> <th width="120">当前状态</th>
</tr> </tr>
...@@ -154,6 +177,19 @@ ...@@ -154,6 +177,19 @@
<p style="line-height:20px"><span>{{moneyFormat(item.Fee)}}</span></p> <p style="line-height:20px"><span>{{moneyFormat(item.Fee)}}</span></p>
</td> </td>
<td width="">{{item.TradeDate}}</td> <td width="">{{item.TradeDate}}</td>
<!-- 旅客名单 -->
<!-- <td width="">旅客名单</td> -->
<td>
<span v-if="item.GuestInfoList.length>0" >
<el-popover class="item" effect="dark" placement="top-start" width="350" trigger="click">
<span style="display:inline-block;cursor:pointer;margin:6px;word-break:break-all;" v-for="item2 in item.GuestInfoList" :key="item2.GuestId">{{item2.GuestName}} </span>
<span slot="reference" style="cursor:pointer" v-if="key==0" v-for="(item2,key) in item.GuestInfoList" :key="key+5000">{{item2.GuestName}}
<span v-if="item.GuestInfoList.length>1">...</span>
</span>
</el-popover>
</span>
<span v-if="item.GuestInfoList.length==0">暂无名单</span>
</td>
<td width="">{{item.EmName}}</td> <td width="">{{item.EmName}}</td>
<td width=""> <td width="">
<i v-if="item.Status==1" class="iconfont icon-daiqueren" style="color: #4BCA81"></i> <i v-if="item.Status==1" class="iconfont icon-daiqueren" style="color: #4BCA81"></i>
...@@ -185,7 +221,7 @@ ...@@ -185,7 +221,7 @@
</td> </td>
</tr> </tr>
<tr v-if="dataList.length===0"> <tr v-if="dataList.length===0">
<td colspan="10" class="noDataNotice"> <td colspan="11" class="noDataNotice">
<div> <div>
<p class="iconfont icon-kong"></p> <p class="iconfont icon-kong"></p>
<p class="text">{{`暂无数据`}}</p> <p class="text">{{`暂无数据`}}</p>
...@@ -204,6 +240,7 @@ ...@@ -204,6 +240,7 @@
<th width="100">实付</th> <th width="100">实付</th>
<th width="100">平台税金</th> <th width="100">平台税金</th>
<th width="150">交易日期</th> <th width="150">交易日期</th>
<th width="150">旅客名单</th>
<th width="100">制单人员</th> <th width="100">制单人员</th>
<th width="120">当前状态</th> <th width="120">当前状态</th>
</tr> </tr>
...@@ -240,6 +277,17 @@ ...@@ -240,6 +277,17 @@
<p style="line-height:20px"><span>{{moneyFormat(item.Fee)}}</span></p> <p style="line-height:20px"><span>{{moneyFormat(item.Fee)}}</span></p>
</td> </td>
<td width="">{{item.TradeDate}}</td> <td width="">{{item.TradeDate}}</td>
<td>
<span v-if="item.GuestInfoList.length>0" >
<el-popover class="item" effect="dark" placement="top-start" width="350" trigger="click">
<span style="display:inline-block;cursor:pointer;margin:6px;word-break:break-all;" v-for="item2 in item.GuestInfoList" :key="item2.GuestId">{{item2.GuestName}} </span>
<span slot="reference" style="cursor:pointer" v-if="key==0" v-for="(item2,key) in item.GuestInfoList" :key="key+200">{{item2.GuestName}}
<span v-if="item.GuestInfoList.length>1">...</span>
</span>
</el-popover>
</span>
<span v-if="item.GuestInfoList.length==0">暂无名单</span>
</td>
<td width="">{{item.EmName}}</td> <td width="">{{item.EmName}}</td>
<td width=""> <td width="">
<i v-if="item.Status==1" class="iconfont icon-daiqueren" style="color: #4BCA81"></i> <i v-if="item.Status==1" class="iconfont icon-daiqueren" style="color: #4BCA81"></i>
...@@ -271,7 +319,7 @@ ...@@ -271,7 +319,7 @@
</td> </td>
</tr> </tr>
<tr v-if="dataListP.length===0"> <tr v-if="dataListP.length===0">
<td colspan="10" class="noDataNotice"> <td colspan="11" class="noDataNotice">
<div> <div>
<p class="iconfont icon-kong"></p> <p class="iconfont icon-kong"></p>
<p class="text">{{`暂无数据`}}</p> <p class="text">{{`暂无数据`}}</p>
...@@ -286,11 +334,23 @@ ...@@ -286,11 +334,23 @@
width="30%"> width="30%">
<div> <div>
<input type="checkbox" @change="checkAll" v-model="checkd" >全选 <input type="checkbox" @change="checkAll" v-model="checkd" >全选
<span style="margin-left:15px">签证状态:</span>
<span class="color_des" style="background:#FF0000;margin-left:0"></span>
<span>未办理</span>
<span class="color_des" style="background:#0000FF"></span>
<span>正在办理</span>
<span class="color_des" style="background:#000000"></span>
<span>办理完成</span>
</div> </div>
<ul class="checklist_ul"> <ul class="checklist_ul">
<li v-for="item in checknameList" :key="item.Id"> <li v-for="item in checknameList" :key="item.Id">
<input type="checkbox" v-model="checkList" :value="item.Id" @change="checkThis"> <input type="checkbox" v-model="checkList" :value="item.Id" @change="checkThis" :id="item.Id">
{{item.GuestName}} <label :for="item.Id">
<span v-if="item.VisaStatus===1" class="tickets_red" >{{item.GuestName}}</span>
<span v-if="item.VisaStatus===2" class="tickets_blue" >{{item.GuestName}}</span>
<span v-if="item.VisaStatus===3" class="tickets_black" >{{item.GuestName}}</span>
</label>
</li> </li>
</ul> </ul>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
...@@ -374,7 +434,6 @@ export default { ...@@ -374,7 +434,6 @@ export default {
return return
} }
this.checkd = false this.checkd = false
console.log("checkList",this.checkList)
}, },
checkAll(){ //全选 checkAll(){ //全选
if(this.checkList.length==this.checkListAll.length){ if(this.checkList.length==this.checkListAll.length){
...@@ -439,6 +498,7 @@ export default { ...@@ -439,6 +498,7 @@ export default {
}, null) }, null)
}, },
OpenOrder(num){ OpenOrder(num){
this.checkd=false;
this.checkList=[]; this.checkList=[];
this.checkAllList=[]; this.checkAllList=[];
this.type=num; this.type=num;
...@@ -468,7 +528,8 @@ export default { ...@@ -468,7 +528,8 @@ export default {
} }
}) })
}) })
this.$store.commit('saveGuestInfo',userInfo) sessionStorage.setItem("saveGuestInfo",JSON.stringify(userInfo))
// this.$store.commit('saveGuestInfo',userInfo)
// console.log("getGuestInfo",this.$store.getters.getGuestInfo) // console.log("getGuestInfo",this.$store.getters.getGuestInfo)
let TCIDARR = [this.tcid]; let TCIDARR = [this.tcid];
let orderObj = { let orderObj = {
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
position: absolute; position: absolute;
right:10px; right:10px;
} }
</style> </style>
<template> <template>
<div class="wrapper"> <div class="wrapper">
...@@ -26,12 +27,7 @@ ...@@ -26,12 +27,7 @@
{{$t('visa.v_tvisa')}} {{$t('visa.v_tvisa')}}
<el-dropdown-menu slot="dropdown" > <el-dropdown-menu slot="dropdown" >
<el-dropdown-item v-for="item in VisaManagementList" :key='item.Id' v-if="item.IsGroupSigned==1" :command='{id:item.Id,type:2}'>{{item.Name}}</el-dropdown-item> <el-dropdown-item v-for="item in VisaManagementList" :key='item.Id' v-if="item.IsGroupSigned==1" :command='{id:item.Id,type:2}'>{{item.Name}}</el-dropdown-item>
<<<<<<< HEAD
<el-dropdown-item v-if="LineID!=14" :command='{id:-1,type:2}'>{{$t('visaT.v_Othervisas')}}</el-dropdown-item> <el-dropdown-item v-if="LineID!=14" :command='{id:-1,type:2}'>{{$t('visaT.v_Othervisas')}}</el-dropdown-item>
=======
<el-dropdown-item v-if="LineID!=14" :command='{id:-1,type:2}'>{{$t('visaT.v_Othervisas')}}</el-dropdown-item>
>>>>>>> 3f75667611ac72e4be81b0af1210cd16ce00a70b
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
<el-dropdown split-button type="primary" trigger="click" @command="bindVisa"> <el-dropdown split-button type="primary" trigger="click" @command="bindVisa">
...@@ -92,6 +88,8 @@ ...@@ -92,6 +88,8 @@
<span v-if="item.VisaManageStatus==1">{{$t('visa.v_weibanli')}}</span> <span v-if="item.VisaManageStatus==1">{{$t('visa.v_weibanli')}}</span>
<span v-if="item.VisaManageStatus==2">{{$t('visa.v_banlizhong')}}</span> <span v-if="item.VisaManageStatus==2">{{$t('visa.v_banlizhong')}}</span>
<span v-if="item.VisaManageStatus==3">{{$t('visaT.Completionover')}}</span> <span v-if="item.VisaManageStatus==3">{{$t('visaT.Completionover')}}</span>
<!-- -->
<span @click="goUrl('财务单据','FinancialDocumentsDetail',item.OrderId)" v-if="item.FinanceId>0" style="cursor:pointer" class="_radius _tuan"></span>
</span> </span>
</span> </span>
...@@ -101,10 +99,9 @@ ...@@ -101,10 +99,9 @@
<td style="position:relative;width:200px"> <i @click="deletelist(item.Id)" class="iconfont icon-img_delete_small"></i> <td style="position:relative;width:200px"> <i @click="deletelist(item.Id)" class="iconfont icon-img_delete_small"></i>
<span v-if="LineID!=14"> <span v-if="LineID!=14">
<!-- <button v-if="item.VisaManageStatus==1" @click="UpdateGuestStatus(item,2)" style='background:#3EABFF;padding:4px 6px;color:#fff;cursor:pointer'>办理</button> --> <!-- <button v-if="item.VisaManageStatus==1" @click="UpdateGuestStatus(item,2)" style='background:#3EABFF;padding:4px 6px;color:#fff;cursor:pointer'>办理</button> -->
<el-tooltip class="item" effect="dark" content="办理完成" placement="top"> <el-tooltip class="item" effect="dark" content="办理完成" placement="top-start">
<el-button v-if="item.VisaManageStatus==2" type="primary" class='zidingyiFz' icon="iconfont icon-bangdingzhagnhuxinxi" circle @click="UpdateGuestStatus(item,3)"></el-button> <i v-if="item.VisaManageStatus==2" class="iconfont icon-yiqueren" style="color:rgb(75, 202, 129);cursor:pointer;font-size:18px" @click="UpdateGuestStatus(item,3)"></i>
</el-tooltip> </el-tooltip>
<!-- <button v-if="item.VisaManageStatus==2" style='background:#3EABFF;padding:4px 6px;color:#fff;cursor:pointer'>办理完成</button> -->
</span> </span>
</td> </td>
</tr> </tr>
...@@ -148,6 +145,9 @@ export default { ...@@ -148,6 +145,9 @@ export default {
watch:{}, watch:{},
computed:{}, computed:{},
methods:{ methods:{
goUrl: function (name, path, id ) {
this.$router.push({ name: path, query: { id: id, blank: 'y', tab: name} });
},
UpdateGuestStatus(item,num){ UpdateGuestStatus(item,num){
let msg={ let msg={
guestId:item.Id, guestId:item.Id,
...@@ -253,6 +253,7 @@ export default { ...@@ -253,6 +253,7 @@ export default {
this.loading = true this.loading = true
this.checkListAll=[]; this.checkListAll=[];
this.apipost('dmc_get_GetTCGuestList',{TCID:this.id},res=>{ this.apipost('dmc_get_GetTCGuestList',{TCID:this.id},res=>{
// console.log("res",res);
if(res.data.resultCode==1){ if(res.data.resultCode==1){
this.dataList = res.data.data; this.dataList = res.data.data;
if(this.LineID==14){ if(this.LineID==14){
......
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