|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
<div>
|
|
|
|
|
<el-card>
|
|
|
|
|
<el-form v-if="queryList && queryList.length > 0" :model="filterQuery" size="mini" label-width="120px"
|
|
|
|
|
v-show="showSearch">
|
|
|
|
|
>
|
|
|
|
|
<!-- <el-row>-->
|
|
|
|
|
<!-- <el-col :span="6">-->
|
|
|
|
|
<!-- <el-form-item label="物资编码:">-->
|
|
|
|
@ -61,6 +61,7 @@
|
|
|
|
|
<!-- </el-row>-->
|
|
|
|
|
<el-row style=" display:flex; flex-wrap: wrap; ">
|
|
|
|
|
<template v-for="(item, index) in queryList">
|
|
|
|
|
<div v-if="showSearch || item.isImport">
|
|
|
|
|
<el-form-item
|
|
|
|
|
v-if="item.columnType == 'input' && item.columnName !='queryName' && executeEval(row,item.expression,true)"
|
|
|
|
|
:label="item.columnDesc+`:`" :key="item.id">
|
|
|
|
@ -152,12 +153,13 @@
|
|
|
|
|
:placeholder="item.columnDesc"
|
|
|
|
|
></el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-row>
|
|
|
|
|
</el-form>
|
|
|
|
|
<div class="top-right-btn">
|
|
|
|
|
<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-search" @click="search">查询</el-button>
|
|
|
|
|
<el-button type="primary" icon="el-icon-bottom-right" @click="selectProduct()">选入</el-button>
|
|
|
|
@ -550,7 +552,7 @@ import {getAdminId, getToken} from '@/utils/auth';
|
|
|
|
|
export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
showSearch: true,
|
|
|
|
|
showSearch: false,
|
|
|
|
|
filterQuery: {
|
|
|
|
|
unionCode: null,
|
|
|
|
|
udiCode: null,
|
|
|
|
@ -564,7 +566,8 @@ export default {
|
|
|
|
|
thrPiId: null,
|
|
|
|
|
filterType: null,
|
|
|
|
|
auditStatus: null,
|
|
|
|
|
productType: 2
|
|
|
|
|
productType: 2,
|
|
|
|
|
keyWords:""
|
|
|
|
|
},
|
|
|
|
|
idSpliUdi: false,
|
|
|
|
|
newType: 2,
|
|
|
|
@ -722,7 +725,8 @@ export default {
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 20,
|
|
|
|
|
addType: 1,
|
|
|
|
|
productType: 2
|
|
|
|
|
productType: 2,
|
|
|
|
|
keyWords:""
|
|
|
|
|
};
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|