|
|
|
@ -8,7 +8,7 @@
|
|
|
|
|
<vxe-pulldown ref="xDown4" transfer >
|
|
|
|
|
<template #default>
|
|
|
|
|
<vxe-input
|
|
|
|
|
v-model="queryParam.dcch"
|
|
|
|
|
v-model="queryParam.dcCh"
|
|
|
|
|
placeholder="船号"
|
|
|
|
|
style="height: 28px;
|
|
|
|
|
line-height: 28px; width: 150px;"
|
|
|
|
@ -122,7 +122,7 @@ export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
queryParam: {
|
|
|
|
|
dcch:'',
|
|
|
|
|
dcCh:'',
|
|
|
|
|
xzglxq:'',
|
|
|
|
|
zt:'0'
|
|
|
|
|
},
|
|
|
|
@ -269,15 +269,15 @@ export default {
|
|
|
|
|
return cellValue
|
|
|
|
|
},
|
|
|
|
|
cellClickEvent({row}) {
|
|
|
|
|
this.queryParam.dcch = row.cbbm
|
|
|
|
|
this.queryParam.dcCh = row.cbbm
|
|
|
|
|
this.$refs.xDown4.hidePanel()
|
|
|
|
|
},
|
|
|
|
|
focusEvent4() {
|
|
|
|
|
this.$refs.xDown4.showPanel()
|
|
|
|
|
},
|
|
|
|
|
keyupEvent4() {
|
|
|
|
|
if (this.queryParam.dcch) {
|
|
|
|
|
this.projectData = this.projectData1.filter(row => row.cbbm.indexOf(this.queryParam.dcch.toUpperCase()) > -1)
|
|
|
|
|
if (this.queryParam.dcCh) {
|
|
|
|
|
this.projectData = this.projectData1.filter(row => row.cbbm.indexOf(this.queryParam.dcCh.toUpperCase()) > -1)
|
|
|
|
|
} else {
|
|
|
|
|
this.projectData = this.projectData1.slice(0)
|
|
|
|
|
}
|
|
|
|
|