Index: ssts-web/src/main/webapp/disinfectsystem/packing/packingView2.js
===================================================================
diff -u
--- ssts-web/src/main/webapp/disinfectsystem/packing/packingView2.js (revision 0)
+++ ssts-web/src/main/webapp/disinfectsystem/packing/packingView2.js (revision 23670)
@@ -0,0 +1,63 @@
+
+
+$(function(){ // on page load
+ // Create the tree inside the
element.
+ $("#tree").fancytree({
+ extensions: ["edit", "filter","table"],
+ source: {
+ url: encodeURI(WWWROOT + '/disinfectSystem/packingAction!loadWaitPackingTaskJson.do?taskGroup='+taskGroup),
+ cache: false},
+ checkbox: true,
+ edit: {
+ triggerStart: ["f2", "shift+click", "mac+enter"],
+ close: function(event, data) {
+ if( data.save && data.isNew ){
+ // Quick-enter: add new nodes until we hit [enter] on an empty title
+ $("#tree").trigger("nodeCommand", {cmd: "addSibling"});
+ }
+ }
+ },
+ table: {
+ indentation: 20,
+ nodeColumnIdx: 1,
+ checkboxColumnIdx: 0
+ },
+// createNode: function(event, data) {
+// var node = data.node,
+// $tdList = $(node.tr).find(">td");
+//
+// // Span the remaining columns if it's a folder.
+// // We can do this in createNode instead of renderColumns, because
+// // the `isFolder` status is unlikely to change later
+// if( node.isFolder() ) {
+// $tdList.eq(2)
+// .prop("colspan", 6)
+// .nextAll().remove();
+// }
+// },
+ renderColumns: function(event, data) {
+ var node = data.node,
+ $tdList = $(node.tr).find(">td");
+
+ // (Index #0 is rendered by fancytree by adding the checkbox)
+ // Set column #1 info from node data:
+// $tdList.eq(1).text(node.getIndexHier());
+ // (Index #2 is rendered by fancytree)
+ // Set column #3 info from node data:
+ $tdList.eq(2).find("input").val(node.data.amount);
+ $tdList.eq(3).text(node.data.urgentAmount);
+ $tdList.eq(4).text(node.data.urgentLevel);
+ $tdList.eq(5).text(node.data.basketName);
+ $tdList.eq(6).text(node.key);
+ $tdList.eq(7).text(node.data.department);
+ $tdList.eq(8).text(node.data.washTime);
+ $tdList.eq(9).text(node.data.status);
+ $tdList.eq(10).text(node.data.dateTime);
+
+ // Static markup (more efficiently defined as html row template):
+ // $tdList.eq(3).html("
");
+ // ...
+ }
+ });
+ // Note: Loading and initialization may be asynchronous, so the nodes may not be accessible yet.
+ });
\ No newline at end of file
Index: ssts-web/src/main/webapp/disinfectsystem/packing/packingView2.jsp
===================================================================
diff -u
--- ssts-web/src/main/webapp/disinfectsystem/packing/packingView2.jsp (revision 0)
+++ ssts-web/src/main/webapp/disinfectsystem/packing/packingView2.jsp (revision 23670)
@@ -0,0 +1,495 @@
+<%@page import="com.forgon.disinfectsystem.entity.customform.formdefinition.FormDefinition"%>
+<%@page import="com.forgon.disinfectsystem.entity.recyclingdamagerecord.RecyclingDamageItem"%>
+<%@page import="com.forgon.disinfectsystem.entity.basedatamanager.supplier.Supplier,com.forgon.disinfectsystem.entity.basedatamanager.supplyroomconfig.SupplyRoomConfig"%>
+<%@page import="com.forgon.disinfectsystem.entity.packing.PackingTask"%>
+<%@page import="java.util.Map"%>
+<%@page import="com.forgon.disinfectsystem.entity.basedatamanager.imagefilemanager.ImageFile"%>
+<%@page import="com.forgon.disinfectsystem.entity.basedatamanager.container.Container"%>
+<%@page import="com.forgon.disinfectsystem.entity.recyclingerror.RecyclingError"%>
+<%@page import="com.forgon.disinfectsystem.common.Constants"%>
+<%@page import="java.util.Date"%>
+<%@page import="java.text.SimpleDateFormat"%>
+<%@page import="java.util.List"%>
+<%@page import="com.forgon.disinfectsystem.common.*"%>
+<%@page import="com.forgon.disinfectsystem.basedatamanager.supplyroomconfig.service.SupplyRoomConfigManager"%>
+<%@page import="com.forgon.disinfectsystem.entity.qualitymonitoringmanager.qualitymonitoringconfig.QualityMonitoringDefinition" %>
+<%@page import="com.forgon.disinfectsystem.entity.basedatamanager.toussedefinition.TousseDefinition" %>
+<%@ page contentType="text/html; charset=UTF-8"%>
+<%@ include file="/common/taglibs.jsp"%>
+
+<%
+ LoginUserData loginUser = AcegiHelper.getLoginUser();
+ SupplyRoomConfigManager supplyRoomConfigManager = (SupplyRoomConfigManager)SpringBeanManger.getBean("supplyRoomConfigManager");
+ String orgUnitCoding = loginUser.getOrgUnitCodingFromSupplyRoomConfig();
+ String orgUnitName = loginUser.getOrgUnitNameCodingFromSupplyRoomConfig();
+ double toussePriceFluctuation = supplyRoomConfigManager.getSystemParamsObj().getToussePriceFluctuation();
+ SupplyRoomConfig syscfg = supplyRoomConfigManager.getSystemParamsObj();
+
+ request.setAttribute("toussePriceFluctuation",toussePriceFluctuation);
+ request.setAttribute("orgUnitName",orgUnitName);
+ request.setAttribute("orgUnitCoding",orgUnitCoding);
+ request.setAttribute("userName",loginUser.getUserFullName());
+ request.setAttribute("userLoginName",loginUser.getUserName());
+ SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm");
+ request.setAttribute("today", dateFormat.format(new Date()));
+ request.setAttribute("hospitalName", loginUser.getHospitalName());
+ request.setAttribute("foreignDefaultLabelpaper", syscfg.getBarcodePaperType());
+
+ String projectName = CssdUtils.getConfigProperty("project");
+ request.setAttribute("projectName", projectName);
+%>
+
+
+
+
+
+
装配管理
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+ 配包注意事项
+
+
+
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+<%@ include file="/common/include_Ext2_Js.jsp"%>
+<%@ include file="/common/include_Ext42_Js.jsp"%>
+<%@include file="/common/include_UseForgonGrid4_Js.jsp"%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<%@ include file="/disinfectsystem/print/print.jsp"%>
+
+
+
+
+
+