1.修复前方需求计划管理船号查询条件输入不过滤问题

2.修复前方需求计划查询条件无法携带船号问题
master
董哲奇 8 months ago
parent 4c09464f96
commit bb592bf087

@ -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)
}

Loading…
Cancel
Save