Commit 65afa1f0 authored by liudong1993's avatar liudong1993

1 签证部 个签设置

parent 37ec98cf
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
<template v-for="(outItem,index) in RollCallList"> <template v-for="(outItem,index) in RollCallList">
<!-- v-if="outItem.CostRelationList.length>0||outItem.InsureRelationList.length>0||outItem.ServiceRelationList.length>0" --> <!-- v-if="outItem.CostRelationList.length>0||outItem.InsureRelationList.length>0||outItem.ServiceRelationList.length>0" -->
<tr> <tr>
<td style="white-space:nowrap;"><p v-if="outItem.Status==1" style="color: red;text-decoration:line-through;">{{outItem.guestName}}</p><p v-else>{{outItem.guestName}}</p> <td style="white-space:nowrap;"><p v-if="outItem.Status==1" style="color: red;text-decoration:line-through;">{{outItem.guestName}} <span style="color: #E95252;">{{outItem.VisaType==1?' 个签':''}}</span></p><p v-else>{{outItem.guestName}} <span style="color: #E95252;">{{outItem.VisaType==1?' 个签':''}}</span></p>
</td> </td>
<td>{{outItem.SexStr}} <td>{{outItem.SexStr}}
</td> </td>
...@@ -538,9 +538,9 @@ ...@@ -538,9 +538,9 @@
<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" :id="item.Id"> <input type="checkbox" v-model="checkList" :value="item.Id" @change="checkThis" :id="item.Id">
<label :for="item.Id"> <label :for="item.Id">
<span v-if="item.VisaStatus===1" class="tickets_red" ><span v-if="item.Status==0" >{{item.guestName}}</span><span v-else style="text-decoration:line-through;">{{item.guestName}}</span></span> <span v-if="item.VisaStatus===1" class="tickets_red" ><span v-if="item.Status==0" >{{item.guestName}} <span style="color: #47BF8C;">{{item.VisaType==1?' 个签':''}}</span></span><span v-else style="text-decoration:line-through;">{{item.guestName}} <span style="color: #4BCA81;">{{item.VisaType==1?' 个签':''}}</span></span></span>
<span v-if="item.VisaStatus===2" class="tickets_blue" ><span v-if="item.Status==0" >{{item.guestName}}</span><span v-else style="text-decoration:line-through;">{{item.guestName}}</span></span> <span v-if="item.VisaStatus===2" class="tickets_blue" ><span v-if="item.Status==0" >{{item.guestName}} <span style="color: #47BF8C;">{{item.VisaType==1?' 个签':''}}</span></span><span v-else style="text-decoration:line-through;">{{item.guestName}} <span style="color: #47BF8C;">{{item.VisaType==1?' 个签':''}}</span></span></span>
<span v-if="item.VisaStatus===3" class="tickets_black" ><span v-if="item.Status==0" >{{item.guestName}}</span><span v-else style="text-decoration:line-through;">{{item.guestName}}</span></span> <span v-if="item.VisaStatus===3" class="tickets_black" ><span v-if="item.Status==0" >{{item.guestName}} <span style="color: #47BF8C;">{{item.VisaType==1?' 个签':''}}</span></span><span v-else style="text-decoration:line-through;">{{item.guestName}} <span style="color: #47BF8C;">{{item.VisaType==1?' 个签':''}}</span></span></span>
<template v-if="item.CostRelationList.length+item.InsureRelationList.length+item.ServiceRelationList.length>0"> <template v-if="item.CostRelationList.length+item.InsureRelationList.length+item.ServiceRelationList.length>0">
({{item.CostRelationList.length+item.InsureRelationList.length+item.ServiceRelationList.length}}) ({{item.CostRelationList.length+item.InsureRelationList.length+item.ServiceRelationList.length}})
</template> </template>
...@@ -549,9 +549,13 @@ ...@@ -549,9 +549,13 @@
</li> </li>
</ul> </ul>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button size="mini" style="background:#47BF8C;color:#fff;border:none" @click="SetGuestSignaturesVisa(0)"
:loading="ServiceChargeLoading">取消个签</el-button>
<el-button size="mini" style="background:#47BF8C;color:#fff;border:none" @click="SetGuestSignaturesVisa(1)"
:loading="ServiceChargeLoading">设为个签</el-button>
<el-button size="mini" @click="dialogVisible = false">取 消</el-button> <el-button size="mini" @click="dialogVisible = false">取 消</el-button>
<el-button size="mini" style="background:#E95252;color:#fff;border:none" @click="addFinancialOrder" <el-button size="mini" style="background:#E95252;color:#fff;border:none" @click="addFinancialOrder"
:loading="ServiceChargeLoading">确 定</el-button> :loading="ServiceChargeLoading">制 单</el-button>
</span> </span>
</el-dialog> </el-dialog>
<!-- 预付款冲抵 --> <!-- 预付款冲抵 -->
...@@ -918,8 +922,28 @@ export default { ...@@ -918,8 +922,28 @@ export default {
} }
}, },
SetFinanceTravelVisa(){ SetGuestSignaturesVisa(Type){
let userInfo =[];
this.checkList.forEach(check=>{
this.checknameList.forEach(item=>{
if(item.Id==check){
userInfo.push(item);
}
})
})
if(userInfo.length==0){
this.Error("至少选择一人!");
return;
}
let GuestIds = userInfo.map(x=>{ return x.Id})
this.ServiceChargeLoading = true
this.apipost('Financial_post_SetGuestSignaturesVisa',{GuestIds:GuestIds.join(','),Type:Type}, res=>{
this.ServiceChargeLoading = false
if(res.data.resultCode == 1) {
this.GetPriceGuestAndFinanceList();
}
})
} }
}, },
mounted() { mounted() {
......
...@@ -2136,6 +2136,7 @@ ...@@ -2136,6 +2136,7 @@
<span class="RL-remarkTitle" v-if="item.guestList.length > 0">{{ $t("salesModule.MD") }}:</span> <span class="RL-remarkTitle" v-if="item.guestList.length > 0">{{ $t("salesModule.MD") }}:</span>
<span class="RL-redType RL-remarkCon" v-if="item.guestList.length > 0"> <span class="RL-redType RL-remarkCon" v-if="item.guestList.length > 0">
<span v-for="childItem in item.guestList" style="color: blue">{{ childItem.userName }} <span v-for="childItem in item.guestList" style="color: blue">{{ childItem.userName }}
<span style="color:#f56c6c">{{childItem.visaType==1?'(个签)':''}}</span>
<span v-if="childItem.isApplyPhoto == 1" style="color: red">({{ $t("salesModule.Zhao") }})</span> <span v-if="childItem.isApplyPhoto == 1" style="color: red">({{ $t("salesModule.Zhao") }})</span>
&nbsp;&nbsp;</span> &nbsp;&nbsp;</span>
<span v-if="item.photoNum > 0">({{ $t("salesModule.NoPhoto") }} {{ item.photoNum <span v-if="item.photoNum > 0">({{ $t("salesModule.NoPhoto") }} {{ item.photoNum
...@@ -2144,7 +2145,7 @@ ...@@ -2144,7 +2145,7 @@
<p v-if="item.cancelGuestList.length > 0"> <p v-if="item.cancelGuestList.length > 0">
<span class="">{{ $t("salesModule.CancelOrder") }}:</span> <span class="">{{ $t("salesModule.CancelOrder") }}:</span>
<span class="RL-redType RL-remarkCon"> <span class="RL-redType RL-remarkCon">
<span style="color: red" v-for="childItem in item.cancelGuestList">{{ childItem.userName }} <span style="color: red" v-for="childItem in item.cancelGuestList">{{ childItem.userName }}<span style="color:#f56c6c">{{childItem.visaType==1?'(个签)':''}}</span>
&nbsp;&nbsp;</span> &nbsp;&nbsp;</span>
</span> </span>
</p> </p>
......
...@@ -2331,15 +2331,13 @@ ...@@ -2331,15 +2331,13 @@
IsLookOrder || IsLookOrder ||
isUpdateOrder) isUpdateOrder)
"> ">
<span v-for="childItem in item.guestList" style="color: blue">{{ childItem.userName <span v-for="childItem in item.guestList" style="color: blue">{{childItem.userName}}<span style="color:#f56c6c">{{childItem.visaType==1?'(个签)':''}}</span><span v-if="childItem.isApplyPhoto == 1" style="color: red">(照)</span>&nbsp;&nbsp;</span>
}}<span v-if="childItem.isApplyPhoto == 1" style="color: red">(照)</span>&nbsp;&nbsp;</span>
<span v-if="item.photoNum > 0">(照片一人 {{ item.photoNum }}份)</span> <span v-if="item.photoNum > 0">(照片一人 {{ item.photoNum }}份)</span>
</span> </span>
<p v-if="item.cancelGuestList && item.cancelGuestList.length > 0"> <p v-if="item.cancelGuestList && item.cancelGuestList.length > 0">
<span class="">取消名单:</span> <span class="">取消名单:</span>
<span class="RL-redType RL-remarkCon"> <span class="RL-redType RL-remarkCon">
<span style="color: red" n v-for="(childItem, childIndex) in item.cancelGuestList" <span style="color: red" n v-for="(childItem, childIndex) in item.cancelGuestList" :key="childIndex+150000">{{ childItem.userName }}<span style="color:#f56c6c">{{childItem.visaType==1?'(个签)':''}}</span> &nbsp;&nbsp;</span>
:key="childIndex+150000">{{ childItem.userName }} &nbsp;&nbsp;</span>
</span> </span>
</p> </p>
<span style="display: block">房间信息<span v-if="item.oneSex > 0" <span style="display: block">房间信息<span v-if="item.oneSex > 0"
...@@ -2882,15 +2880,13 @@ ...@@ -2882,15 +2880,13 @@
IsLookOrder || IsLookOrder ||
isUpdateOrder) isUpdateOrder)
"> ">
<span v-for="childItem in item.guestList" style="color: blue">{{ childItem.userName <span v-for="childItem in item.guestList" style="color: blue">{{ childItem.userName}}<span style="color:#f56c6c">{{childItem.visaType==1?'(个签)':''}}</span><span v-if="childItem.isApplyPhoto == 1" style="color: red">(照)</span>&nbsp;&nbsp;</span>
}}<span v-if="childItem.isApplyPhoto == 1" style="color: red">(照)</span>&nbsp;&nbsp;</span>
<span v-if="item.photoNum > 0">(照片一人 {{ item.photoNum }}份)</span> <span v-if="item.photoNum > 0">(照片一人 {{ item.photoNum }}份)</span>
</span> </span>
<p v-if="item.cancelGuestList && item.cancelGuestList.length > 0"> <p v-if="item.cancelGuestList && item.cancelGuestList.length > 0">
<span class="">取消名单:</span> <span class="">取消名单:</span>
<span class="RL-redType RL-remarkCon"> <span class="RL-redType RL-remarkCon">
<span style="color: red" v-for="(childItem, childIndex) in item.cancelGuestList" <span style="color: red" v-for="(childItem, childIndex) in item.cancelGuestList" :key="childIndex+260000">{{ childItem.userName }}<span style="color:#f56c6c">{{childItem.visaType==1?'(个签)':''}}</span> &nbsp;&nbsp;</span>
:key="childIndex+260000">{{ childItem.userName }} &nbsp;&nbsp;</span>
</span> </span>
</p> </p>
<span style="display: block">房间信息<span v-if="item.oneSex > 0" <span style="display: block">房间信息<span v-if="item.oneSex > 0"
......
...@@ -2095,13 +2095,13 @@ ...@@ -2095,13 +2095,13 @@
<span class="RL-remarkTitle" v-if="item.GuestList.length > 0">{{ $t("salesModule.MD") }}:</span> <span class="RL-remarkTitle" v-if="item.GuestList.length > 0">{{ $t("salesModule.MD") }}:</span>
<p class="RL-redType RL-remarkCon" v-if="item.GuestList.length > 0"> <p class="RL-redType RL-remarkCon" v-if="item.GuestList.length > 0">
<span style="color: blue !important" v-for="(childItem,childIndex) in item.GuestList" :key="childIndex" <span style="color: blue !important" v-for="(childItem,childIndex) in item.GuestList" :key="childIndex"
@click="goToPassenger(childItem, 2)">{{ childItem.userName }}</span> @click="goToPassenger(childItem, 2)">{{ childItem.userName }} <span style="color:#f56c6c">{{childItem.VisaType==1?'个签':''}}</span></span>
</p> </p>
<p v-if="item.CancelGuestList.length > 0"> <p v-if="item.CancelGuestList.length > 0">
<span class="">{{ $t("salesModule.CancelOrder") }}:</span> <span class="">{{ $t("salesModule.CancelOrder") }}:</span>
<span class="RL-redType RL-remarkCon"> <span class="RL-redType RL-remarkCon">
<span v-for="(childItem,childIndex) in item.CancelGuestList" <span v-for="(childItem,childIndex) in item.CancelGuestList"
:key="childIndex">{{ childItem.userName }} &nbsp;&nbsp;</span> :key="childIndex">{{ childItem.userName }} <span style="color:#f56c6c">{{childItem.VisaType==1?'个签':''}}</span> &nbsp;&nbsp;</span>
</span> </span>
</p> </p>
<span>{{ $t("salesModule.RoomInfo") }}:{{ <span>{{ $t("salesModule.RoomInfo") }}:{{
...@@ -2623,12 +2623,12 @@ ...@@ -2623,12 +2623,12 @@
<span class="RL-remarkTitle" v-if="childItem.GuestList.length > 0">{{ $t("salesModule.MD") }}:</span> <span class="RL-remarkTitle" v-if="childItem.GuestList.length > 0">{{ $t("salesModule.MD") }}:</span>
<span class="RL-redType RL-remarkCon" v-if="childItem.GuestList.length > 0"> <span class="RL-redType RL-remarkCon" v-if="childItem.GuestList.length > 0">
<span style="color: blue !important" v-for="fourthItem in childItem.GuestList" <span style="color: blue !important" v-for="fourthItem in childItem.GuestList"
@click="goToPassenger2(msg.TCID, fourthItem.OrderId, 2)">{{ fourthItem.userName }}</span> @click="goToPassenger2(msg.TCID, fourthItem.OrderId, 2)">{{ fourthItem.userName }}<span style="color:#f56c6c">{{fourthItem.VisaType==1?'(个签)':''}}</span></span>
</span> </span>
<p v-if="childItem.CancelGuestList.length > 0"> <p v-if="childItem.CancelGuestList.length > 0">
<span class="">{{ $t("salesModule.CancelOrder") }}:</span> <span class="">{{ $t("salesModule.CancelOrder") }}:</span>
<span class="RL-redType RL-remarkCon"> <span class="RL-redType RL-remarkCon">
<span v-for="subItem in childItem.CancelGuestList">{{ subItem.userName }} &nbsp;&nbsp;</span> <span v-for="subItem in childItem.CancelGuestList">{{ subItem.userName }}<span style="color:#f56c6c">{{subItem.VisaType==1?'(个签)':''}}</span> &nbsp;&nbsp;</span>
</span> </span>
</p> </p>
<span style="display: block"> <span style="display: block">
......
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