|
|
|
@ -6,10 +6,10 @@
|
|
|
|
|
<el-button @click="$router.push(`/${$store.getters.classification}/report/index`)">返回上一级</el-button>
|
|
|
|
|
<el-select v-model="place" clearable placeholder="请输入搜索房间名称">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in $store.getters.currentOptions"
|
|
|
|
|
:key="item.id"
|
|
|
|
|
:label="item.place"
|
|
|
|
|
:value="item.place"
|
|
|
|
|
v-for="(item, index) in options"
|
|
|
|
|
:key="index"
|
|
|
|
|
:label="item.value"
|
|
|
|
|
:value="item.value"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
|
@ -102,6 +102,9 @@
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import { drug_log_type_info } from '@/api/reagent/report'
|
|
|
|
|
import {
|
|
|
|
|
get_client_place
|
|
|
|
|
} from '@/api/reagent/client'
|
|
|
|
|
import { dowload_drug_log_type_info, click_dowload } from '@/api/reagent/dowload_file'
|
|
|
|
|
|
|
|
|
|
import stringify from '@/utils/stringify'
|
|
|
|
@ -110,6 +113,7 @@ export default {
|
|
|
|
|
name: 'Record',
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
options: [],
|
|
|
|
|
titleMap: {
|
|
|
|
|
'store': '入库记录',
|
|
|
|
|
'collect': '领用记录',
|
|
|
|
@ -138,9 +142,18 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
this.getclientplace()
|
|
|
|
|
this.getStoreInfo()
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
getclientplace(){
|
|
|
|
|
get_client_place().then(
|
|
|
|
|
res => {
|
|
|
|
|
this.options =res.data
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
},
|
|
|
|
|
// 导出
|
|
|
|
|
handleExport() {
|
|
|
|
|
const data = {
|
|
|
|
|