|
@@ -1,13 +1,66 @@
|
|
|
<!-- -->
|
|
|
<template>
|
|
|
<div class="">
|
|
|
- 库存查询
|
|
|
+ <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 #bg>
|
|
|
+ <tables :requestApi="CompanyTree" :columns="columns" :initParam="initParam">
|
|
|
+ <template #right="{ row }">
|
|
|
+ <el-button type="primary">编辑</el-button>
|
|
|
+ <el-button type="danger">删除</el-button>
|
|
|
+ </template>
|
|
|
+ </tables>
|
|
|
+ </template>
|
|
|
+ </bg>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
-<script setup>
|
|
|
+<script setup lang="ts">
|
|
|
+import searchAdd from "@/components/searchAdd.vue";
|
|
|
+import { CompanyTree } from "@/api/index";
|
|
|
+import tables from "@/components/table.vue";
|
|
|
+import bg from '@/components/bg.vue'
|
|
|
+
|
|
|
+// 渲染表格
|
|
|
+const columns: any = [
|
|
|
+ { type: 'index', label: '编号', width: 80, },
|
|
|
+ { 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: 200, },
|
|
|
+ { 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: 150 },
|
|
|
+ { prop: 'T_D_name', label: '类型', width: 80 },
|
|
|
+ { 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: 150 },
|
|
|
+ { 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: 150 },
|
|
|
+ { prop: 'T_D_name', label: '入/出库日期', width: 150, },
|
|
|
+ { prop: 'operation', label: '操作', fixed: 'right', 'min-width': 200 }
|
|
|
+]
|
|
|
+//请求参数
|
|
|
+const initParam = { T_name: '' }
|
|
|
+
|
|
|
+/**
|
|
|
+ *
|
|
|
+ * @param val 子传值
|
|
|
+ */
|
|
|
+const eventFn = (val: any) => {
|
|
|
+ console.log('/', val);
|
|
|
+}
|
|
|
</script>
|
|
|
<style lang="scss">
|
|
|
/* @import url(); 引入css类 */
|
|
|
-
|
|
|
</style>
|