|
@@ -1,30 +1,28 @@
|
|
|
<!-- -->
|
|
|
<template>
|
|
|
<div class="sellManage">
|
|
|
- <!-- <titles name="电池租用量/库存量统计"></titles> -->
|
|
|
- <el-form :inline="true" :model="formInline" class="demo-form-inline">
|
|
|
- <el-form-item label="疫苗名称">
|
|
|
- <el-input v-model="formInline.user" placeholder="疫苗名称" clearable />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="生产企业">
|
|
|
- <el-select v-model="formInline.region" placeholder="生产企业" clearable>
|
|
|
- <el-option label="Zone one" value="shanghai" />
|
|
|
- <el-option label="Zone two" value="beijing" />
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="疫苗批号">
|
|
|
- <el-input v-model="formInline.user" placeholder="疫苗批号" clearable />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="疫苗效期">
|
|
|
- <el-date-picker v-model="formInline.date" type="date" placeholder="疫苗效期" clearable />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="出/入库日期">
|
|
|
- <el-date-picker v-model="formInline.date" type="date" placeholder="出/入库日期" clearable />
|
|
|
- </el-form-item>
|
|
|
- <el-form-item>
|
|
|
- <el-button type="primary">Query</el-button>
|
|
|
- </el-form-item>
|
|
|
- </el-form>
|
|
|
+ <searchAdd isButtom="添加" :inline="false">
|
|
|
+ <template #searchConter>
|
|
|
+ <el-form-item label="疫苗名称">
|
|
|
+ <el-input v-model="formInline.user" placeholder="疫苗名称" clearable />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="生产企业">
|
|
|
+ <el-select v-model="formInline.region" placeholder="生产企业" clearable>
|
|
|
+ <el-option label="Zone one" value="shanghai" />
|
|
|
+ <el-option label="Zone two" value="beijing" />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="疫苗批号">
|
|
|
+ <el-input v-model="formInline.user" placeholder="疫苗批号" clearable />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="疫苗效期">
|
|
|
+ <el-date-picker v-model="formInline.date" type="date" placeholder="疫苗效期" clearable />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="出/入库日期">
|
|
|
+ <el-date-picker v-model="formInline.date" type="date" placeholder="出/入库日期" clearable />
|
|
|
+ </el-form-item>
|
|
|
+ </template>
|
|
|
+ </searchAdd>
|
|
|
<tables :requestApi="CompanyTree" :columns="columns" :initParam="initParam" :dataCallback="dataCallback">
|
|
|
<template #right="{ row }">
|
|
|
<el-button link type="primary" size="small">编辑</el-button>
|
|
@@ -42,12 +40,15 @@
|
|
|
<script setup lang="ts">
|
|
|
import { reactive } from 'vue'
|
|
|
import tables from "@/components/table.vue";
|
|
|
+import searchAdd from "@/components/searchAdd.vue";
|
|
|
+
|
|
|
+
|
|
|
import titles from '@/components/titles.vue'
|
|
|
import { CompanyTree } from "@/api/index";
|
|
|
const formInline = reactive({
|
|
|
- user: '',
|
|
|
- region: '',
|
|
|
- date: '',
|
|
|
+ user: '',
|
|
|
+ region: '',
|
|
|
+ date: '',
|
|
|
})
|
|
|
|
|
|
// 渲染表格
|
|
@@ -56,24 +57,24 @@ const columns: any = [
|
|
|
{ prop: 'T_D_name', label: '疫苗名称', width: 200 },
|
|
|
{ prop: 'T_sn', label: '生产企业', width: 200 },
|
|
|
{ prop: 'T_D_name', label: '批准文号', width: 200 },
|
|
|
- { prop: 'T_sn', label: '批签发合格编号', width: 200 },
|
|
|
+ { prop: 'T_sn', label: '批签发合格编号', width: 200 },
|
|
|
|
|
|
- { prop: 'T_D_name', label: '规格(剂/支或粒)', width: 200 },
|
|
|
- { prop: 'T_sn', label: '生产日期', width: 200 },
|
|
|
+ { prop: 'T_D_name', label: '规格(剂/支或粒)', width: 200 },
|
|
|
+ { prop: 'T_sn', label: '生产日期', width: 200 },
|
|
|
{ prop: 'T_D_name', label: '疫苗批号', width: 200 },
|
|
|
{ prop: 'T_sn', label: '疫苗效期', width: 200 },
|
|
|
|
|
|
{ prop: 'T_D_name', label: '类型', width: 200 },
|
|
|
- { prop: 'T_sn', label: '收入数量' , width: 200 },
|
|
|
+ { prop: 'T_sn', label: '收入数量', width: 200 },
|
|
|
{ prop: 'T_D_name', label: '发出数量', width: 200 },
|
|
|
- { prop: 'T_sn', label: '结余数量', width: 200 },
|
|
|
+ { prop: 'T_sn', label: '结余数量', width: 200 },
|
|
|
{ prop: 'T_D_name', label: '单位', width: 200 },
|
|
|
- { prop: 'T_sn', label: '剂型', width: 200 },
|
|
|
+ { prop: 'T_sn', label: '剂型', width: 200 },
|
|
|
|
|
|
{ prop: 'T_D_name', label: '领苗人', width: 200 },
|
|
|
- { prop: 'T_sn', label: '发货单位' , width: 200 },
|
|
|
- { prop: 'T_D_name', label: '收货单位', width: 200 },
|
|
|
- { prop: 'T_sn', label: '入/出库日期' , width: 200 },
|
|
|
+ { prop: 'T_sn', label: '发货单位', width: 200 },
|
|
|
+ { prop: 'T_D_name', label: '收货单位', width: 200 },
|
|
|
+ { prop: 'T_sn', label: '入/出库日期', width: 200 },
|
|
|
{ prop: 'operation', label: '操作', fixed: 'right', width: 200 }
|
|
|
|
|
|
// { prop: 'T_State', label: '状态', name: 'T_State' },
|
|
@@ -90,8 +91,5 @@ const dataCallback = async () => {
|
|
|
/* @import url(); 引入css类 */
|
|
|
|
|
|
.sellManage {
|
|
|
- background: var(--y-card-background);
|
|
|
- padding: var(--y-padding);
|
|
|
- border-radius: var(--y-radius);
|
|
|
}
|
|
|
</style>
|