|
@ -1,9 +1,11 @@
|
|
|
Vue.component('comC',{
|
|
|
template:' <div class="tab3">\
|
|
|
<template>\
|
|
|
<span>检查/检验:</span> <el-select v-model="value" placeholder="请选择">\
|
|
|
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">\
|
|
|
</el-option>\
|
|
|
<span>检查/检验:</span> \
|
|
|
<div class="modelSearch" >\
|
|
|
<el-input paceholder="请输入药品名称" v-model="inspect">\
|
|
|
</el-input>\
|
|
|
</div>\
|
|
|
</el-select> <a href="#">查看字典</a>\
|
|
|
<el-date-picker v-model="value4" type="month" placeholder="选择时间">\
|
|
|
</el-date-picker>\
|
|
@ -44,11 +46,10 @@ data: function () {
|
|
|
currentPage: 1, //初始页
|
|
|
pageSize: 10, // 每页的数据
|
|
|
tableData: [],
|
|
|
options:[],
|
|
|
pageSizeArr: [10, 20, 30, 50],
|
|
|
total: 0,
|
|
|
value4:new Date(getLastMonthStartDate()),
|
|
|
value:'',
|
|
|
inspect:''
|
|
|
}
|
|
|
|
|
|
},
|
|
@ -78,7 +79,7 @@ methods: {
|
|
|
month:this.value4.format('yyyy-MM'),
|
|
|
size: 15,
|
|
|
page: 1,
|
|
|
inspect:8,
|
|
|
inspect:this.inspect,
|
|
|
}
|
|
|
GlobalEventBus.$emit('setLoading', {
|
|
|
loading: true
|