Index: ssts-web/src/main/webapp/disinfectsystem/invoice/auxiliaryInvoiceForm.js =================================================================== diff -u -r28715 -r28941 --- ssts-web/src/main/webapp/disinfectsystem/invoice/auxiliaryInvoiceForm.js (.../auxiliaryInvoiceForm.js) (revision 28715) +++ ssts-web/src/main/webapp/disinfectsystem/invoice/auxiliaryInvoiceForm.js (.../auxiliaryInvoiceForm.js) (revision 28941) @@ -1,6 +1,7 @@ //删除发货扫描的物品 +var windowH = document.body.offsetHeight + 124; function auxiliaryInvoice_removeSendOutGoods(id){ var rows = top.Ext.getCmp('sendOutGoods').getSelectionModel().getSelections();// 返回值为 if (rows) { @@ -261,18 +262,14 @@ }); } var barcodeBtn = new BarcodeBtn(function(){doSaveAction();},function(){auxiliaryInvoiceFormWindow.close();}); - //当前服务器的时间 var nowServerTime = new Date(); - var form = new top.Ext.FormPanel({ id : 'recyclingApplicationForm', frame : true, labelSeparator : ':', bodyStyle : 'padding:5px 5px 0px 5px', width : 1020, - autoHeight : true, - autoScroll : true, labelAlign:'right', layout : 'form', items : [{ @@ -347,7 +344,7 @@ id : 'warehouseName' },{ layout : 'form', - labelWidth :fontSize == 12 ? 70 : 120, + labelWidth :fontSize == 12 ? 100 : 150, columnWidth :.33, items : [{ xtype : 'textfield', @@ -363,7 +360,7 @@ }] },{ layout : 'form', - labelWidth :fontSize == 12 ? 70 : 120, + labelWidth :fontSize == 12 ? 100 : 150, columnWidth :.67, items : [{ xtype : 'textfield', @@ -379,7 +376,7 @@ }] },{ layout : 'form', - labelWidth :fontSize == 12 ? 70 : 120, + labelWidth :fontSize == 12 ? 100 : 150, columnWidth :.33, hidden: !getSystemSetConfig('showInvoiceAssistantSender',true), items : [{ @@ -417,7 +414,7 @@ }] },{ layout : 'form', - labelWidth :fontSize == 12 ? 70 : 120, + labelWidth :fontSize == 12 ? 100 : 150, columnWidth :.33, hidden: !getSystemSetConfig('showInvoiceAssistantSender',true), items : [{ @@ -433,7 +430,7 @@ }] },{ layout : 'form', - labelWidth :fontSize == 12 ? 70 : 120, + labelWidth :fontSize == 12 ? 100 : 150, columnWidth :.33, hidden: !getSystemSetConfig('showInvoicePersonInCharge',true), items : [{ @@ -471,7 +468,7 @@ }] },{ layout : 'form', - labelWidth :fontSize == 12 ? 70 : 120, + labelWidth :fontSize == 12 ? 100 : 150, columnWidth :.33, hidden: !getSystemSetConfig('showInvoicePersonInCharge',true), items : [{ @@ -487,7 +484,7 @@ }] },{ layout : 'form', - labelWidth :fontSize == 12 ? 70 : 120, + labelWidth :fontSize == 12 ? 100 : 150, columnWidth :.33, items : [{ xtype : 'datefieldWithMin', @@ -518,7 +515,7 @@ },{ columnWidth : .5, layout : 'form', - labelWidth : fontSize == 12 ? 70 : 120, + labelWidth :fontSize == 12 ? 100 : 150, columnWidth :.33, items:[{ xtype : 'combo', @@ -554,7 +551,7 @@ },{ layout : 'form', columnWidth : 1, - labelWidth :fontSize == 12 ? 70 : 120, + labelWidth :fontSize == 12 ? 100 : 150, items : [{ xtype : 'textarea', fieldLabel : '备注', @@ -795,7 +792,7 @@ layout : 'fit', title : '发货单', width : 1020, - height : fontSize == 12 ? 730 : 700, + height : top.screen.height < 864 ? windowH : 730, border : false, modal : true, plain : true,