From df47c9300bfe6c641c88707aa5b54591ab4c004c Mon Sep 17 00:00:00 2001
From: lyfO_o <764716047@qq.com>
Date: 星期五, 11 六月 2021 15:18:58 +0800
Subject: [PATCH] 订单领取:过期处理(确认和过期 状态处理),增加状态过期(需要将数据库字段加长) 实验室选中问题 仓库领取的仓库不存在问题
---
src/main/webapp/warehouse_reagent_use.xhtml | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/src/main/webapp/warehouse_reagent_use.xhtml b/src/main/webapp/warehouse_reagent_use.xhtml
index ece0848..790913e 100644
--- a/src/main/webapp/warehouse_reagent_use.xhtml
+++ b/src/main/webapp/warehouse_reagent_use.xhtml
@@ -48,7 +48,6 @@
<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>
@@ -64,8 +63,7 @@
<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>
@@ -104,7 +102,7 @@
}
}
-
+
function allSelected() {
selectFunc(num);
num++;
@@ -126,11 +124,11 @@
.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;
@@ -195,8 +193,7 @@
</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>
--
Gitblit v1.9.2