| | |
| | | <p:panel styleClass="center-header"> |
| | | <p:outputLabel styleClass="title" value="申购管理"></p:outputLabel> |
| | | |
| | | <p:panelGrid styleClass="filter" columns="13"> |
| | | <p:row> |
| | | <p:panelGrid styleClass="filter" columns="16"> |
| | | <p:outputLabel value="申购产品:"></p:outputLabel> |
| | | <p:inputText value="#{applyMngController.reagentName}"></p:inputText> |
| | | |
| | |
| | | <p:calendar value="#{applyMngController.endDeadline}" converter="timestampConvert" |
| | | pattern="yyyy-MM-dd" locale="zh_CN"></p:calendar> |
| | | <p:outputLabel value="状态:"></p:outputLabel> |
| | | </p:row> |
| | | <p:row> |
| | | |
| | | <p:selectOneMenu value="#{applyMngController.status}"> |
| | | <f:selectItem itemLabel="全部" itemValue="#{null}" noSelectionOption="true"></f:selectItem> |
| | |
| | | itemLabel="#{item.text}" itemValue="#{item.key}"></f:selectItems> |
| | | </p:selectOneMenu> |
| | | |
| | | <p:outputLabel value="管制品:"></p:outputLabel> |
| | | <p:selectOneMenu value="#{applyMngController.controlProduct}"> |
| | | <f:selectItem itemLabel="全部" itemValue="#{null}" noSelectionOption="true"></f:selectItem> |
| | | <f:selectItem itemLabel="易制毒" itemValue="易制毒" ></f:selectItem> |
| | | <f:selectItem itemLabel="易制爆" itemValue="易制爆" ></f:selectItem> |
| | | <f:selectItem itemLabel="剧毒" itemValue="剧毒" ></f:selectItem> |
| | | </p:selectOneMenu> |
| | | |
| | | <style type="text/css"> |
| | | .ui-selectonemenu.ui-widget.ui-state-default.ui-corner-all{ |
| | | min-width: 30px !important; |
| | | } |
| | | #centerRootPanel .center-header .filter .ui-selectonemenu { |
| | | width: 73px !important; |
| | | } |
| | | #centerRootPanel .center-header .filter input { |
| | | height: 30px; |
| | | background-color: #eaeef7!important; |
| | | width: 120px !important; |
| | | } |
| | | </style> |
| | | |
| | | <p:commandLink styleClass="search" process="@form" update="@form"></p:commandLink> |
| | | </p:row> |
| | | |
| | | </p:panelGrid> |
| | | </p:panel> |
| | |
| | | <p:commandButton update=":centerRootPanel" actionListener="#{applyMngController.onExportFileBtnClickNew}" |
| | | ajax="false" value="导出" styleClass="new-btn" /> |
| | | |
| | | <p:commandButton onclick="importApply()" value="导入" styleClass="import-btn" /> |
| | | <a href="resources/template/申购导入模板.xlsx" style="display: inline-block;"><img src="resources/images/xlsx.png" width="30px;" alt=""/></a> |
| | | <!-- <p:commandButton onclick="importApply()" value="导入" styleClass="import-btn" />--> |
| | | <!-- <a href="resources/template/申购导入模板.xlsx" style="display: inline-block;"><img src="resources/images/xlsx.png" width="30px;" alt=""/></a>--> |
| | | </p:panelGrid> |
| | | <script type="text/javascript"> |
| | | function importApply(){ |
| | |
| | | </p:column> |
| | | |
| | | <p:column headerText="管制品"> |
| | | <h:outputText value="#{row.reagent!=null?baseMetaService.getBaseMetaValue(row.reagent.controlProducts):''}"></h:outputText> |
| | | <h:outputText value="#{row.reagent!=null?row.reagent.controlProducts:''}"></h:outputText> |
| | | </p:column> |
| | | |
| | | <p:column headerText="规格型号"> |
| | | <h:outputText value="#{row.reagent!=null?baseMetaService.getBaseMetaValue(row.reagent.reagentFormat):''}"></h:outputText> |
| | | <h:outputText value="#{row.reagent!=null?row.reagent.reagentFormat:''}"></h:outputText> |
| | | </p:column> |
| | | |
| | | <p:column headerText="包装"> |
| | | <h:outputText value="#{row.reagent!=null?(''.concat(row.reagent.mainMetering).concat(baseMetaService.getBaseMetaValue(row.reagent.reagentUnit))):''}"></h:outputText> |
| | | <h:outputText value="#{row.reagent!=null?(''.concat(row.reagent.mainMetering).concat(row.reagent.reagentUnit)):''}"></h:outputText> |
| | | </p:column> |
| | | |
| | | <p:column headerText="含税售价" width="50px;"> |
| | |
| | | </p:column> |
| | | |
| | | <p:column headerText="危险性质" width="79px;"> |
| | | <h:outputText value="#{baseMetaService.getBaseMetaValue(row.reagent.reagentCharacter)}" style="white-space: normal;font-size: 13px;"></h:outputText> |
| | | <h:outputText value="#{row.reagent.reagentCharacter}" style="white-space: normal;font-size: 13px;"></h:outputText> |
| | | </p:column> |
| | | |
| | | <p:column headerText="厂家"> |
| | | <h:outputText value="#{row.reagent!=null?row.reagent.productHomeName:''}"></h:outputText> |
| | | <h:outputText value="#{row.reagent!=null?row.reagent.productHome:''}"></h:outputText> |
| | | </p:column> |
| | | |
| | | <p:column headerText="试剂类型" width="38px;" style="text-align: center;white-space: normal"> |
| | | <h:outputText value="#{baseMetaService.getBaseMetaValue(row.reagent.reagentType)}"></h:outputText> |
| | | <h:outputText value="#{row.reagent.reagentType}"></h:outputText> |
| | | </p:column> |
| | | |
| | | <p:column headerText="申购数量" width="38px;" style="white-space: normal"> |