feat(src/views/reagent/warehousing): 添加筛选功能

duizhaopin_ui
duan 2 years ago
parent 2f93ee1748
commit 91062dc322

@ -4,7 +4,7 @@
<div class="title">试剂入库</div> <div class="title">试剂入库</div>
<div class="header-select"> <div class="header-select">
<!-- <el-button>返回上一级</el-button>--> <!-- <el-button>返回上一级</el-button>-->
<el-select v-model="client_id" clearable placeholder="请选择柜体"> <el-select v-model="client_id" clearable placeholder="请选择柜体" @change="getTmpList">
<el-option <el-option
v-for="item in clientOptions" v-for="item in clientOptions"
:key="item.id" :key="item.id"
@ -320,11 +320,12 @@ export default {
} }
}) })
} }
},
clientOptions: function(newVal, oldVal) {
this.client_id = newVal[0].client_id
this.getTmpList()
} }
}, },
created() {
this.getTmpList()
},
methods: { methods: {
handleCloseToDB() { handleCloseToDB() {
this.client_id_input = '' this.client_id_input = ''

Loading…
Cancel
Save