kongzy
2024-01-30 1123d12eb51d23edcd4a39660ef8cd47802b931d
src/main/webapp/apply_mng_new.xhtml
@@ -47,12 +47,12 @@
                     <p:column selectionMode="multiple" style="width: 30px;text-align: center;"/>
                    <p:column headerText="产品编号">
                    <p:column headerText="产品编号" style="white-space:normal;">
                        <h:outputText value="#{row.reagent!=null?row.reagent.productSn:''}"></h:outputText>
                    </p:column>
                   <p:column headerText="试剂名称">
                       <h:outputText value="#{row.reagent!=null?row.reagent.name:''}"></h:outputText>
                   <p:column headerText="试剂名称" style="white-space:normal;">
                       <h:outputText value="#{row.reagent!=null?row.reagent.name:''}" ></h:outputText>
                   </p:column>
                    <p:column headerText="管制品">
@@ -297,12 +297,6 @@
                        <p:commandLink styleClass="search reagentSearch" process="@form" update="@form"></p:commandLink>
                    </p:panelGrid>
                    <p:commandButton value="新增试剂" process="@this"
                                     actionListener="#{applyMngController.onReagentNewBtnClick}"
                                     oncomplete="PF('dialog').show();"
                                     update="@parent:@parent:@parent:dialog"
                                     styleClass="new-btn" style="position: absolute;display: none;right: 42px;top:62px"></p:commandButton>
                    <p:dataTable id="applyMngNewReagentDataTable" styleClass="data-table" style="margin-left: 2px"
                                 resizableColumns="true" paginator="true" paginatorAlwaysVisible="false" paginatorPosition="bottom"
                                 lazy="true" value="#{applyMngController.reagentDataModel}" var="row" rowKey="#{row.id}"
@@ -313,7 +307,7 @@
                        <p:column headerText="产品编号">
                            <h:outputText value="#{row.productSn}"></h:outputText>
                        </p:column>
                        <p:column headerText="试剂名称">
                        <p:column headerText="试剂名称"  style="white-space:normal;">
                            <h:outputText value="#{row.name}"></h:outputText>
                            <h:outputText value="收藏" readonly="true" rendered="#{row.favor!=null}" styleClass="favor"></h:outputText>
                        </p:column>
@@ -466,11 +460,11 @@
                        <p:column selectionMode="multiple" style="width: 30px;text-align: center;"/>
                        <p:ajax event="rowDblselect" listener="#{applyMngController.onApplyHistoryRowSelect}" update=":applyMngNewForm,:applyDialog"></p:ajax>
                        <p:column headerText="申购编号" width="120">
                        <p:column headerText="申购编号" width="120" style="white-space:normal;">
                            <h:outputText value="#{row.applyCode}"></h:outputText>
                        </p:column>
                        <p:column headerText="申购产品">
                        <p:column headerText="申购产品" style="white-space:normal;">
                            <h:outputText value="#{row.reagent!=null?row.reagent.name:''}"></h:outputText>
                        </p:column>
@@ -540,11 +534,11 @@
                                 rows="50" pageLinks="5">
                        <p:ajax event="rowDblselect" listener="#{applyMngController.onReagentRowSelect}" update=":applyMngNewForm,:applyDialog"></p:ajax>
                        <p:column headerText="产品编号">
                        <p:column headerText="产品编号" style="white-space:normal;">
                            <h:outputText value="#{row.productSn}"></h:outputText>
                        </p:column>
                        <p:column headerText="试剂名称">
                            <h:outputText value="#{row.name}"></h:outputText>
                        <p:column headerText="试剂名称" style="white-space:normal;">
                            <h:outputText value="#{row.name}" ></h:outputText>
                            <h:outputText value="收藏" readonly="true" rendered="#{row.favor!=null}" styleClass="favor"></h:outputText>
                        </p:column>
                        <p:column headerText="管制品">