新增关键字搜索

yanshishuju
zane 7 months ago
parent 91ccc4569f
commit 23a5ec740f

@ -80,6 +80,26 @@
</template>
</el-row>
</el-form>
<div class="left-search" v-if="!showSearch">
<!-- 关键字搜索 按需配置 -->
<el-form v-if="queryList && queryList.length > 0" :model="filterQuery" class="query-form" size="mini" label-width="100px">
<el-row style=" display:flex; flex-wrap: wrap; ">
<template v-for="(item, index) in queryList">
<el-form-item v-if="item.columnType == 'input' && executeEval(row,item.expression,true) && item.columnName == 'keywords'"
class="query-form-item"
:label="item.columnDesc+`:`" :key="item.id">
<el-input
v-model="filterQuery[item.columnName]"
:placeholder="item.columnDesc"
:disabled="executeEval(null,item.disabledFuc,false)"
@keyup.enter.native="executeFuc($event,'5',item.clickFuc)"
clearable
></el-input>
</el-form-item>
</template>
</el-row>
</el-form>
</div>
<div class="top-right-btn">
<el-button-group>
<el-button icon="el-icon-view" type="primary" @click="hideSearch">/</el-button>
@ -268,7 +288,7 @@ export default {
tableObj: [],
fromList: [],
defaultSort: {prop: 'createTime', order: 'desc'},
showSearch: true,
showSearch: false,
filterQuery: {
workPlaceCode: null,
busType: null,

@ -105,6 +105,26 @@
</template>
</el-row>
</el-form>
<div class="left-search" v-if="!showSearch">
<!-- 关键字搜索 按需配置 -->
<el-form v-if="queryList && queryList.length > 0" :model="filterQuery" class="query-form" size="mini" label-width="100px">
<el-row style=" display:flex; flex-wrap: wrap; ">
<template v-for="(item, index) in queryList">
<el-form-item v-if="item.columnType == 'input' && executeEval(row,item.expression,true) && item.columnName == 'keywords'"
class="query-form-item"
:label="item.columnDesc+`:`" :key="item.id">
<el-input
v-model="filterQuery[item.columnName]"
:placeholder="item.columnDesc"
:disabled="executeEval(null,item.disabledFuc,false)"
@keyup.enter.native="executeFuc($event,'5',item.clickFuc)"
clearable
></el-input>
</el-form-item>
</template>
</el-row>
</el-form>
</div>
<div class="top-right-btn">
<el-button-group>
<el-button icon="el-icon-view" type="primary" @click="hideSearch">/</el-button>
@ -722,7 +742,7 @@ export default {
findWorkPlace: [],
},
showSearch: true,
showSearch: false,
filterQuery: {
fifoSplit: null,
workPlaceCode: null,

@ -81,6 +81,26 @@
</template>
</el-row>
</el-form>
<div class="left-search" v-if="!showSearch">
<!-- 关键字搜索 按需配置 -->
<el-form v-if="queryList && queryList.length > 0" :model="filterQuery" class="query-form" size="mini" label-width="100px">
<el-row style=" display:flex; flex-wrap: wrap; ">
<template v-for="(item, index) in queryList">
<el-form-item v-if="item.columnType == 'input' && executeEval(row,item.expression,true) && item.columnName == 'keywords'"
class="query-form-item"
:label="item.columnDesc+`:`" :key="item.id">
<el-input
v-model="filterQuery[item.columnName]"
:placeholder="item.columnDesc"
:disabled="executeEval(null,item.disabledFuc,false)"
@keyup.enter.native="executeFuc($event,'5',item.clickFuc)"
clearable
></el-input>
</el-form-item>
</template>
</el-row>
</el-form>
</div>
<div class="top-right-btn">
<el-button-group>
<el-button icon="el-icon-view" type="primary" @click="hideSearch">/</el-button>
@ -256,7 +276,7 @@ export default {
findWorkPlace: [],
},
showSearch: true,
showSearch: false,
filterQuery: {
busType: null,
fifoSplit: null,

@ -80,6 +80,26 @@
</template>
</el-row>
</el-form>
<div class="left-search" v-if="!showSearch">
<!-- 关键字搜索 按需配置 -->
<el-form v-if="queryList && queryList.length > 0" :model="filterQuery" class="query-form" size="mini" label-width="100px">
<el-row style=" display:flex; flex-wrap: wrap; ">
<template v-for="(item, index) in queryList">
<el-form-item v-if="item.columnType == 'input' && executeEval(row,item.expression,true) && item.columnName == 'keywords'"
class="query-form-item"
:label="item.columnDesc+`:`" :key="item.id">
<el-input
v-model="filterQuery[item.columnName]"
:placeholder="item.columnDesc"
:disabled="executeEval(null,item.disabledFuc,false)"
@keyup.enter.native="executeFuc($event,'5',item.clickFuc)"
clearable
></el-input>
</el-form-item>
</template>
</el-row>
</el-form>
</div>
<div class="top-right-btn">
<el-button-group>
<el-button icon="el-icon-s-unfold" type="primary" @click="createOrder('out')" v-if="splitType == 'out'"></el-button>
@ -737,7 +757,7 @@ export default {
total: 0,
radioCheck: false,
currentRow: {},
showSearch: true,
showSearch: false,
titleMap: {
out: "工位上货",
return: "工位退货",
@ -754,7 +774,7 @@ export default {
limit: 10,
startTime: null,
endTime: null,
keyWords: null,
keywords: null,
// invCode: this.$store.getters.locInvCode,
vueType: null,
},

Loading…
Cancel
Save