Index: ssts-web/src/main/webapp/disinfectsystem/reportforms/tousseReturnDisinfectionView.js =================================================================== diff -u -r23184 -r23446 --- ssts-web/src/main/webapp/disinfectsystem/reportforms/tousseReturnDisinfectionView.js (.../tousseReturnDisinfectionView.js) (revision 23184) +++ ssts-web/src/main/webapp/disinfectsystem/reportforms/tousseReturnDisinfectionView.js (.../tousseReturnDisinfectionView.js) (revision 23446) @@ -97,15 +97,17 @@ border : 0, frame : true, bodyStyle : 'padding:0px auto;margin:0px',// padding:1px;padding-top:5px; - height : 105, + height : 130, items : [{ + width : 800, layout : 'column', - height : 50, - labelWidth : 70, + columnWidth : 1, + frame : false, + border : false, items : [{ - width : 170, + columnWidth : .33, layout : 'form', - labelWidth : 60, + labelWidth : 70, items : [{ xtype : 'datefield', fieldLabel : '开始时间', @@ -115,12 +117,12 @@ altFormats:'Y-m-d|Y-n-j|y-n-j|y-m-j|y-m-d|y-n-d|Y-n-d|Y-m-j|Ymd|Ynj|ynj|ymj|ymd|ynd|Ynd|Ymj|Y/m/d|Y/n/j|y/n/j|y/m/j|y/m/d|y/n/d|Y/n/d|Y/m/j', allowBlank : false, value: new Date(), - anchor : '100%' + anchor : '90%' }] },{ - width : 170, + columnWidth : .33, layout : 'form', - labelWidth : 60, + labelWidth : 70, items : [{ xtype : 'datefield', fieldLabel : '结束时间', @@ -130,12 +132,12 @@ format:'Y-m-d', allowBlank : false, value: new Date(), - anchor : '100%' + anchor : '90%' }] },{ - width : 250, + columnWidth : .33, layout : 'form', - labelWidth : 60, + labelWidth : 70, items : [{ xtype : 'combo', id : 'department', @@ -151,12 +153,13 @@ triggerAction : 'all', hideTrigger : true, typeAhead : false, - anchor : '95%', + anchor : '90%', allowBlank : true }] },{ - width : 250, + columnWidth : .33, layout : 'form', + labelWidth : 70, items : [{ xtype : 'multiSelect', fieldLabel : "器械包类型", @@ -173,7 +176,7 @@ readOnly:true, mode : 'local', value : ALL, - anchor : '95%', + anchor : '90%', listeners: { select: function (combo, record, index) { if (record.get('value') == '全部') { @@ -187,7 +190,7 @@ } }] },{ - width : 230, + columnWidth : .33, layout : 'form', labelWidth : 70, items : [{ @@ -220,11 +223,12 @@ triggerAction : 'all', hideTrigger : true, typeAhead : false, - anchor : '95%' + anchor : '90%' }] },{ layout:'form', - width:180, + columnWidth : .33, + labelWidth : 70, items:[{ xtype : 'combo', id : 'statisticsType', @@ -240,7 +244,7 @@ mode : 'local', forceSelection : true, lazyInit : true, - anchor : '95%', + anchor : '90%', listWidth:100, triggerAction : 'all', typeAhead : false, Index: ssts-web/src/main/webapp/disinfectsystem/reportforms/invoiceQueryView.js =================================================================== diff -u -r21059 -r23446 --- ssts-web/src/main/webapp/disinfectsystem/reportforms/invoiceQueryView.js (.../invoiceQueryView.js) (revision 21059) +++ ssts-web/src/main/webapp/disinfectsystem/reportforms/invoiceQueryView.js (.../invoiceQueryView.js) (revision 23446) @@ -161,15 +161,14 @@ border : 0, frame : true, bodyStyle : 'padding:0px auto;margin:0px',// padding:1px;padding-top:5px; - height : 110, + height : 205, items : [{ layout : 'column', - height : 80, - labelWidth : 70, + width: 800, items : [{ - columnWidth : .2, + columnWidth : .33, layout : 'form', - labelWidth : 70, + labelWidth : 95, items : [{ xtype : 'datefield', fieldLabel : '开始时间', @@ -181,12 +180,12 @@ allowBlank : true, readOnly : false, value: new Date(), - anchor : '100%' + anchor : '95%' }] }, { - columnWidth : .2, + columnWidth : .33, layout : 'form', - labelWidth : 70, + labelWidth : 95, items : [{ xtype : 'datefield', fieldLabel : '结束时间', @@ -198,12 +197,12 @@ format:'Y-m-d', allowBlank : true, value: new Date(), - anchor : '100%' + anchor : '95%' }] },{ - columnWidth : .2, + columnWidth : .33, layout : 'form', - labelWidth : 70, + labelWidth : 95, items : [{ xtype : 'combo', id : 'goodsName', @@ -213,7 +212,7 @@ minChars : 0, valueField : 'id', displayField : 'displayName', - anchor : '100%', + anchor : '95%', store : tousseAndDiposableGoodsStore, lazyInit : true, triggerAction : 'all', @@ -227,9 +226,9 @@ } }] },{ - columnWidth : .2, + columnWidth : .33, layout : 'form', - labelWidth : 90, + labelWidth : 95, items : [{ xtype : 'combo', fieldLabel : '物品类型', @@ -264,9 +263,9 @@ } }] },{ - columnWidth : 0.2, + columnWidth : 0.33, layout : 'form', - labelWidth : 100, + labelWidth : 95, id:'disposableGoodsTypeElement', items : [{ xtype : 'combo', @@ -283,9 +282,9 @@ anchor : '95%' }] },{ - columnWidth : .2, + columnWidth : .33, layout : 'form', - labelWidth : 90, + labelWidth : 95, id:'expensiveGoodsTypeElement', items : [{ xtype : 'combo', @@ -303,9 +302,9 @@ anchor : '95%' }] },{ - columnWidth : .2, + columnWidth : .33, layout : 'form', - labelWidth : 60, + labelWidth : 95, items : [{ xtype : 'combo', fieldLabel : '统计类型', @@ -322,9 +321,9 @@ anchor : '95%' }] },{ - columnWidth : .2, + columnWidth : .33, layout : 'form', - labelWidth : 70, + labelWidth : 95, items : [{ xtype : 'combo', id : 'departSearch', @@ -341,13 +340,12 @@ hideTrigger : true, typeAhead : false, allowBlank : true, - anchor : '100%' + anchor : '95%' }] },{ - - columnWidth : .2, + columnWidth : .33, layout : 'form', - labelWidth : 70, + labelWidth : 95, items : [{ xtype : 'combo', id : 'settleDepartSearch', @@ -364,52 +362,52 @@ hideTrigger : true, typeAhead : false, allowBlank : true, - anchor : '100%' + anchor : '95%' }] }, { - columnWidth : .1, + columnWidth : .33, layout : 'form', - labelWidth : 70, + labelWidth : 95, items : [{ xtype : 'textfield', fieldLabel : '申请人', id : 'applicant', name : 'applicant', editable:false, allowBlank : true, - anchor : '100%' + anchor : '95%' }] },{ - columnWidth : .08, + columnWidth : .33, layout : 'form', - labelWidth : 50, + labelWidth : 95, items : [{ xtype : 'textfield', fieldLabel : '批次', id : 'batchNumber', name : 'batchNumber', editable:false, allowBlank : true, - anchor : '90%' + anchor : '95%' }] },{ - columnWidth : .08, + columnWidth : .33, layout : 'form', - labelWidth : 50, + labelWidth : 95, items : [{ xtype : 'textfield', fieldLabel : '住院号', id : 'hospitalNumber', name : 'hospitalNumber', editable:false, allowBlank : true, - anchor : '100%' + anchor : '95%' }] },{ - columnWidth : .11, + columnWidth : .33, layout : 'form', - labelWidth : 70, + labelWidth : 95, items : [{ xtype : 'combo', fieldLabel : '有无备注', @@ -427,11 +425,12 @@ forceSelection : false, allowBlank : true, editable:false, - anchor : '90%' + anchor : '95%' }] },{ - columnWidth : .15, + columnWidth : .33, layout : 'form', + labelWidth : 95, items : [{ xtype: 'combo', store : new Ext.data.Store({ @@ -456,11 +455,13 @@ listWidth: 200, // mode: 'remote', //这个要设置成false,不然多选鼠标离开之后,combo上面的值不会显示 - forceSelection : false + forceSelection : false, + anchor : '95%' }] },{ - columnWidth : .15, + columnWidth : .33, layout : 'form', + labelWidth : 95, items : [{ xtype : 'combo', id : 'invoiceDepartGroup', @@ -475,38 +476,34 @@ url : WWWROOT + '/disinfectSystem/invoiceDepartmentAction!loadDepartGroup.do?needAll=true' }), forceSelection : true, - triggerAction : 'all' + triggerAction : 'all', + anchor : '95%' }] - }, { - columnWidth : .1, - layout : 'form', - items : [{ - xtype : 'button', - text : '查询', - minWidth : 70, - iconCls : 'icon_search', - handler : function() { - reloadReport(); - } - }] - }, { - columnWidth : .1, - layout : 'form', - items : [{ - xtype : 'button', - text : '重置', - minWidth : 70, - iconCls : 'icon_set', - handler : function() { - Ext.getCmp('startDate').setValue(""); - Ext.getCmp('endDate').setValue(""); - Ext.getCmp('departSearch').setValue(""); - Ext.getCmp('applicant').setValue(""); - Ext.getCmp('goodsName').setValue(""); - } - }] }] - }] + }], + buttons : [ + { + xtype : 'button', + text : '查询', + minWidth : 70, + iconCls : 'icon_search', + handler : function() { + reloadReport(); + } + },{ + xtype : 'button', + text : '重置', + minWidth : 70, + iconCls : 'icon_set', + handler : function() { + Ext.getCmp('startDate').setValue(""); + Ext.getCmp('endDate').setValue(""); + Ext.getCmp('departSearch').setValue(""); + Ext.getCmp('applicant').setValue(""); + Ext.getCmp('goodsName').setValue(""); + } + } + ] }); var reportForm = new Ext.Panel({