|
|
@ -1,7 +1,7 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<el-card>
|
|
|
|
<el-card>
|
|
|
|
<el-form v-if="queryList && queryList.length > 0" :model="filterQuery" label-width="120px" v-show="showSearch">
|
|
|
|
<el-form v-if="queryList && queryList.length > 0" :model="filterQuery" label-width="120px">
|
|
|
|
<!-- <el-row>-->
|
|
|
|
<!-- <el-row>-->
|
|
|
|
<!-- <el-col :span="6">-->
|
|
|
|
<!-- <el-col :span="6">-->
|
|
|
|
<!-- <el-form-item label="供应商:">-->
|
|
|
|
<!-- <el-form-item label="供应商:">-->
|
|
|
@ -85,6 +85,7 @@
|
|
|
|
<!-- </el-row>-->
|
|
|
|
<!-- </el-row>-->
|
|
|
|
<el-row style=" display:flex; flex-wrap: wrap; ">
|
|
|
|
<el-row style=" display:flex; flex-wrap: wrap; ">
|
|
|
|
<template v-for="(item, index) in queryList" >
|
|
|
|
<template v-for="(item, index) in queryList" >
|
|
|
|
|
|
|
|
<div v-if="showSearch || item.isImport">
|
|
|
|
<el-form-item v-if="item.columnType == 'input' && executeEval(row,item.expression,true)" :label="item.columnDesc+`:`" :key="item.id">
|
|
|
|
<el-form-item v-if="item.columnType == 'input' && executeEval(row,item.expression,true)" :label="item.columnDesc+`:`" :key="item.id">
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
|
v-model="filterQuery[item.columnName]"
|
|
|
|
v-model="filterQuery[item.columnName]"
|
|
|
@ -150,6 +151,7 @@
|
|
|
|
:placeholder="item.columnDesc"
|
|
|
|
:placeholder="item.columnDesc"
|
|
|
|
></el-date-picker>
|
|
|
|
></el-date-picker>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
@ -157,7 +159,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<div class="top-right-btn">
|
|
|
|
<div class="top-right-btn">
|
|
|
|
<el-button-group style="display:flex;">
|
|
|
|
<el-button-group style="display:flex;">
|
|
|
|
<el-button icon="el-icon-view" type="primary" @click="hideSearch">显示/隐藏搜索栏</el-button>
|
|
|
|
<el-button icon="el-icon-view" type="primary" @click="hideSearch">高级查询</el-button>
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="onReset">重置</el-button>
|
|
|
|
<el-button type="primary" icon="el-icon-refresh" @click="onReset">重置</el-button>
|
|
|
|
<el-button type="primary" icon="el-icon-search" @click="search">查询</el-button>
|
|
|
|
<el-button type="primary" icon="el-icon-search" @click="search">查询</el-button>
|
|
|
|
<el-button type="primary" icon="search" @click="lockProducts('3')" v-if="isSpCombine">锁定</el-button>
|
|
|
|
<el-button type="primary" icon="search" @click="lockProducts('3')" v-if="isSpCombine">锁定</el-button>
|
|
|
@ -346,7 +348,7 @@ import {
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: false,
|
|
|
|
filterQuery: {
|
|
|
|
filterQuery: {
|
|
|
|
lockStatus: null,
|
|
|
|
lockStatus: null,
|
|
|
|
unionCode: null,
|
|
|
|
unionCode: null,
|
|
|
|