Commit 3ea00670 authored by Mac's avatar Mac

旅客名单新增身份证接口,发票增加预计到账时间选择和详情的展示

parent aba56e77
...@@ -124,11 +124,11 @@ ...@@ -124,11 +124,11 @@
<!-- <tr> <!-- <tr>
<td>应收总额</td> <td>应收总额</td>
<td class="w600 font-weight cursorpointer"> <td class="w600 font-weight cursorpointer">
<span @click="goUrlO(orderList.OrderId)">{{orderList.PreferPrice}}</span> <span @click="goUrlO(orderList.OrderId)">{{orderList.PreferPrice}}</span>
</td> </td>
<td>待收金额</td> <td>待收金额</td>
<td class="w600 font-weight cursorpointer"> <td class="w600 font-weight cursorpointer">
<span @click="goUrlO(orderList.OrderId)">{{orderList.DueInMoney}}</span> <span @click="goUrlO(orderList.OrderId)">{{orderList.DueInMoney}}</span>
</td> </td>
</tr> --> </tr> -->
<tr class="page_iisMgadd_bank"> <tr class="page_iisMgadd_bank">
...@@ -146,14 +146,23 @@ ...@@ -146,14 +146,23 @@
<td>到账日期</td> <td>到账日期</td>
<td>{{orderList.TradeDateStr}}</td> <td>{{orderList.TradeDateStr}}</td>
</tr> </tr>
<tr> <tr>
<td>团号</td> <td>团号</td>
<td colspan="3" class="w600 text-align-left">{{msg.TCID}}</td> <td>{{msg.TCID}}</td>
</tr>
<tr>
<td>订单号</td> <td>订单号</td>
<td colspan="3" class="w600 text-align-left">{{msg.OrderId}}</td> <td>{{msg.OrderId}}</td>
</tr> </tr>
<!-- <tr>-->
<!-- <td>团号</td>-->
<!-- <td colspan="3" class="w600 text-align-left">{{msg.TCID}}</td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <td>订单号</td>-->
<!-- <td colspan="3" class="w600 text-align-left">{{msg.OrderId}}</td>-->
<!-- </tr>-->
<tr> <tr>
<td rowspan="6">开具内容</td> <td rowspan="6">开具内容</td>
<td> <td>
...@@ -216,12 +225,25 @@ ...@@ -216,12 +225,25 @@
<el-input placeholder type="number" v-model="msg.BankNo"></el-input> <el-input placeholder type="number" v-model="msg.BankNo"></el-input>
</td> </td>
</tr> </tr>
<tr> <tr>
<td>备注</td> <td>备注</td>
<td colspan="3"> <td>
<el-input type="textarea" placeholder v-model="msg.Remarks"></el-input> <el-input type="textarea" placeholder v-model="msg.Remarks"></el-input>
</td> </td>
<td>预计到账时间</td>
<td>
<el-date-picker v-model='msg.AccountingDate' class="w230" value-format="yyyy-MM-dd" type="date"
placeholder="选择日期"></el-date-picker>
</td>
</tr> </tr>
<!-- <tr>-->
<!-- <td>备注</td>-->
<!-- <td colspan="3">-->
<!-- <el-input type="textarea" placeholder v-model="msg.Remarks"></el-input>-->
<!-- </td>-->
<!-- </tr>-->
</table> </table>
<div> <div>
<div> <div>
...@@ -289,6 +311,7 @@ export default { ...@@ -289,6 +311,7 @@ export default {
IsDefaultInfo: 1, IsDefaultInfo: 1,
ApplyPics: [], ApplyPics: [],
ID: 0, ID: 0,
AccountingDate:''
}, },
DepartName: "", DepartName: "",
emName: "", emName: "",
......
...@@ -246,11 +246,11 @@ ...@@ -246,11 +246,11 @@
<tr> <tr>
<td>应收总额</td> <td>应收总额</td>
<td class="w600 font-weight cursorpointer"> <td class="w600 font-weight cursorpointer">
<span @click="goUrlO(detail.OrderId)">{{detail.PreferPrice}}</span> <span @click="goUrlO(detail.OrderId)">{{detail.PreferPrice}}</span>
</td> </td>
<td>待收金额</td> <td>待收金额</td>
<td class="w600 font-weight cursorpointer"> <td class="w600 font-weight cursorpointer">
<span @click="goUrlO(detail.OrderId)">{{detail.DueInMoney}}</span> <span @click="goUrlO(detail.OrderId)">{{detail.DueInMoney}}</span>
</td> </td>
</tr> </tr>
<tr class="page_iisMgdetail_bank"> <tr class="page_iisMgdetail_bank">
...@@ -271,21 +271,21 @@ ...@@ -271,21 +271,21 @@
</tr> </tr>
<tr> <tr>
<td>{{$t('ios.tuanhao')}}</td> <td>{{$t('ios.tuanhao')}}</td>
<td colspan="3" class="w600 text-align-left font-weight cursorpointer" @click="goUrlT('productQuery', detail.TCNUM, '产品查询')"> <td class="text-align-left font-weight cursorpointer" @click="goUrlT('productQuery', detail.TCNUM, '产品查询')">
{{detail.TCNUM}}({{detail.TCID}}) {{detail.TCNUM}}({{detail.TCID}})
</td> </td>
</tr>
<tr>
<td>{{$t('ios.ddanhao')}}</td> <td>{{$t('ios.ddanhao')}}</td>
<td colspan="3" class="w600 text-align-left font-weight cursorpointer"> <td class="text-align-left font-weight cursorpointer">
<span @click="goUrlO(detail.OrderId)">{{detail.OrderId}}</span> <span @click="goUrlO(detail.OrderId)">{{detail.OrderId}}</span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td>{{$t('ios.cwdanju')}}</td> <td>{{$t('ios.cwdanju')}}</td>
<td colspan="3" class="w600 text-align-left font-weight cursorpointer"> <td colspan="3" class="w600 text-align-left font-weight cursorpointer">
<template v-for="item in orderList.FrIDs"> <template v-for="item in orderList.FrIDs">
<span @click="goUrlSFD('SalesFinancialDetail', '销售财务单据', detail.OrderId, detail.TCNUM, detail.TCID)">{{item}}</span> <span @click="goUrlSFD('SalesFinancialDetail', '销售财务单据', detail.OrderId, detail.TCNUM, detail.TCID)">{{item}}</span>
</template> </template>
<span v-if="orderList.FrIDs && orderList.FrIDs.length<1">{{$t('ios.zanwu')}}</span> <span v-if="orderList.FrIDs && orderList.FrIDs.length<1">{{$t('ios.zanwu')}}</span>
</td> </td>
...@@ -329,9 +329,13 @@ ...@@ -329,9 +329,13 @@
</tr> </tr>
<tr> <tr>
<td>{{$t('hotel.hotel_remark')}}</td> <td>{{$t('hotel.hotel_remark')}}</td>
<td colspan="3"> <td>
{{detail.Remarks}} {{detail.Remarks}}
</td> </td>
<td>预计到账时间</td>
<td style="width: 190px;">
{{detail.AccountingDate}}
</td>
</tr> </tr>
</table> </table>
<el-dialog :title="$t('pub.hintMsg')" width="400px" :visible.sync="dialogFormVisible2" center :before-close="closeChangeMachie" > <el-dialog :title="$t('pub.hintMsg')" width="400px" :visible.sync="dialogFormVisible2" center :before-close="closeChangeMachie" >
...@@ -422,7 +426,7 @@ ...@@ -422,7 +426,7 @@
</div> </div>
<div class="shangchuanfujian"><button class="hollowFixedBtn" @click="upLoadFuJian">上传附件</button></div> <div class="shangchuanfujian"><button class="hollowFixedBtn" @click="upLoadFuJian">上传附件</button></div>
</div> </div>
</div> </div>
<div class="querenhan"> <div class="querenhan">
<p >确认函</p> <p >确认函</p>
<div style="width:100%;" > <div style="width:100%;" >
...@@ -462,7 +466,7 @@ ...@@ -462,7 +466,7 @@
<script> <script>
export default { export default {
data() { data() {
return { return {
detail: {}, detail: {},
orderList: {}, orderList: {},
loading: true, loading: true,
...@@ -518,7 +522,7 @@ export default { ...@@ -518,7 +522,7 @@ export default {
let path = "/Upload/Temporary/" let path = "/Upload/Temporary/"
this.$message.info('上传中...') this.$message.info('上传中...')
this.UploadSelfFileT(path, newArr, x => { this.UploadSelfFileT(path, newArr, x => {
let fileSize = file.file.size<1024? file.file.size:(file.file.size / 1024).toFixed(0); let fileSize = file.file.size<1024? file.file.size:(file.file.size / 1024).toFixed(0);
this.saveMsg.push({ this.saveMsg.push({
Type: fileTypeNumber, Type: fileTypeNumber,
Content: x.data.FilePath, Content: x.data.FilePath,
...@@ -569,7 +573,7 @@ export default { ...@@ -569,7 +573,7 @@ export default {
this.$router.push({ name: 'enrollTotal', query: { id: OrderId, blank: 'y', tab: '报名统计'} }); this.$router.push({ name: 'enrollTotal', query: { id: OrderId, blank: 'y', tab: '报名统计'} });
}, },
goUrlT: function (path, obj, title){ // 跳转团页面 goUrlT: function (path, obj, title){ // 跳转团页面
this.$router.push({ name:path,query:{"id":obj,blank:'y',tab:title}}) this.$router.push({ name:path,query:{"id":obj,blank:'y',tab:title}})
}, },
goSaleFinacial: function () { // 跳转销售财务单据 goSaleFinacial: function () { // 跳转销售财务单据
let obj = { let obj = {
...@@ -604,7 +608,7 @@ export default { ...@@ -604,7 +608,7 @@ export default {
}); });
},1000) },1000)
} }
} }
}, null) }, null)
}, },
......
...@@ -140,6 +140,12 @@ ...@@ -140,6 +140,12 @@
element-loading-background="rgba(0, 0, 0, 0.7)"> element-loading-background="rgba(0, 0, 0, 0.7)">
<div class="contForm"> <div class="contForm">
<el-form :model="addMsg" ref="addMsg" label-position="right" :rules="rules" label-width="100px"> <el-form :model="addMsg" ref="addMsg" label-position="right" :rules="rules" label-width="100px">
<li>
<el-form-item label="身份证号码" prop="IdCard">
<el-input v-model="addMsg.IdCard" type="text" size=mini class="w230" maxlength="50" placeholder="请填写" @blur.prevent="authentication()">
</el-input>
</el-form-item>
</li>
<li> <li>
<el-form-item label="中文姓" prop="SurName"> <el-form-item label="中文姓" prop="SurName">
<el-input v-model='addMsg.SurName' class="w230" @input="Transformation(addMsg.SurName,'SurName')" <el-input v-model='addMsg.SurName' class="w230" @input="Transformation(addMsg.SurName,'SurName')"
...@@ -235,12 +241,7 @@ ...@@ -235,12 +241,7 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
</li> </li>
<li>
<el-form-item label="身份证号码" prop="IdCard">
<el-input v-model="addMsg.IdCard" type="text" size=mini class="w230" maxlength="50" placeholder="请填写">
</el-input>
</el-form-item>
</li>
<li> <li>
<el-form-item label="家庭详细地址" prop="AddressDetail"> <el-form-item label="家庭详细地址" prop="AddressDetail">
...@@ -1904,7 +1905,36 @@ ...@@ -1904,7 +1905,36 @@
err => {} err => {}
); );
}, },
authentication() {
if (this.$route.query.guestId == 0) {
this.apipost(
"sellorder_post_GetGusetByIDCard",
{IdCard: this.addMsg.IdCard,},
res => {
if (res.data.resultCode == 1) {
let obj = res.data.data;
this.addMsg = obj;
this.addMsg.Sex = obj.Sex.toString();
this.addMsg.Marriage = obj.Marriage.toString();
if (this.addMsg.Marriage == "0") {
this.addMsg.Marriage = "";
}
this.addMsg.IsCriminalRecord = obj.IsCriminalRecord === null ? '' : obj.IsCriminalRecord.toString();
this.addMsg.IsDepartureRecord = obj.IsDepartureRecord.toString();
this.addMsg.Id = this.$route.query.guestId;
this.addMsg.TCID = this.$route.query.TCID;
this.addMsg.OrderId = this.$route.query.orderId;
this.Roominformation() //调取下房间信息
} else {
this.$message.error(res.data.message);
}
},
err => {
}
);
}
}
}, },
mounted() { mounted() {
this.getCountry(); this.getCountry();
......
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