| | |
| | | </p:panelGrid> |
| | | </p:panel> |
| | | <p:panel styleClass="center-body"> |
| | | <p:panelGrid columns="8" styleClass="btn"> |
| | | <p:panelGrid columns="9" styleClass="btn"> |
| | | <p:commandButton value="新建" styleClass="new-btn" |
| | | process="@this" |
| | | actionListener="#{reagentMngController.onNewBtnClick}" |
| | |
| | | <p:commandButton value="耗材导入" styleClass="import-btn" onclick="importReagent2()" |
| | | ></p:commandButton> |
| | | <a href="resources/template/耗材导入模板.xlsx" style="display: inline-block;"><img src="resources/images/xlsx.png" width="30px;" alt=""/></a> |
| | | <script> |
| | | <p:commandButton value="导出" styleClass="new-btn" ajax="false" id="exportButton" widgetVar="exportButton" |
| | | actionListener="#{reagentMngController.export2Excel}" /> |
| | | <script type="text/javascript"> |
| | | function importReagent(){ |
| | | $("#reagentMngForm\\:importReagentBtn_input").click(); |
| | | } |
| | |
| | | <p:column headerText="安全库存" rendered="#{reagentMngController.type == 1}"> |
| | | <h:outputText value="#{row.safetynum}" ></h:outputText> |
| | | </p:column> |
| | | <p:column headerText="管制品" rendered="#{reagentMngController.type == 1}"> |
| | | <h:outputText value="#{row.controlProductsName}" ></h:outputText> |
| | | </p:column> |
| | | <!-- <p:column headerText="库存">--> |
| | | <!-- <h:outputText value="#{row.reserve}"></h:outputText>--> |
| | | <!-- </p:column>--> |
| | |
| | | update="@form" auto="true" sizeLimit="5000000" |
| | | mode="advanced"/> |
| | | </div> |
| | | |
| | | </h:form> |
| | | |
| | | <p:dialog modal="true" header="#{reagentMngController.action==constants.ACTION_ADD?'新建':'修改'}" appendTo="@(body)" |
| | |
| | | </p:panel> |
| | | </h:form> |
| | | </p:dialog> |
| | | |
| | | |
| | | </ui:composition> |
| | | </html> |