kongzy
2024-07-01 47a751cb301d05276ae5d75145d57b2d090fe4e1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
        PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jsp/jstl/core">
<head></head>
<ui:composition>
    <h:form id="laboratoryReagentReserveMngForm">
        <p:panel styleClass="center-header">
            <p:outputLabel styleClass="title" value="实验室试剂库存"></p:outputLabel>
 
            <p:panelGrid styleClass="filter" columns="7">
                <p:outputLabel value="试剂名称:"></p:outputLabel>
                <p:inputText value="#{laboratoryReagentReserveController.reagentName}"></p:inputText>
 
                <p:outputLabel value="实验室名称:"></p:outputLabel>
                <p:inputText value="#{laboratoryReagentReserveController.labName}"></p:inputText>
 
                <p:commandLink styleClass="search" process="@form" update="@form"></p:commandLink>
            </p:panelGrid>
        </p:panel>
        <p:panel styleClass="center-body">
            <p:dataTable id="laboratoryReagentReserveDataTable" styleClass="data-table"
                         paginator="true" paginatorAlwaysVisible="false" paginatorPosition="bottom"
                         lazy="true" value="#{laboratoryReagentReserveController.dataModel}" var="row" rowKey="#{row.id}"
                         emptyMessage="无数据" selection="#{laboratoryReagentReserveController.selectedList}"
                         rows="20" pageLinks="5">
                <p:column selectionMode="multiple" style="width: 30px;text-align: center;"/>
                <p:column headerText="实验室">
                    <h:outputText value="#{row.laboratoryName}"></h:outputText>
                </p:column>
                <p:column headerText="试剂柜">
                    <h:outputText value="#{row.containerName}"></h:outputText>
                </p:column>
                <p:column headerText="试剂">
                    <h:outputText value="#{row.sysReagent.name}"></h:outputText>
                </p:column>
                <p:column headerText="cas">
                    <h:outputText value="#{row.sysReagent.cas}"></h:outputText>
                </p:column>
                <p:column headerText="厂家">
                    <h:outputText
                            value="#{row.sysReagent.productHome}"></h:outputText>
                </p:column>
                <p:column headerText="供应商">
                    <h:outputText value="#{row.sysReagent.supplierName}"></h:outputText>
                </p:column>
                <p:column headerText="规格">
                    <h:outputText
                            value="#{row.sysReagent.reagentFormat}"></h:outputText>
                </p:column>
 
                <p:column headerText="包装">
                    <h:outputText
                            value="#{''.concat(row.sysReagent.mainMetering).concat(row.sysReagent.reagentUnit)}"></h:outputText>
                </p:column>
                <p:column headerText="存量">
                    <h:outputText value="#{row.reserve}"></h:outputText>
                </p:column>
            </p:dataTable>
        </p:panel>
    </h:form>
 
</ui:composition>
</html>