Index: ssts-tousse/src/main/java/com/forgon/disinfectsystem/tousse/toussedefinition/action/TousseDefinitionAction.java =================================================================== diff -u -r17019 -r17023 --- ssts-tousse/src/main/java/com/forgon/disinfectsystem/tousse/toussedefinition/action/TousseDefinitionAction.java (.../TousseDefinitionAction.java) (revision 17019) +++ ssts-tousse/src/main/java/com/forgon/disinfectsystem/tousse/toussedefinition/action/TousseDefinitionAction.java (.../TousseDefinitionAction.java) (revision 17023) @@ -446,7 +446,7 @@ } } } catch (Exception e) { - msg = "{success:false,message:\"保存失败:" + e.getCause().getMessage() + "\"}"; + msg = "{success:false,message:\"保存失败:" + e.getMessage() + "\"}"; e.printStackTrace(); } } @@ -623,7 +623,7 @@ if(!StringUtils.equals(origineTd.getTousseGroupName(), tousseDefinition.getTousseGroupName())){ modifyContent.append("tousseGroupName属性修改前=").append(origineTd.getTousseGroupName()).append(",修改后=").append(tousseDefinition.getTousseGroupName()).append(";"); } - if((origineTd.getTousseAmount() == null ? 0 : origineTd.getTousseAmount().intValue()) != (tousseDefinition.getTousseAmount())){ + if((origineTd.getTousseAmount() == null ? 0 : origineTd.getTousseAmount().intValue()) != (tousseDefinition.getTousseAmount() == null ? 0 : tousseDefinition.getTousseAmount().intValue())){ modifyContent.append("tousseAmount属性修改前=").append(origineTd.getTousseAmount()).append(",修改后=").append(tousseDefinition.getTousseAmount()).append(";"); } if((origineTd.getTousseGroupID() == null ? 0 : origineTd.getTousseGroupID().longValue()) != (tousseDefinition.getTousseGroupID() == null ? 0 : tousseDefinition.getTousseGroupID().longValue())){ Index: ssts-web/src/main/webapp/disinfectsystem/basedatamanager/foreigntoussedefinition/foreignTousseDefinitionForm.js =================================================================== diff -u -r16817 -r17023 --- ssts-web/src/main/webapp/disinfectsystem/basedatamanager/foreigntoussedefinition/foreignTousseDefinitionForm.js (.../foreignTousseDefinitionForm.js) (revision 16817) +++ ssts-web/src/main/webapp/disinfectsystem/basedatamanager/foreigntoussedefinition/foreignTousseDefinitionForm.js (.../foreignTousseDefinitionForm.js) (revision 17023) @@ -108,7 +108,7 @@ })}, { header : "数量", dataIndex : 'count', - width : 50, + width : 60, menuDisabled : true, editor : new top.Ext.form.NumberField({ allowBlank : false, @@ -124,7 +124,7 @@ },{ header : "清洗分类类型", dataIndex : 'washClassifyType', - width : 93, + width : 110, menuDisabled : true, editor : new top.Ext.form.ComboBox({ xtype : 'combo', @@ -334,7 +334,7 @@ title : '基础数据', autoHeight : true, items : [{ - columnWidth : .5, + columnWidth : .33, layout : 'form', labelWidth : 80, items : [{ @@ -348,7 +348,7 @@ anchor : '95%' }] }, { - columnWidth : .5, + columnWidth : .33, layout : 'form', labelWidth : 80, items : [{ @@ -362,7 +362,7 @@ disabled :id==0?false:true, name : "supplierName", id : "supplierName", - anchor : '100%', + anchor : '95%', allowBlank : false, listeners : { select : function(combo, record, index) { @@ -372,7 +372,7 @@ } }] }, { - columnWidth : .5, + columnWidth : .33, layout : 'form', labelWidth : 80, items : [{ @@ -386,7 +386,7 @@ anchor : '95%' }] }, { - columnWidth : .5, + columnWidth : .33, layout : 'form', labelWidth : 80, items : [{ @@ -397,7 +397,7 @@ name : "wbCode", id : "wbCode", readOnly : true, - anchor : '100%' + anchor : '95%' }] },{ columnWidth : .33, @@ -418,8 +418,9 @@ anchor : '95%' }] },{ - columnWidth : .34, + columnWidth : .33, layout : 'form', + labelWidth : 80, items:[{ xtype : 'combo', fieldLabel : '标签纸类型', @@ -433,7 +434,7 @@ allowBlank : false, forceSelection : true, triggerAction : 'all', - anchor : '100%' + anchor : '95%' }] },{ columnWidth : .33, @@ -446,39 +447,45 @@ allowNegative:false, name : 'printAmount', id : 'printAmount', - anchor : '100%' + anchor : '95%' }] - },{ - columnWidth : .47, - layout : 'form', - labelWidth : 70, - items : [new top.Ext.grid.EditorGridPanel({ - id : 'foreignMaterialDefinitionGrid', - store : foreignMaterialDefinitionStore, - cm : foreignMaterialDefinitionCm, - width : 395, - height : 320, - frame : false, - bodyStyle : 'border:1px solid #9cbaef', - clicksToEdit : 1,// 设置点击几次才可编辑 - selModel : new top.Ext.grid.RowSelectionModel({ - singleSelect : false - }), - tbar : tbar, - listeners: { - beforeedit: function(obj){ - eventEdit = obj; - },afteredit:function(grid){ - eventEdit = null; - } - } - })] - }, { - columnWidth : .53, - layout : 'form', - labelWidth : 70, - items : [showTousseImage] - }] + }] + },{ + columnWidth : 1, + layout : 'column', + items : [ + { + columnWidth : .5, + layout : 'form', + labelWidth : 70, + items : [new top.Ext.grid.EditorGridPanel({ + id : 'foreignMaterialDefinitionGrid', + store : foreignMaterialDefinitionStore, + cm : foreignMaterialDefinitionCm, + width : 430, + height : 320, + frame : false, + bodyStyle : 'border:1px solid #9cbaef', + clicksToEdit : 1,// 设置点击几次才可编辑 + selModel : new top.Ext.grid.RowSelectionModel({ + singleSelect : false + }), + tbar : tbar, + listeners: { + beforeedit: function(obj){ + eventEdit = obj; + },afteredit:function(grid){ + eventEdit = null; + } + } + })] + }, { + columnWidth : .5, + layout : 'form', + labelWidth : 70, + items : [showTousseImage] + } + ] }] }] }], Index: ssts-web/src/main/webapp/disinfectsystem/basedatamanager/supplyroomtype/supplyRoomTypeForm.js =================================================================== diff -u -r16818 -r17023 --- ssts-web/src/main/webapp/disinfectsystem/basedatamanager/supplyroomtype/supplyRoomTypeForm.js (.../supplyRoomTypeForm.js) (revision 16818) +++ ssts-web/src/main/webapp/disinfectsystem/basedatamanager/supplyroomtype/supplyRoomTypeForm.js (.../supplyRoomTypeForm.js) (revision 17023) @@ -932,7 +932,6 @@ layout:'form', labelWidth : 180, columnWidth: .25, - hidden: true, items:[{ xtype : 'combo', fieldLabel : '外来器械包打印标签',