From a1e90c3da21d88f994bac9c1feb91bf40e53a44d Mon Sep 17 00:00:00 2001
From: 李宇 <986321569@qq.com>
Date: 星期三, 18 八月 2021 13:01:21 +0800
Subject: [PATCH] 耗材无供应商也显示,申购管理试剂库、申请履历、收藏不显示无效试剂和无供应商试剂 可显示无供应商的耗材

---
 src/main/webapp/reagent_user_flow_info.xhtml |   23 +++++++++++++++++++++--
 1 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/reagent_user_flow_info.xhtml b/src/main/webapp/reagent_user_flow_info.xhtml
index a868bfc..835ed83 100644
--- a/src/main/webapp/reagent_user_flow_info.xhtml
+++ b/src/main/webapp/reagent_user_flow_info.xhtml
@@ -15,7 +15,15 @@
 			<p:outputLabel styleClass="title" value="试剂流向追踪"></p:outputLabel>
 
 			<p:panel styleClass="center-header">
-				<p:panelGrid styleClass="filter" columns="13">
+				<p:panelGrid styleClass="filter" columns="16">
+					<style type="text/css">
+						.ui-selectonemenu.ui-widget.ui-state-default.ui-corner-all{
+							min-width: 60px !important;
+						}
+						.ui-selectonemenu-items.ui-selectonemenu-list.ui-widget-content.ui-widget.ui-corner-all.ui-helper-reset{
+							width: 77px !important;
+						}
+					</style>
 					<p:outputLabel value="开始时间:"></p:outputLabel>
 					<p:calendar value="#{opeUseFlowInfoController.startDate}"></p:calendar>
 
@@ -33,6 +41,15 @@
 
 					<p:outputLabel value="场所名:"></p:outputLabel>
 					<p:inputText value="#{opeUseFlowInfoController.houseName}"></p:inputText>
+
+					<p:outputLabel value="操作状态:"></p:outputLabel>
+					<p:selectOneMenu value="#{opeUseFlowInfoController.operatestate}" style="width: 60px;">
+						<f:selectItem itemLabel="全部" itemValue="#{null}" noSelectionOption="true"></f:selectItem>
+						<f:selectItems value="#{baseMetaService.getBaseMetaList(constants.OPERATE_STATUS)}"
+									   var="item" itemLabel="#{item.metaValue}" itemValue="#{item.id}"></f:selectItems>
+					</p:selectOneMenu>
+
+
 					<p:commandLink styleClass="search" process="@form" update="@form"></p:commandLink>
 				</p:panelGrid>
 			</p:panel>
@@ -40,8 +57,10 @@
 
 
 		<p:panel styleClass="center-body">
-			<p:panelGrid columns="1" styleClass="btn">
+			<p:panelGrid columns="2" styleClass="btn">
 				<p:commandButton value="报废" styleClass="del-btn"  ajax="false" actionListener="#{opeUseFlowInfoController.scrapReagent}" />
+				<p:commandButton value="导出" styleClass="new-btn"  ajax="false" id="exportButton" widgetVar="exportButton"
+								 actionListener="#{opeUseFlowInfoController.export2Excel}" />
 			</p:panelGrid>
 			<p:dataTable id="reagentUseFlowInfoDataTable" styleClass="data-table"
 				paginator="true" paginatorAlwaysVisible="false" paginatorPosition="bottom"

--
Gitblit v1.9.2