Index: ssts-web/src/main/webapp/disinfectsystem/invoice/customInvoiceForm.js =================================================================== diff -u -r28418 -r28652 --- ssts-web/src/main/webapp/disinfectsystem/invoice/customInvoiceForm.js (.../customInvoiceForm.js) (revision 28418) +++ ssts-web/src/main/webapp/disinfectsystem/invoice/customInvoiceForm.js (.../customInvoiceForm.js) (revision 28652) @@ -1,4 +1,5 @@ -var windowH = document.body.offsetHeight + 140; +var windowW = top.Ext.getBody().dom.clientWidth; +var windowH = top.Ext.getBody().dom.clientHeight; var sendOutGoodsStore; //定义首篮筐的label变量c var beginBarcodeLabel = '扫描条码:'; @@ -1268,12 +1269,11 @@ if(getSystemSetConfig('rememberLastInvoiceAssistantSender',false) && cookieAssistantSender){ top.Ext.getCmp('assistantSender').setValue(cookieAssistantSender); } - var window = new top.Ext.Window( { id : 'recyclingApplicationWin', layout : 'fit', title : '发货单', - width : top.screen.width < 1280 ? top.screen.width-4 : 1280, + width : top.screen.width < 1280 ? windowW : 1280, height : top.screen.height < 864 ? windowH : 700, border : false, modal : true,