Index: ssts-web/src/main/webapp/disinfectsystem/useRecord/tabs/tousseInstanceInfoTab.js =================================================================== diff -u -r16071 -r16310 --- ssts-web/src/main/webapp/disinfectsystem/useRecord/tabs/tousseInstanceInfoTab.js (.../tousseInstanceInfoTab.js) (revision 16071) +++ ssts-web/src/main/webapp/disinfectsystem/useRecord/tabs/tousseInstanceInfoTab.js (.../tousseInstanceInfoTab.js) (revision 16310) @@ -18,6 +18,130 @@ function tousseInstanceInfoShow(id,tousseName,hidden){ var tabsItemArr = new Array(); tabsItemArr.push({ + title: '预回收记录', + layout:'fit', + items:[new top.Ext.FormPanel({ + frame : true, + labelSeparator : ':', + bodyStyle : 'padding:5px 5px 0px 50px', + labelAlign : 'right', + items : [{ + layout : 'column', + autoHeight : true, + items : [{ + layout : 'form', + columnWidth : .5, + cls:'edit-part2-labelwidth', + items : [{ + id : 'takeover', + name : 'takeover', + xtype : 'textfield', + fieldLabel : '预回收人', + anchor : '100%', + readOnly : true, + cls : 'fieldReadOnlyNoRemove' + }] + },{ + layout : 'form', + columnWidth : .5, + cls:'edit-part2-labelwidth', + items : [{ + id : 'transitionTime', + name : 'transitionTime', + xtype : 'textfield', + fieldLabel : '预回收时间', + anchor : '100%', + readOnly : true, + cls : 'fieldReadOnlyNoRemove' + }] + },{ + layout : 'form', + columnWidth : .5, + cls:'edit-part2-labelwidth', + items : [{ + xtype : 'textfield', + id : 'handover', + name : 'handover', + fieldLabel : '临床科室确认人', + readOnly : true, + cls : 'fieldReadOnlyNoRemove', + allowBlank : true, + anchor : '100%' + }] + }] + }], + buttons : [{ + text : '取消', + handler : function() { + tousseInstanceWindow.close(); + } + }] + })] + }); + + tabsItemArr.push({ + title: '回收记录', + layout:'fit', + items:[new top.Ext.FormPanel({ + frame : true, + labelSeparator : ':', + bodyStyle : 'padding:5px 5px 0px 50px', + labelAlign : 'right', + items : [{ + layout : 'column', + autoHeight : true, + items : [{ + layout : 'form', + columnWidth : .5, + cls:'edit-part2-labelwidth', + items : [{ + id : 'reOperator', + name : 'reOperator', + xtype : 'textfield', + fieldLabel : '清点人', + anchor : '100%', + readOnly : true, + cls : 'fieldReadOnlyNoRemove' + }] + },{ + layout : 'form', + columnWidth : .5, + cls:'edit-part2-labelwidth', + items : [{ + id : 'reUser', + name : 'reUser', + xtype : 'textfield', + fieldLabel : '回收人', + anchor : '100%', + readOnly : true, + cls : 'fieldReadOnlyNoRemove' + }] + },{ + layout : 'form', + columnWidth : .5, + cls:'edit-part2-labelwidth', + items : [{ + xtype : 'textfield', + id : 'reType', + name : 'reType', + fieldLabel : '回收类型', + readOnly : true, + cls : 'fieldReadOnlyNoRemove', + allowBlank : true, + anchor : '100%' + }] + }] + }], + buttons : [{ + text : '取消', + handler : function() { + tousseInstanceWindow.close(); + } + }] + })] + }); + + tabsItemArr.push({ title: '清洗记录', // layout : 'fit', items:[ @@ -610,131 +734,7 @@ }] })] }); - - tabsItemArr.push({ - title: '预回收记录', - layout:'fit', - items:[new top.Ext.FormPanel({ - frame : true, - labelSeparator : ':', - bodyStyle : 'padding:5px 5px 0px 50px', - labelAlign : 'right', - items : [{ - layout : 'column', - autoHeight : true, - items : [{ - layout : 'form', - columnWidth : .5, - cls:'edit-part2-labelwidth', - items : [{ - id : 'takeover', - name : 'takeover', - xtype : 'textfield', - fieldLabel : '预回收人', - anchor : '100%', - readOnly : true, - cls : 'fieldReadOnlyNoRemove' - }] - },{ - layout : 'form', - columnWidth : .5, - cls:'edit-part2-labelwidth', - items : [{ - id : 'transitionTime', - name : 'transitionTime', - xtype : 'textfield', - fieldLabel : '预回收时间', - anchor : '100%', - readOnly : true, - cls : 'fieldReadOnlyNoRemove' - }] - },{ - layout : 'form', - columnWidth : .5, - cls:'edit-part2-labelwidth', - items : [{ - xtype : 'textfield', - id : 'handover', - name : 'handover', - fieldLabel : '临床科室确认人', - readOnly : true, - cls : 'fieldReadOnlyNoRemove', - allowBlank : true, - anchor : '100%' - }] - }] - }], - buttons : [{ - text : '取消', - handler : function() { - tousseInstanceWindow.close(); - } - }] - })] - }); - tabsItemArr.push({ - title: '回收记录', - layout:'fit', - items:[new top.Ext.FormPanel({ - frame : true, - labelSeparator : ':', - bodyStyle : 'padding:5px 5px 0px 50px', - labelAlign : 'right', - items : [{ - layout : 'column', - autoHeight : true, - items : [{ - layout : 'form', - columnWidth : .5, - cls:'edit-part2-labelwidth', - items : [{ - id : 'reOperator', - name : 'reOperator', - xtype : 'textfield', - fieldLabel : '清点人', - anchor : '100%', - readOnly : true, - cls : 'fieldReadOnlyNoRemove' - }] - },{ - layout : 'form', - columnWidth : .5, - cls:'edit-part2-labelwidth', - items : [{ - id : 'reUser', - name : 'reUser', - xtype : 'textfield', - fieldLabel : '回收人', - anchor : '100%', - readOnly : true, - cls : 'fieldReadOnlyNoRemove' - }] - },{ - layout : 'form', - columnWidth : .5, - cls:'edit-part2-labelwidth', - items : [{ - xtype : 'textfield', - id : 'reType', - name : 'reType', - fieldLabel : '回收类型', - readOnly : true, - cls : 'fieldReadOnlyNoRemove', - allowBlank : true, - anchor : '100%' - }] - }] - }], - buttons : [{ - text : '取消', - handler : function() { - tousseInstanceWindow.close(); - } - }] - })] - }); - tabsItemArr.push({ title: '废弃记录', layout:'fit', @@ -804,7 +804,7 @@ width:600, height:350, plain:true, - activeTab: 4,//初始显示第几个Tab页 + activeTab: 6,//初始显示第几个Tab页 deferredRender : false, enableTabScroll: true, defaults:{autoScroll: true}, @@ -815,7 +815,7 @@ id : 'tousseInstanceWin', layout : 'fit', title : '[' + tousseName + '] 追溯信息', - width : 630, + width : 680, border : false, modal : true, autoHeight : true,