修改房间搜索

duizhaopin_ui
13507605001 2 years ago
parent ade0c4ca14
commit e24f5c1fa6

@ -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 = {

@ -7,10 +7,10 @@
<el-select v-model="place" clearable placeholder="请输入搜索房间名称" style="padding-left:10px">
<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>
@ -72,12 +72,15 @@
<script>
import { stock_data_info } from '@/api/reagent/report'
import { dowload_stock_data_info, click_dowload } from '@/api/reagent/dowload_file'
import {
get_client_place
} from '@/api/reagent/client'
import stringify from '@/utils/stringify'
export default {
name: 'StoreInfo',
data() {
return {
options: [],
place:"",
client_id:"",
selectReagentValue: '',
@ -91,8 +94,16 @@ export default {
},
created() {
this.getStoreInfo()
this.getclientplace()
},
methods: {
getclientplace(){
get_client_place().then(
res => {
this.options =res.data
}
)
},
//
handleExport() {
const data = {

@ -6,10 +6,10 @@
<el-button @click="$router.push(`/${$store.getters.classification}/report/index`)"></el-button>
<el-select v-model="place" clearable placeholder="请输入搜索房间名称" style="padding-left:15px;padding-right: 15px;">
<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>
@ -80,11 +80,15 @@
import { drug_details_info } from '@/api/reagent/report'
import stringify from '@/utils/stringify'
import { dowload_drug_details_info, click_dowload } from '@/api/reagent/dowload_file'
import {
get_client_place
} from '@/api/reagent/client'
export default {
name: 'WarehousingInfo',
data() {
return {
options: [],
selectReagentValue: '',
client_id:'',
place:'',
@ -101,8 +105,16 @@ export default {
},
created() {
this.getStoreInfo()
this.getclientplace()
},
methods: {
getclientplace(){
get_client_place().then(
res => {
this.options =res.data
}
)
},
//
handleExport() {
const data = {

Loading…
Cancel
Save