|
@@ -1,16 +1,18 @@
|
|
|
<!-- -->
|
|
|
<template>
|
|
|
- <div class="">
|
|
|
+ <div class="storageInquire">
|
|
|
<searchAdd isButtom="查询" istitle="疫苗批号" isPlaceholder="请输入疫苗批号" @event="eventFn">
|
|
|
- <template #searchBtn>
|
|
|
- <el-button type="primary">导出</el-button>
|
|
|
- <el-button type="success">下载</el-button>
|
|
|
- </template>
|
|
|
</searchAdd>
|
|
|
-
|
|
|
<bg istitle="库存统计列表">
|
|
|
+ <template #btn>
|
|
|
+ <el-button round :icon="Download">下载</el-button>
|
|
|
+ <el-button round :icon="Tickets">打印</el-button>
|
|
|
+ </template>
|
|
|
<template #bg>
|
|
|
<tables :requestApi="CompanyTree" :columns="columns" :initParam="initParam">
|
|
|
+ <template #T_State="{ row }">
|
|
|
+ <div style="width: 10px;height: 10px;border-radius: 50%;background: red;"></div>
|
|
|
+ </template>
|
|
|
<template #right="{ row }">
|
|
|
<el-button type="primary">编辑</el-button>
|
|
|
<el-button type="danger">删除</el-button>
|
|
@@ -26,6 +28,7 @@ import searchAdd from "@/components/searchAdd.vue";
|
|
|
import { CompanyTree } from "@/api/index";
|
|
|
import tables from "@/components/table.vue";
|
|
|
import bg from '@/components/bg.vue'
|
|
|
+import {Download,Tickets} from '@element-plus/icons-vue'
|
|
|
|
|
|
// 渲染表格
|
|
|
const columns: any = [
|
|
@@ -38,7 +41,7 @@ const columns: any = [
|
|
|
{ prop: 'T_D_name', label: '生产日期', width: 150 },
|
|
|
{ prop: 'T_D_name', label: '疫苗批号', width: 150 },
|
|
|
{ prop: 'T_D_name', label: '疫苗效期', width: 150 },
|
|
|
- { prop: 'T_D_name', label: '类型', width: 80 },
|
|
|
+ { prop: 'T_State', label: '类型', name: 'T_State', width: 80 },
|
|
|
{ prop: 'T_D_name', label: '收入数量', width: 150 },
|
|
|
{ prop: 'T_D_name', label: '发出数量', width: 150 },
|
|
|
{ prop: 'T_D_name', label: '结余数量', width: 150 },
|
|
@@ -63,4 +66,19 @@ const eventFn = (val: any) => {
|
|
|
</script>
|
|
|
<style lang="scss">
|
|
|
/* @import url(); 引入css类 */
|
|
|
+.storageInquire {
|
|
|
+ &-main {
|
|
|
+ margin-bottom: var(--y-margin);
|
|
|
+ background: var(--y-card-background);
|
|
|
+ border-radius: var(--y-radius);
|
|
|
+ display: flex;
|
|
|
+ gap: 60px;
|
|
|
+ &-bg {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|