作者 zhangFan

页面部分修改

... ... @@ -728,14 +728,6 @@
this.detailData = res.data
})
},
// 发送舱单报
handleAwbSend() {
},
// 发送修改报
handleAwbEdit() {
},
//发送删除报
handleAwbDelete(row) {
this.$confirm("是否删除", "确认消息", {
... ... @@ -800,13 +792,11 @@
getAirportCode(){
getAirportCode().then(res=>{
this.airportCode = res.data.data
console.log(this.airportCode)
})
},
getCustomCode(){
getCustomCode().then(res =>{
this.customCodeList = res.data.data
console.log(this.customCodeList)
})
},
// 携数据跳转 新增运抵
... ...
... ... @@ -98,9 +98,6 @@
},
btnStatus: true,
listLoading: false,
countryOption: [],
countryList: [],
countryResultList: [],
airportList:[],
airportResultCode: [],
airportCode: [],
... ... @@ -127,15 +124,9 @@
mounted() {
// 延迟加载,否则会出错
setTimeout(() => {
this.countryResultList = this.countryList.map(item => {
return {value: item.countryCode, label: item.countryNameCn}
})
this.airportResultCode = this.airportCode.map(item =>{
return {label: item.airportdescchn,value: item.airportid}
})
console.log(this.airportResultCode)
}, 6000)
},
computed:{
... ... @@ -223,25 +214,12 @@
})
},
remoteMethod(query) {
// if (query !== '') {
// this.listLoading = true
// setTimeout(() => {
// this.listLoading = false
// this.countryOption = this.countryResultList.filter(item => {
// return item.value.toUpperCase().trim()
// .indexOf(query.toUpperCase()) > -1
// })
// }, 200)
// } else {
// this.countryOption = []
// }
if (query !== '') {
this.listLoading = true
setTimeout(() => {
this.listLoading = false
this.airportCode = this.airportResultCode.filter(item => {
return item.value.toUpperCase().trim()
.indexOf(query.toUpperCase()) > -1
return item.value.trim().indexOf(query.toUpperCase()) > -1
})
}, 200)
} else {
... ...