Index: ssts-web/src/main/webapp/disinfectsystem/invoice/batchInvoice.jsp =================================================================== diff -u -r35217 -r35321 --- ssts-web/src/main/webapp/disinfectsystem/invoice/batchInvoice.jsp (.../batchInvoice.jsp) (revision 35217) +++ ssts-web/src/main/webapp/disinfectsystem/invoice/batchInvoice.jsp (.../batchInvoice.jsp) (revision 35321) @@ -23,6 +23,13 @@ .x4-fieldset { padding-bottom: 10px !important; } + html,body { + height: 100%; + overflow: hidden; + } + .x4-panel-header-text-container-default-framed { + text-align: center; + }
<%@ include file="/common/includeExtJsAndCss.jsp"%> @@ -45,12 +52,12 @@Index: ssts-web/src/main/webapp/disinfectsystem/invoice/batchInvoice.js =================================================================== diff -u -r35272 -r35321 --- ssts-web/src/main/webapp/disinfectsystem/invoice/batchInvoice.js (.../batchInvoice.js) (revision 35272) +++ ssts-web/src/main/webapp/disinfectsystem/invoice/batchInvoice.js (.../batchInvoice.js) (revision 35321) @@ -442,15 +442,15 @@ } }]; - var height = document.body.clientHeight - 200; - getList(); + var height = document.body.offsetHeight; + grid = new Ext4.grid.Panel({ title: '批量发货列表', store: listStore, columns: columns, - height: height, + height:height-140, plugins: [ Ext4.create('Ext.grid.plugin.CellEditing', { clicksToEdit: 2, @@ -537,12 +537,11 @@ new Ext4.form.Panel({ renderTo: "gridDiv", frame: true, + title:'一次性物品自定义批量发货', labelSeparator: ':', - bodyStyle: 'padding:5px 5px 0px 5px', - width: '100%', - height: '100%', - autoScroll: true, + height: document.body.offsetHeight, border: 0, + autoScroll: false, buttonAlign: 'center', fieldDefaults: { labelAlign: 'right', |