| | |
| | | <ui:composition> |
| | | <p:tabView dynamic="true"> |
| | | <p:tab title="备货领取"> |
| | | <div id ="showTab" style="display: none"> |
| | | <h:form id="tmp"> |
| | | <p:panel styleClass="center-body"> |
| | | <p:panelGrid columns="3" styleClass="btn" rendered="#{warehouseStockMngController.editFlag==1}"> |
| | |
| | | <p:commandButton value="清空" styleClass="del-btn" process="@form" |
| | | actionListener="#{warehouseStockMngController.clear}" |
| | | disabled="#{warehouseStockMngController.editFlag==0}" update=":centerRootPanel"/> |
| | | <p:commandButton value="领用" styleClass="edit-btn" process="@form" |
| | | <p:commandButton value="提交" styleClass="edit-btn" process="@form" |
| | | actionListener="#{warehouseStockMngController.onUseBtnClick}" |
| | | disabled="#{warehouseStockMngController.editFlag==0}" update=":centerRootPanel"/> |
| | | </p:panelGrid> |
| | |
| | | </p:dataTable> |
| | | </p:panel> |
| | | </h:form> |
| | | </div> |
| | | <br/> |
| | | <h:form id="warehouseStockMngForm"> |
| | | <p:panel styleClass="center-header"> |
| | |
| | | </p:panel> |
| | | <p:panel styleClass="center-body"> |
| | | <p:panelGrid columns="3" styleClass="btn" rendered="#{warehouseStockMngController.editFlag==1}"> |
| | | <p:commandButton value="添加" styleClass="edit-btn" process="@form" |
| | | <p:commandButton value="领用" styleClass="edit-btn" process="@form" |
| | | actionListener="#{warehouseStockMngController.add}" |
| | | disabled="#{warehouseStockMngController.editFlag==0}" |
| | | |
| | | oncomplete="$('#showTab').css('display','block');" |
| | | update=":centerRootPanel"></p:commandButton> |
| | | <p:commandButton value="入库" styleClass="ruku-btn" |
| | | process="@form" |