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

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

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