Index: ssts-web/src/main/webapp/disinfectsystem/invoice/batchInvoice.js =================================================================== diff -u -r35270 -r35272 --- ssts-web/src/main/webapp/disinfectsystem/invoice/batchInvoice.js (.../batchInvoice.js) (revision 35270) +++ ssts-web/src/main/webapp/disinfectsystem/invoice/batchInvoice.js (.../batchInvoice.js) (revision 35272) @@ -52,7 +52,6 @@ if (result.success) { var departArr = []; var disposableGoodsArr = []; - var columns = []; if (result.data.length > 0) { departArr = result.data[0] || []; disposableGoodsArr = result.data[1] || []; @@ -443,12 +442,15 @@ } }]; + var height = document.body.clientHeight - 200; + getList(); grid = new Ext4.grid.Panel({ title: '批量发货列表', store: listStore, columns: columns, + height: height, plugins: [ Ext4.create('Ext.grid.plugin.CellEditing', { clicksToEdit: 2,