| | |
| | | xmlns:c="http://java.sun.com/jsp/jstl/core"> |
| | | <head></head> |
| | | <ui:composition> |
| | | |
| | | <h:form id="reagentUseFlowInfoForm"> |
| | | <p:panel styleClass="center-header"> |
| | | <p:outputLabel styleClass="title" value="试剂流向追踪"></p:outputLabel> |
| | |
| | | </p:panel> |
| | | </p:panel> |
| | | |
| | | |
| | | <p:panel styleClass="center-body"> |
| | | <p:panelGrid columns="1" styleClass="btn"> |
| | | <p:commandButton value="报废" styleClass="del-btn" ajax="false" actionListener="#{opeUseFlowInfoController.scrapReagent}" /> |
| | | </p:panelGrid> |
| | | <p:dataTable id="reagentUseFlowInfoDataTable" styleClass="data-table" |
| | | paginator="true" paginatorAlwaysVisible="false" paginatorPosition="bottom" |
| | | lazy="true" value="#{opeUseFlowInfoController.dataModel}" var="row" |
| | | selectionMode="single" |
| | | selection="#{opeUseFlowInfoController.selectedOne}" |
| | | rowKey="#{row.id}" emptyMessage="无数据" rows="20" pageLinks="5"> |
| | | <p:column headerText="试剂条形码"> |
| | | <h:outputText value="#{row.reagentCode}"></h:outputText> |
| | | </p:column> |
| | | <p:column headerText="试剂名称"> |
| | | <h:outputText value="#{row.reagent.name}"></h:outputText> |
| | | </p:column> |
| | | |
| | | <p:column headerText="柜号"> |
| | | <h:outputText value="#{row.laboratoryContainerCode}" rendered="${!empty row.laboratoryContainerName}"/> |
| | | <h:outputText value="#{row.warehouseContainerCode}" rendered="${!empty row.warehouseContainerName}"/> |
| | | </p:column> |
| | | |
| | | <p:column headerText="操作状态"> |
| | | <h:outputText value="#{row.operatestateName}" /> |
| | | </p:column> |
| | | <p:column headerText="残存量"> |
| | | <h:outputText value="#{row.remainder == null?'':row.remainder}" |
| | | rendered="#{row.operatestateName ne '仓库领用' |
| | | and row.operatestateName ne '仓库入库'}"/> |
| | | </p:column> |
| | | |
| | | |
| | | <!--<p:column headerText="重量"> |
| | | <h:outputText value="#{row.remainder}"></h:outputText> |
| | | </p:column>--> |
| | | |
| | | <p:column headerText="持有者"> |
| | | <h:outputText value="#{row.userName}" /> |
| | | </p:column> |
| | | |
| | | <p:column headerText="更新时间"> |
| | | <h:outputText value="#{row.createTime}"> |
| | | <f:convertDateTime pattern="yyyy-MM-dd HH:mm:ss" locale="zh_CN"></f:convertDateTime> |
| | | </h:outputText> |
| | | </p:column> |
| | | |
| | | |
| | | <p:column headerText="场所名"> |
| | | <h:outputText value="#{row.laboratoryName}" rendered="#{!empty row.laboratoryName}"/> |
| | | <h:outputText value="#{row.warehouseName}" rendered="#{!empty row.warehouseName}"/> |
| | | </p:column> |
| | | |
| | | <!-- <p:column headerText="领用单号">--> |
| | | <!-- <h:outputText value="#{row.receiptNumber}"/>--> |
| | | <!-- </p:column>--> |
| | | |
| | | |
| | | <!-- <p:column headerText="操作" style="text-align: center">--> |
| | | <!-- <p:commandButton value="生成领用单"--> |
| | | <!-- actionListener="#{opeUseFlowInfoController.generateRecipients(row)}"--> |
| | | <!-- rendered="#{row.receiptNumber != null}"--> |
| | | <!-- update="reagentUseFlowInfoForm:apply-ui"--> |
| | | <!-- oncomplete="PF('printDialog').show()"--> |
| | | <!-- async="true"--> |
| | | <!-- >--> |
| | | <!-- </p:commandButton>--> |
| | | <!-- </p:column>--> |
| | | |
| | | </p:dataTable> |
| | | |
| | | </p:panel> |
| | | </h:form> |
| | | <p:dialog id="apply-ui" header="领用单" widgetVar="printDialog" appendTo="@(body)" modal="true" resizable="false" |
| | | width="1000"> |
| | | <div id="printTarget"> |
| | |
| | | |
| | | </script> |
| | | </p:dialog> |
| | | |
| | | <p:dataTable id="reagentUseFlowInfoDataTable" styleClass="data-table" |
| | | paginator="true" paginatorAlwaysVisible="false" paginatorPosition="bottom" |
| | | lazy="true" value="#{opeUseFlowInfoController.dataModel}" var="row" |
| | | rowKey="#{row.id}" emptyMessage="无数据" rows="20" pageLinks="5"> |
| | | <p:column headerText="试剂条形码"> |
| | | <h:outputText value="#{row.reagentCode}"></h:outputText> |
| | | </p:column> |
| | | <p:column headerText="试剂名称"> |
| | | <h:outputText value="#{row.reagent.name}"></h:outputText> |
| | | </p:column> |
| | | |
| | | <p:column headerText="柜号"> |
| | | <h:outputText value="#{row.laboratoryContainerCode}" rendered="${!empty row.laboratoryContainerName}"/> |
| | | <h:outputText value="#{row.warehouseContainerCode}" rendered="${!empty row.warehouseContainerName}"/> |
| | | </p:column> |
| | | |
| | | <p:column headerText="操作状态"> |
| | | <h:outputText value="#{row.operatestateName}" /> |
| | | </p:column> |
| | | <p:column headerText="残存量"> |
| | | <h:outputText value="#{row.remainder == null?'':row.remainder}" |
| | | rendered="#{row.operatestateName ne '仓库领用' |
| | | and row.operatestateName ne '仓库入库'}"/> |
| | | </p:column> |
| | | |
| | | |
| | | <!--<p:column headerText="重量"> |
| | | <h:outputText value="#{row.remainder}"></h:outputText> |
| | | </p:column>--> |
| | | |
| | | <p:column headerText="持有者"> |
| | | <h:outputText value="#{row.userName}" /> |
| | | </p:column> |
| | | |
| | | <p:column headerText="更新时间"> |
| | | <h:outputText value="#{row.createTime}"> |
| | | <f:convertDateTime pattern="yyyy-MM-dd HH:mm:ss" locale="zh_CN"></f:convertDateTime> |
| | | </h:outputText> |
| | | </p:column> |
| | | |
| | | |
| | | <p:column headerText="场所名"> |
| | | <h:outputText value="#{row.laboratoryName}" rendered="#{!empty row.laboratoryName}"/> |
| | | <h:outputText value="#{row.warehouseName}" rendered="#{!empty row.warehouseName}"/> |
| | | </p:column> |
| | | |
| | | <!-- <p:column headerText="领用单号">--> |
| | | <!-- <h:outputText value="#{row.receiptNumber}"/>--> |
| | | <!-- </p:column>--> |
| | | |
| | | |
| | | <!-- <p:column headerText="操作" style="text-align: center">--> |
| | | <!-- <p:commandButton value="生成领用单"--> |
| | | <!-- actionListener="#{opeUseFlowInfoController.generateRecipients(row)}"--> |
| | | <!-- rendered="#{row.receiptNumber != null}"--> |
| | | <!-- update="reagentUseFlowInfoForm:apply-ui"--> |
| | | <!-- oncomplete="PF('printDialog').show()"--> |
| | | <!-- async="true"--> |
| | | <!-- >--> |
| | | <!-- </p:commandButton>--> |
| | | <!-- </p:column>--> |
| | | |
| | | </p:dataTable> |
| | | </p:panel> |
| | | </h:form> |
| | | </ui:composition> |
| | | </html> |