| ... | ... | @@ -177,7 +177,7 @@ | 
|  |  |  | 
|  |  | <div class="btnFoot"> | 
|  |  | <el-row> | 
|  |  | <el-button type="primary" size="mini" v-if="preQuery.flightno !== undefined | preData.length >0" | 
|  |  | <el-button type="primary" size="mini" v-if="preQuery.flightno !== undefined || preData.length >0" | 
|  |  | @click="handleAddpreInfo">新增预配舱单 | 
|  |  | </el-button> | 
|  |  | <el-button type="primary" size="mini" @click="handelBackStep" | 
| ... | ... | @@ -250,9 +250,10 @@ | 
|  |  | <el-row class="flight-info"  style="padding-left: 90px;padding-right: 90px"> | 
|  |  | <el-col :span="6"> | 
|  |  | <el-form-item label="航班号" prop="flightno"> | 
|  |  | <el-input v-model="flightno" :disabled="fenStatus === 'addAwbh'"  style="width: 140px" clearable> | 
|  |  | <el-input v-model="flightno" @blur="transportQuery()" :disabled="fenStatus === 'addAwbh'"  style="width: 140px" clearable> | 
|  |  | </el-input> | 
|  |  | </el-form-item> | 
|  |  | <span id="message"></span> | 
|  |  | </el-col> | 
|  |  | <el-col :span="6"> | 
|  |  | <el-form-item label="航班日期" prop="flightdate"> | 
| ... | ... | @@ -261,6 +262,7 @@ | 
|  |  | style="width: 140px" | 
|  |  | v-model="preModel.flightdate" align="left" | 
|  |  | class="flight-date-tianbo" | 
|  |  | @blur="transportQuery()" | 
|  |  | type="date" placeholder="请输入航班日期" clearable/> | 
|  |  | </el-form-item> | 
|  |  | </el-col> | 
| ... | ... | @@ -791,7 +793,8 @@ | 
|  |  | import {getResponseForParam} from '@/api/responseDetail' | 
|  |  | import { getList} from '../../api/consigner/consigner'; | 
|  |  | import { getList as neeList} from '../../api/consigner/consignee'; | 
|  |  | import {getListHzTypeList} from '../../api/shipper/shipper' | 
|  |  | import {getListHzTypeList} from '../../api/shipper/shipper'; | 
|  |  | import {selectPredictionInterface} from '../../api/transport'; | 
|  |  | import { | 
|  |  | validAwb, | 
|  |  | validAlphabets, | 
| ... | ... | @@ -1412,8 +1415,9 @@ | 
|  |  | Message.error("获取货主列表失败") | 
|  |  | } | 
|  |  | }) | 
|  |  | this.preModel.carrier = this.preQuery.carrier | 
|  |  | this.preModel.flightno = this.preQuery.flightno | 
|  |  | if (this.preQuery.carrier !== undefined){ | 
|  |  | this.preModel.flightno = this.preQuery.carrier+this.preQuery.flightno | 
|  |  | } | 
|  |  | this.preModel.flightdate = this.preQuery.flightdate | 
|  |  | this.preModel.originstation = this.preQuery.originstation | 
|  |  | this.preModel.destinationstation = this.preQuery.destinationstation | 
| ... | ... | @@ -1935,7 +1939,7 @@ | 
|  |  | form.append('enterpriseId', loginUserInfo.companyId); | 
|  |  | form.append("username", loginUserInfo.username); | 
|  |  | uploadFileExcel(form).then(res =>{ | 
|  |  | if(res.data.count >0){ | 
|  |  | if(res.data.code =='200'){ | 
|  |  | Message.success(res.data.respMessage) | 
|  |  | this.getList(); | 
|  |  | }else { | 
| ... | ... | @@ -1951,6 +1955,27 @@ | 
|  |  | userId(){ | 
|  |  | this.preModel.userId = loginUserInfo.userId; | 
|  |  | this.preModel.enterpriseId = loginUserInfo.companyId; | 
|  |  | }, | 
|  |  |  | 
|  |  | // 远程查询运输工具申报是否成功 | 
|  |  | transportQuery(){ | 
|  |  | if (this.preModel.flightno !== undefined && this.preModel.flightno !== '' | 
|  |  | && this.preModel.flightdate !== undefined && this.preModel.flightdate !== ''){ | 
|  |  | const params = { | 
|  |  | flightNo: this.preModel.flightno, | 
|  |  | flightDate: this.preModel.flightdate | 
|  |  | } | 
|  |  | selectPredictionInterface(params).then(res =>{ | 
|  |  | console.log(res.data.data+"-------------"); | 
|  |  | if(res.data.data != undefined && res.data.data != ""){ | 
|  |  | const span = document.getElementById("message"); | 
|  |  | span.innerHTML = res.data.data[0].statusMsg; | 
|  |  | }else { | 
|  |  | const span = document.getElementById("message"); | 
|  |  | span.innerHTML = "" | 
|  |  | } | 
|  |  | }) | 
|  |  | } | 
|  |  | } | 
|  |  | } | 
|  |  | } | 
... | ... |  |