| | |
| | | <h:outputText value="#{item.name}" /> |
| | | </p:column> |
| | | </p:autoComplete> |
| | | <!-- <p:outputLabel value="课题名称:"></p:outputLabel> |
| | | <p:selectOneMenu value="#{warehouseStockMngController.projectNum}" |
| | | required="true" requiredMessage="请选择课题名称"> |
| | | <f:selectItems value="#{baseMetaService.getBaseMetaList(constants.BASE_META_GROUP_PROJECT_NUM)}" |
| | | var="item" itemLabel="#{item.metaValue}" itemValue="#{item.id}"></f:selectItems> |
| | | </p:selectOneMenu>--> |
| | | |
| | | <p:outputLabel value="实验室:" style="margin-left: 20px"></p:outputLabel> |
| | | <p:selectOneMenu value="#{warehouseStockMngController.laboratoryId}" |
| | | id="experments"> |
| | |
| | | <p:dialog modal="true" header="领用详情" appendTo="@(body)" id="reagentCodeDialogForPerson" |
| | | widgetVar="reagentCodeDialogForPerson" resizable="false" width="1000" class="ui-dialog"> |
| | | <p:tabView dynamic="true" style="margin-left: 26px"> |
| | | <p:tab title="补贴条码" id="applyInOrder"> |
| | | <h:form id="reagentCodeDialogForm2"> |
| | | <p:panelGrid styleClass="center-header content2" columns="6"> |
| | | <p:column style="width: 60px !important;"><p:outputLabel value="仓库名:"/></p:column> |
| | | <p:selectOneMenu value="#{warehouseStockMngController.opeWarehouseReserve.warehouseId}" > |
| | | <p:ajax event="change" process="@this" listener="#{warehouseStockMngController.selectChangeReserve(warehouseStockMngController.opeWarehouseReserve.warehouseId)}" |
| | | update="reserve"/> |
| | | <f:selectItems value="#{warehouseStockMngController.warehouseReserveList}" |
| | | var="item" |
| | | itemValue="#{item.warehouseId}" |
| | | itemLabel="#{item.warehouseName}"/> |
| | | </p:selectOneMenu> |
| | | <!-- <p:tab title="补贴条码" id="applyInOrder">--> |
| | | <!-- <h:form id="reagentCodeDialogForm2">--> |
| | | <!-- <p:panelGrid styleClass="center-header content2" columns="6">--> |
| | | <!-- <p:column style="width: 60px !important;"><p:outputLabel value="仓库名:"/></p:column>--> |
| | | <!-- <p:selectOneMenu value="#{warehouseStockMngController.opeWarehouseReserve.warehouseId}" >--> |
| | | <!-- <p:ajax event="change" process="@this" listener="#{warehouseStockMngController.selectChangeReserve(warehouseStockMngController.opeWarehouseReserve.warehouseId)}"--> |
| | | <!-- update="reserve"/>--> |
| | | <!-- <f:selectItems value="#{warehouseStockMngController.warehouseReserveList}"--> |
| | | <!-- var="item"--> |
| | | <!-- itemValue="#{item.warehouseId}"--> |
| | | <!-- itemLabel="#{item.warehouseName}"/>--> |
| | | <!-- </p:selectOneMenu>--> |
| | | |
| | | |
| | | <p:column> |
| | | <p:outputLabel id="reserve" value="可供库存:" style="width: 100px;"> |
| | | <span style="color: #1c427b;font-weight: bolder;font-size: 20px">#{warehouseStockMngController.opeWarehouseReserve.reserve}</span> |
| | | </p:outputLabel> |
| | | </p:column> |
| | | <!-- <p:column>--> |
| | | <!-- <p:outputLabel id="reserve" value="可供库存:" style="width: 100px;">--> |
| | | <!-- <span style="color: #1c427b;font-weight: bolder;font-size: 20px">#{warehouseStockMngController.opeWarehouseReserve.reserve}</span>--> |
| | | <!-- </p:outputLabel>--> |
| | | <!-- </p:column>--> |
| | | |
| | | |
| | | <p:outputLabel value="领用数量:" style="width: 80px;"/> |
| | | <p:inputNumber value="#{warehouseStockMngController.useNum}" |
| | | minValue="0" decimalPlaces="0" |
| | | required="true" requiredMessage="请输入领用数量" id="useNum"/> |
| | | <p:column> |
| | | <p:panel styleClass="btn" style="text-align: right"> |
| | | <p:commandButton value="添加" |
| | | process="@this,useNum" |
| | | styleClass="yes-btn" |
| | | actionListener="#{warehouseStockMngController.add2()}" |
| | | update="@(.reagentCode),endReagentCode" |
| | | style="position: relative;left: -8px;width: 62px;height: 34px;font-size: 12px;background-color: #ee7135"> |
| | | </p:commandButton> |
| | | </p:panel> |
| | | </p:column> |
| | | </p:panelGrid> |
| | | <p:separator style="margin: 15px"/> |
| | | <p:dataTable id="reagentCode" styleClass="reagentCode" |
| | | paginatorPosition="bottom" |
| | | lazy="true" |
| | | value="#{warehouseStockMngController.getDataTmp()}" |
| | | var="row" |
| | | rowKey="#{row.id}" |
| | | scrollable="false" |
| | | rows="5" pageLinks="5" |
| | | emptyMessage="无领用数据"> |
| | | <!-- <p:outputLabel value="领用数量:" style="width: 80px;"/>--> |
| | | <!-- <p:inputNumber value="#{warehouseStockMngController.useNum}"--> |
| | | <!-- minValue="0" decimalPlaces="0"--> |
| | | <!-- required="true" requiredMessage="请输入领用数量" id="useNum"/>--> |
| | | <!-- <p:column>--> |
| | | <!-- <p:panel styleClass="btn" style="text-align: right">--> |
| | | <!-- <p:commandButton value="添加"--> |
| | | <!-- process="@this,useNum"--> |
| | | <!-- styleClass="yes-btn"--> |
| | | <!-- actionListener="#{warehouseStockMngController.add2()}"--> |
| | | <!-- update="@(.reagentCode),endReagentCode"--> |
| | | <!-- style="position: relative;left: -8px;width: 62px;height: 34px;font-size: 12px;background-color: #ee7135">--> |
| | | <!-- </p:commandButton>--> |
| | | <!-- </p:panel>--> |
| | | <!-- </p:column>--> |
| | | <!-- </p:panelGrid>--> |
| | | <!-- <p:separator style="margin: 15px"/>--> |
| | | <!-- <p:dataTable id="reagentCode" styleClass="reagentCode"--> |
| | | <!-- paginatorPosition="bottom"--> |
| | | <!-- lazy="true"--> |
| | | <!-- value="#{warehouseStockMngController.getDataTmp()}"--> |
| | | <!-- var="row"--> |
| | | <!-- rowKey="#{row.id}"--> |
| | | <!-- scrollable="false"--> |
| | | <!-- rows="5" pageLinks="5"--> |
| | | <!-- emptyMessage="无领用数据">--> |
| | | |
| | | <p:column headerText="操作" style="text-align: center;"> |
| | | <p:commandButton style="background: #e68280; border: 1px solid #e68280;color: white;" styleClass="store-btn" |
| | | value="取消" |
| | | actionListener="#{warehouseStockMngController.remove2(row)}" |
| | | process="@this" |
| | | update="@(.reagentCode),@(.endReagentCode)"> |
| | | </p:commandButton> |
| | | </p:column> |
| | | <!-- <p:column headerText="操作" style="text-align: center;">--> |
| | | <!-- <p:commandButton style="background: #e68280; border: 1px solid #e68280;color: white;" styleClass="store-btn"--> |
| | | <!-- value="取消"--> |
| | | <!-- actionListener="#{warehouseStockMngController.remove2(row)}"--> |
| | | <!-- process="@this"--> |
| | | <!-- update="@(.reagentCode),@(.endReagentCode)">--> |
| | | <!-- </p:commandButton>--> |
| | | <!-- </p:column>--> |
| | | |
| | | <p:column headerText="仓库名" style="text-align: center;"> |
| | | <h:outputText value="#{row.warehouseName}" /> |
| | | </p:column> |
| | | <p:column headerText="试剂名称" style="text-align: center;"> |
| | | <h:outputText value="#{sysReagentService.getSysReagent(row.reagentId).name}" /> |
| | | </p:column> |
| | | <!-- <p:column headerText="仓库名" style="text-align: center;">--> |
| | | <!-- <h:outputText value="#{row.warehouseName}" />--> |
| | | <!-- </p:column>--> |
| | | <!-- <p:column headerText="试剂名称" style="text-align: center;">--> |
| | | <!-- <h:outputText value="#{sysReagentService.getSysReagent(row.reagentId).name}" />--> |
| | | <!-- </p:column>--> |
| | | |
| | | <p:column headerText="库存" style="text-align: center;"> |
| | | <h:outputText value="#{row.reserve}" /> |
| | | </p:column> |
| | | <!-- <p:column headerText="库存" style="text-align: center;">--> |
| | | <!-- <h:outputText value="#{row.reserve}" />--> |
| | | <!-- </p:column>--> |
| | | |
| | | <p:column headerText="领用数量" style="text-align: center;"> |
| | | <h:outputText value="#{row.useNum}" /> |
| | | </p:column> |
| | | </p:dataTable> |
| | | <!-- <p:column headerText="领用数量" style="text-align: center;">--> |
| | | <!-- <h:outputText value="#{row.useNum}" />--> |
| | | <!-- </p:column>--> |
| | | <!-- </p:dataTable>--> |
| | | |
| | | <p:panelGrid styleClass="center-header content2" columns="4" id="code" style="margin-top:20px;"> |
| | | <!-- <p:panelGrid styleClass="center-header content2" columns="4" id="code" style="margin-top:20px;">--> |
| | | |
| | | <p:outputLabel value="条形码开始"/> |
| | | <p:inputText id="startReagentCode" styleClass="startReagentCode" value="#{warehouseStockMngController.startReagentCodeForPerson}" maxlength="32" required="true" requiredMessage="请输入条形码开始"> |
| | | <p:ajax event="change" listener="#{warehouseStockMngController.btCodeChange()}" update="endReagentCode"/> |
| | | </p:inputText> |
| | | <!-- <p:outputLabel value="条形码开始"/>--> |
| | | <!-- <p:inputText id="startReagentCode" styleClass="startReagentCode" value="#{warehouseStockMngController.startReagentCodeForPerson}" maxlength="32" required="true" requiredMessage="请输入条形码开始">--> |
| | | <!-- <p:ajax event="change" listener="#{warehouseStockMngController.btCodeChange()}" update="endReagentCode"/>--> |
| | | <!-- </p:inputText>--> |
| | | |
| | | <p:outputLabel value="条形码结束"/> |
| | | <p:inputText id="endReagentCode" styleClass="endReagentCode" value="#{warehouseStockMngController.endReagentCodeForPerson}" maxlength="32" required="true" requiredMessage="请输入条形码结束"/> |
| | | </p:panelGrid> |
| | | <!-- <p:outputLabel value="条形码结束"/>--> |
| | | <!-- <p:inputText id="endReagentCode" styleClass="endReagentCode" value="#{warehouseStockMngController.endReagentCodeForPerson}" maxlength="32" required="true" requiredMessage="请输入条形码结束"/>--> |
| | | <!-- </p:panelGrid>--> |
| | | |
| | | |
| | | |
| | | <!--</p:panel>--> |
| | | <p:panel styleClass="btn" style="text-align: right"> |
| | | <p:commandButton value="确定" |
| | | actionListener="#{warehouseStockMngController.onYesBtnClickForPerson2}" |
| | | process="@form" |
| | | update=":warehouseReagentUseForm:warehouseReagentUseDataTableForPerson" |
| | | styleClass="yes-btn"> |
| | | </p:commandButton> |
| | | </p:panel> |
| | | </h:form> |
| | | </p:tab> |
| | | <!-- <!–</p:panel>–>--> |
| | | <!-- <p:panel styleClass="btn" style="text-align: right">--> |
| | | <!-- <p:commandButton value="确定"--> |
| | | <!-- actionListener="#{warehouseStockMngController.onYesBtnClickForPerson2}"--> |
| | | <!-- process="@form"--> |
| | | <!-- update=":warehouseReagentUseForm:warehouseReagentUseDataTableForPerson"--> |
| | | <!-- styleClass="yes-btn">--> |
| | | <!-- </p:commandButton>--> |
| | | <!-- </p:panel>--> |
| | | <!-- </h:form>--> |
| | | <!-- </p:tab>--> |
| | | <p:tab title="库中领取" id="applyInWarehouse"> |
| | | <h:form id="reagentCodeDialogForm"> |
| | | <p:panel styleClass="center-header content2"> |
| | |
| | | layout="grid" columns="4"> |
| | | <f:selectItems |
| | | value="#{warehouseStockMngController.reagentStatusSelectListForPerson}" var="item" |
| | | itemLabel="#{item.reagentCode}" itemValue="#{item.id}" /> |
| | | itemLabel="#{item.reagentCode}" itemValue="#{item.reagentCode}" /> |
| | | </p:selectManyCheckbox> |
| | | </p:panel> |
| | | |