Commit 9826c7d7 authored by 黄奎's avatar 黄奎

页面报错查询修改

parent 09e3c52f
...@@ -1414,7 +1414,7 @@ ...@@ -1414,7 +1414,7 @@
<li> <li>
<span> <span>
<em>{{$t('hotel.hotel_SerialNumber')}}</em> <em>{{$t('hotel.hotel_SerialNumber')}}</em>
<el-input v-model="msg.ID" :placeholder="$t('fnc.jpbianhao')"></el-input> <el-input v-model="msg.ID" :placeholder="$t('fnc.jpbianhao')" @keyup.native="checkInteger(msg,'ID')" maxlength="8" ></el-input>
</span> </span>
</li> </li>
<li> <li>
...@@ -2251,11 +2251,18 @@ ...@@ -2251,11 +2251,18 @@
}, },
getList() { getList() {
this.loading = true; this.loading = true;
if(this.msg.ID=="")
{
this.msg.ID=0;
}
this.apipost( this.apipost(
"AirTicket_get_GetERPAirTicketPageList", "AirTicket_get_GetERPAirTicketPageList",
this.msg, this.msg,
res => { res => {
this.loading = false; this.loading = false;
if(this.msg.ID==0) {
this.msg.ID="";
}
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.total = res.data.data.count; this.total = res.data.data.count;
this.dataList = res.data.data.pageData; this.dataList = res.data.data.pageData;
......
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