11/15 物资字典维护

dev_unify
wangwei 8 months ago
parent 6d393081ff
commit f5f189d711

@ -42,10 +42,11 @@
:model="filterQuery"
size="mini"
label-width="100px"
v-show="showSearch"
>
<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' && executeEval(row,item.expression,true)"
:label="item.columnDesc+`:`" :key="item.id">
<el-input
@ -113,6 +114,7 @@
:placeholder="item.columnDesc"
></el-date-picker>
</el-form-item>
</div>
</template>
</el-row>
<!-- <el-row>-->
@ -255,7 +257,7 @@
<div class="top-right-btn">
<el-button-group>
<el-button icon="el-icon-view" type="primary" @click="hideSearch"
>显示/隐藏搜索栏
>高级查询
</el-button>
<el-button type="primary" icon="el-icon-refresh" @click="onReset"
>重置
@ -1867,7 +1869,7 @@ export default {
selectHospProductVisible: false,
selectUnBindHospProductVisible: false,
loading: false,
showSearch: true,
showSearch: false,
productType: null,
editQuery: null,
editFormat: {},
@ -1992,6 +1994,7 @@ export default {
page: 1,
limit: 20,
addType: 1,
productsType: 1
};
this.getList();
},

@ -1,7 +1,7 @@
<template>
<div>
<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-col :span="6">-->
<!-- <el-form-item label="供应商:">-->
@ -85,6 +85,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' && executeEval(row,item.expression,true)" :label="item.columnDesc+`:`" :key="item.id">
<el-input
v-model="filterQuery[item.columnName]"
@ -150,6 +151,7 @@
:placeholder="item.columnDesc"
></el-date-picker>
</el-form-item>
</div>
</template>
</el-row>
</el-form>
@ -157,7 +159,7 @@
<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="search" @click="lockProducts('3')" v-if="isSpCombine"></el-button>
@ -342,7 +344,7 @@ import {
export default {
data() {
return {
showSearch: true,
showSearch: false,
filterQuery: {
lockStatus: null,
unionCode: null,
@ -358,6 +360,7 @@ export default {
filterType: null,
companyName: null,
unitFk: null,
productType: 1
},
fromOptions: [],
editQuery: null,
@ -431,6 +434,7 @@ export default {
page: 1,
limit: 20,
addType: 1,
productType: 1
};
this.total = 0;
this.list = [];

Loading…
Cancel
Save