Commit 2046c747 authored by 华国豪's avatar 华国豪 🙄

修改bug、新增录入旅客名单线路id 等于14/1的时候必填身份证号码

parent 33986455
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,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> <li>
<el-form-item label="身份证号码" prop="IdCard"> <el-form-item label="身份证号码" :prop="(LineId === 14 || LineId === 2) ? 'IdCard' : ''">
<el-input v-model="addMsg.IdCard" type="text" size=mini class="w230" maxlength="50" placeholder="请填写" @blur.prevent="authentication()"> <el-input v-model="addMsg.IdCard" type="text" size=mini class="w230" maxlength="50" placeholder="请填写" @blur.prevent="authentication()">
</el-input> </el-input>
</el-form-item> </el-form-item>
...@@ -661,6 +661,11 @@ ...@@ -661,6 +661,11 @@
}, },
EconomicCapabilityS: [], EconomicCapabilityS: [],
rules: { rules: {
IdCard: [{
required: true,
message: "请填身份证号码",
trigger: "blur"
}],
SurName: [{ SurName: [{
required: true, required: true,
message: "请填写中文姓", message: "请填写中文姓",
...@@ -770,6 +775,7 @@ ...@@ -770,6 +775,7 @@
btnState: true, btnState: true,
roomlist:[], roomlist:[],
isOneDay: 0, isOneDay: 0,
LineId: 0,
}; };
}, },
methods: { methods: {
...@@ -1981,6 +1987,7 @@ ...@@ -1981,6 +1987,7 @@
this.GetGuestMustVisaAir(); this.GetGuestMustVisaAir();
this.getAccessToken(); this.getAccessToken();
this.isOneDay = this.$route.query.isOneDay; this.isOneDay = this.$route.query.isOneDay;
this.LineId = this.$route.query.LineId;
this.addMsg.TCID = this.$route.query.TCID; this.addMsg.TCID = this.$route.query.TCID;
this.addMsg.OrderId = this.$route.query.orderId; this.addMsg.OrderId = this.$route.query.orderId;
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
......
...@@ -2082,7 +2082,8 @@ ...@@ -2082,7 +2082,8 @@
QStartDate: '', QStartDate: '',
QEndDate: '', QEndDate: '',
PayStatus: '-1', PayStatus: '-1',
IsAirTicket: '2' IsAirTicket: '2',
IsOneDay: 0,
}, },
checkedObj: {}, checkedObj: {},
//返回数据 //返回数据
...@@ -2365,7 +2366,7 @@ ...@@ -2365,7 +2366,7 @@
}, },
// 获取统计数据 // 获取统计数据
getCount: function () { getCount: function () {
this.apipost('sellorder_get_GetTravelOrderListStatistics', this.msg, res => { this.apipost('sellorder_get_GetTravelOrderListStatistics_V2', this.msg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.countData = res.data.data this.countData = res.data.data
} else { } else {
......
...@@ -2072,7 +2072,8 @@ ...@@ -2072,7 +2072,8 @@
QStartDate: '', QStartDate: '',
QEndDate: '', QEndDate: '',
PayStatus: '-1', PayStatus: '-1',
IsAirTicket: '2' IsAirTicket: '2',
IsOneDay: 1,
}, },
checkedObj: {}, checkedObj: {},
//返回数据 //返回数据
...@@ -2355,7 +2356,7 @@ ...@@ -2355,7 +2356,7 @@
}, },
// 获取统计数据 // 获取统计数据
getCount: function () { getCount: function () {
this.apipost('sellorder_get_GetTravelOrderListStatistics', this.msg, res => { this.apipost('sellorder_get_GetTravelOrderListStatistics_V2', this.msg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.countData = res.data.data this.countData = res.data.data
} else { } else {
......
...@@ -89,6 +89,7 @@ ...@@ -89,6 +89,7 @@
isOrder: 0, isOrder: 0,
tableList: [], tableList: [],
isOneDay: 0, isOneDay: 0,
LineId: 0,
}; };
}, },
methods: { methods: {
...@@ -101,6 +102,7 @@ ...@@ -101,6 +102,7 @@
this.guestNum = res.data.data.GuestNum; this.guestNum = res.data.data.GuestNum;
this.tableList = res.data.data.list; this.tableList = res.data.data.list;
this.isOneDay = res.data.data.IsOneDay; this.isOneDay = res.data.data.IsOneDay;
this.LineId = res.data.data.LineId;
} else { } else {
this.$message.error(res.data.message) this.$message.error(res.data.message)
} }
...@@ -132,7 +134,8 @@ ...@@ -132,7 +134,8 @@
"TCID": this.msg.tcid, "TCID": this.msg.tcid,
"orderId": this.msg.id, "orderId": this.msg.id,
'guestId': guestId, 'guestId': guestId,
'isOneDay': this.isOneDay 'isOneDay': this.isOneDay,
'LineId': this.LineId,
} }
}); });
}, },
......
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