From acd2fbfdd949d314ba6f0b85e28b67689d0a62ef Mon Sep 17 00:00:00 2001
From: gdg <764716047@qq.com>
Date: 星期二, 23 二月 2021 11:38:30 +0800
Subject: [PATCH] 修改传感器信息的图
---
src/main/webapp/warehouse_stock_mng.xhtml | 35 ++++++++++++++++++++++++++++++-----
1 files changed, 30 insertions(+), 5 deletions(-)
diff --git a/src/main/webapp/warehouse_stock_mng.xhtml b/src/main/webapp/warehouse_stock_mng.xhtml
index 4673d4e..71d49af 100644
--- a/src/main/webapp/warehouse_stock_mng.xhtml
+++ b/src/main/webapp/warehouse_stock_mng.xhtml
@@ -15,7 +15,10 @@
<div id ="showTab" style="display: none">
<h:form id="tmp">
<p:panel styleClass="center-body">
- <p:panelGrid columns="3" styleClass="btn">
+ <p:panelGrid columns="4" styleClass="btn">
+ <p:commandButton value="返回" styleClass="import-btn" process="@form"
+ actionListener="#{warehouseStockMngController.hide}"
+ update="@(.tempTable)"/>
<p:commandButton value="删除" styleClass="del-btn" process="@form"
actionListener="#{warehouseStockMngController.cancel}"
update="@(.tempTable)"/>
@@ -79,7 +82,7 @@
<br/>
<h:form id="warehouseStockMngForm">
<p:panel styleClass="center-header">
- <p:panelGrid styleClass="filter" columns="7">
+ <p:panelGrid styleClass="filter" columns="9">
<p:outputLabel value="试剂名称:"></p:outputLabel>
<p:inputText value="#{warehouseStockMngController.reagentId}"></p:inputText>
@@ -90,6 +93,9 @@
<f:selectItems value="#{warehouseStockMngController.supplierSelectList}"
var="item" itemLabel="#{item.name}" itemValue="#{item.id}"></f:selectItems>
</p:selectOneMenu>
+
+ <p:outputLabel value="仓库名:"></p:outputLabel>
+ <p:inputText value="#{warehouseStockMngController.warehouseName}"></p:inputText>
<p:outputLabel value="产品编号:"></p:outputLabel>
<p:inputText value="#{warehouseStockMngController.productSn}"></p:inputText>
@@ -193,7 +199,11 @@
<div id ="showTabOrder" style="display: none">
<h:form id="tmpOrder" styleClass="tmpOrder">
<p:panel styleClass="center-body">
- <p:panelGrid columns="3" styleClass="btn">
+ <p:panelGrid columns="4" styleClass="btn">
+ <p:commandButton value="返回" styleClass="import-btn" process="@form"
+ actionListener="#{warehouseStockMngController.hideOrderTmp}"
+ update="@(.tmpOrder)"
+ />
<p:commandButton value="删除" styleClass="del-btn" process="@form"
actionListener="#{warehouseStockMngController.cancelOrderTmp}"
update="@(.tmpOrder)"
@@ -345,7 +355,15 @@
</div>
<h:form id="warehouseStockMngFormForPerson">
<p:panel styleClass="center-header" style="border-bottom:none;">
- <p:panelGrid styleClass="filter" columns="12">
+ <p:panelGrid styleClass="filter" columns="14">
+ <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:inputText value="#{warehouseStockMngController.reagentId}"></p:inputText>
@@ -356,12 +374,19 @@
<p:outputLabel value="产品编号:"></p:outputLabel>
<p:inputText value="#{warehouseStockMngController.productSn}"></p:inputText>
<p:outputLabel value="状态:"></p:outputLabel>
- <p:selectOneMenu value="#{warehouseStockMngController.status}">
+ <p:selectOneMenu value="#{warehouseStockMngController.status}" style="width: 60px;">
<f:selectItem itemLabel="全部" noSelectionOption="true"></f:selectItem>
<f:selectItems value="#{warehouseStockMngController.statusSelectList}" var="item"
itemLabel="#{item.text}" itemValue="#{item.key}"></f:selectItems>
</p:selectOneMenu>
+ <p:outputLabel value="已领用:"></p:outputLabel>
+ <p:selectOneMenu value="#{warehouseStockMngController.isAllApply}" style="width: 60px;">
+ <f:selectItem itemLabel="否" itemValue="0"/>
+ <f:selectItem itemLabel="是" itemValue="1"/>
+ <f:selectItem itemLabel="全部" noSelectionOption="true"/>
+ </p:selectOneMenu>
+
<p:commandLink styleClass="search" process="@form" update="@form"></p:commandLink>
</p:panelGrid>
</p:panel>
--
Gitblit v1.9.2