| | |
| | | <p:outputLabel value="实验室试剂柜:"></p:outputLabel> |
| | | <p:selectOneMenu value="#{warehouseStockMngController.laboratoryContainerId}" id="stacks" |
| | | > |
| | | <f:ajax listener="#{warehouseStockMngController.setContainerId}"/> |
| | | <f:selectItems value="#{warehouseStockMngController.laboratoryContainers}" |
| | | var="item" itemLabel="#{item.name}" itemValue="#{item.id}"></f:selectItems> |
| | | </p:selectOneMenu> |
| | |
| | | <p:commandButton value="重置" process="@this" update="@form" |
| | | actionListener="#{warehouseStockMngController.onResetBtnClick}" |
| | | styleClass="reset-btn"></p:commandButton> |
| | | <p:commandButton value="保存" process="@this" update=":centerRootPanel" |
| | | immediate="true" |
| | | <p:commandButton value="保存" process="@form" update=":centerRootPanel" |
| | | actionListener="#{warehouseStockMngController.onSaveBtnClick}" |
| | | styleClass="save-btn"> |
| | | <p:confirm header="确认" message="确认操作?"></p:confirm> |
| | |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | function allSelected() { |
| | | selectFunc(num); |
| | | num++; |
| | |
| | | .children("span").removeClass("ui-icon-blank").addClass("ui-icon-check") |
| | | } |
| | | } |
| | | |
| | | |
| | | function changeCount() { |
| | | $("#num").val($("#reagentCodeDialog td div[class*=ui-state-active]").size()); |
| | | } |
| | | |
| | | |
| | | function change(element) { |
| | | var selected = element.checked; |
| | | var num = 0; |
| | |
| | | </p:column> |
| | | |
| | | <p:column headerText="条形码"> |
| | | <p:commandButton value="操作" styleClass="edit-btn" process="@this" |
| | | immediate="true" |
| | | <p:commandButton value="操作" styleClass="edit-btn" process="@form" |
| | | actionListener="#{warehouseStockMngController.onReagentCodeBtnClick(row)}" |
| | | update=":reagentCodeDialog"> |
| | | </p:commandButton> |