Index: ssts-web/src/main/webapp/disinfectsystem/printInvoiceConfig/printInvoiceConfigForm.js =================================================================== diff -u -r16206 -r16257 --- ssts-web/src/main/webapp/disinfectsystem/printInvoiceConfig/printInvoiceConfigForm.js (.../printInvoiceConfigForm.js) (revision 16206) +++ ssts-web/src/main/webapp/disinfectsystem/printInvoiceConfig/printInvoiceConfigForm.js (.../printInvoiceConfigForm.js) (revision 16257) @@ -1,6 +1,7 @@ var configWin; var formPanel; - +var configWinHeight = top.screen.height * 0.6; +var configWinWidth = top.screen.width * 0.6; function cancel() { configWin.close(); } @@ -378,8 +379,9 @@ }); tab2 = Ext4.create('Ext4.Panel', { - width: 780, - height: 550, + width : configWinWidth * 0.95, + height : configWinHeight * 0.85, + autoScroll : true, layout: { type: 'vbox', align: 'stretch' @@ -434,7 +436,9 @@ frame : true, labelSeparator : ':', bodyStyle : 'padding:5px 5px 0px 5px;', - width : 800, + width : configWinWidth * 0.97, + height : configWinHeight * 0.85, + autoScroll : true, fieldDefaults: { labelAlign: 'left', labelWidth: 200 @@ -556,8 +560,8 @@ configWin = new Ext4.window.Window({ layout : 'fit', title : '打印发货单设置', - width : 830, - height : 630, + width : configWinWidth, + height : configWinHeight, border : false, plain : true, modal :true, Index: ssts-web/src/main/webapp/disinfectsystem/printRecyclingConfig2/printRecyclingConfigForm2.js =================================================================== diff -u -r16162 -r16257 --- ssts-web/src/main/webapp/disinfectsystem/printRecyclingConfig2/printRecyclingConfigForm2.js (.../printRecyclingConfigForm2.js) (revision 16162) +++ ssts-web/src/main/webapp/disinfectsystem/printRecyclingConfig2/printRecyclingConfigForm2.js (.../printRecyclingConfigForm2.js) (revision 16257) @@ -422,8 +422,9 @@ }); tab2 = Ext4.create('Ext4.Panel', { - width: 780, - height: 550, + width : configWinWidth * 0.95, + height : configWinHeight * 0.85, + autoScroll : true, layout: { type: 'vbox', align: 'stretch' @@ -482,7 +483,7 @@ width : configWinWidth * 0.97, // width : 800, // height : 400, - height : configWinHeight * 0.88, + height : configWinHeight * 0.85, autoScroll : true, fieldDefaults: { labelAlign: 'left',