药剂管理状态筛选

duizhaopin_ui
tangxuan 2 years ago
parent d00866a2ef
commit a1eff05532

@ -12,6 +12,13 @@
</el-select> </el-select>
<el-input v-model="name" clearable placeholder="请输入搜索名称" /> <el-input v-model="name" clearable placeholder="请输入搜索名称" />
<el-input v-model="b_code" clearable placeholder="请输入搜索试剂编码" /> <el-input v-model="b_code" clearable placeholder="请输入搜索试剂编码" />
<el-select v-model="search_status" placeholder="请选择状态">
<el-option key="0" label="无" value="0" />
<el-option key="1" label="在库" value="1" />
<el-option key="2" label="出库" value="2" />
<el-option key="4" label="待登记" value="4" />
<el-option key="5" label="预备入库" value="5" />
</el-select>
<el-button type="primary" icon="el-icon-search" @click="getList"></el-button> <el-button type="primary" icon="el-icon-search" @click="getList"></el-button>
<el-button type="primary" plain @click="handleSetEmpty"> <el-button type="primary" plain @click="handleSetEmpty">
<svg-icon icon-class="cup" /> <svg-icon icon-class="cup" />
@ -685,6 +692,7 @@ export default {
client_id: null, client_id: null,
name: null, name: null,
b_code: null, b_code: null,
search_status: "",
multipleSelection: [], multipleSelection: [],
tableData: [], tableData: [],
loading: true, loading: true,
@ -968,7 +976,8 @@ export default {
page_size: this.page_size, page_size: this.page_size,
client_id: this.client_id, client_id: this.client_id,
seach_word: this.name, seach_word: this.name,
b_code: this.b_code b_code: this.b_code,
search_status: this.search_status
} }
drug_list(stringify(data)).then(res => { drug_list(stringify(data)).then(res => {
this.tableData = res.data.data this.tableData = res.data.data

Loading…
Cancel
Save