|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="main-container-text">
|
|
|
|
|
<div class="title">试剂管理</div>
|
|
|
|
|
<div class="title">{{ $store.state.app.title }}管理</div>
|
|
|
|
|
<div class="header">
|
|
|
|
|
<el-select v-model="client_id" clearable placeholder="请选择柜体">
|
|
|
|
|
<el-option
|
|
|
|
@ -10,10 +10,10 @@
|
|
|
|
|
:value="item.client_id"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
<el-input v-model="name" clearable placeholder="请输入试剂名称" />
|
|
|
|
|
<el-input v-model="name" clearable placeholder="请输入名称" />
|
|
|
|
|
<el-button type="primary" icon="el-icon-search" @click="getList">搜索</el-button>
|
|
|
|
|
<el-button type="primary" plain @click="handleSetEmpty"><svg-icon icon-class="cup" /> 设为空瓶</el-button>
|
|
|
|
|
<el-button icon="el-icon-edit" @click="handleEdit">编辑试剂</el-button>
|
|
|
|
|
<el-button icon="el-icon-edit" @click="handleEdit">编辑{{ $store.state.app.title }}</el-button>
|
|
|
|
|
<el-button @click="showHistory"><svg-icon icon-class="流转" /> 查看流转记录</el-button>
|
|
|
|
|
<el-button icon="el-icon-user" @click="handleDisable">分配禁用用户</el-button>
|
|
|
|
|
<div class="header-right">
|
|
|
|
@ -247,7 +247,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</el-dialog>
|
|
|
|
|
<el-dialog :visible.sync="dialogEditVisible" :close-on-click-modal="false" width="60%" title="编辑试剂" @close="onClose">
|
|
|
|
|
<el-dialog :visible.sync="dialogEditVisible" :close-on-click-modal="false" width="60%" :title="`编辑${$store.state.app.title}`" @close="onClose">
|
|
|
|
|
<el-row :gutter="15">
|
|
|
|
|
<el-form ref="elForm" :model="formData" :rules="rules" size="medium" label-width="110px">
|
|
|
|
|
<el-col :span="24">
|
|
|
|
@ -669,7 +669,7 @@ export default {
|
|
|
|
|
// 编辑
|
|
|
|
|
handleEdit() {
|
|
|
|
|
if (this.multipleSelection.length !== 1) {
|
|
|
|
|
this.$message.warning('请选择一个需要编辑的试剂!')
|
|
|
|
|
this.$message.warning(`请选择一个需要编辑的${this.$store.state.app.title}!`)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
// 给form赋值
|
|
|
|
|