Index: ssts-web/src/main/webapp/disinfectsystem/invoice/customInvoiceForm.js =================================================================== diff -u -r28652 -r28707 --- ssts-web/src/main/webapp/disinfectsystem/invoice/customInvoiceForm.js (.../customInvoiceForm.js) (revision 28652) +++ ssts-web/src/main/webapp/disinfectsystem/invoice/customInvoiceForm.js (.../customInvoiceForm.js) (revision 28707) @@ -722,6 +722,7 @@ layout : 'form', labelWidth :70, columnWidth :.33, + height:26, items : [{ xtype : 'textfield', fieldLabel : '科室条码', @@ -764,6 +765,7 @@ layout : 'form', labelWidth :70, columnWidth :.33, + height:26, items : [{ xtype : 'combo', fieldLabel : '科室', @@ -795,6 +797,7 @@ layout : 'form', labelWidth :70, columnWidth :.33, + height:26, items : [{ xtype : 'textfield', fieldLabel : '发货员', @@ -814,6 +817,7 @@ id : 'assistantSenderBarcode_parent', name : 'assistantSenderBarcode_parent', hidden: !getSystemSetConfig('showInvoiceAssistantSender',true), + height:26, items : [{ xtype : 'textfield', fieldLabel : '核对员条码', @@ -855,6 +859,7 @@ labelWidth :70, columnWidth :.33, hidden: !getSystemSetConfig('showInvoiceAssistantSender',true), + height:26, items : [{ xtype : 'textfield', fieldLabel : '核对员', @@ -874,6 +879,7 @@ id : 'personInChargeBarcode_parent', name : 'personInChargeBarcode_parent', hidden: !getSystemSetConfig('showInvoicePersonInCharge',true), + height:26, items : [{ xtype : 'textfield', fieldLabel : '下送责任人条码', @@ -910,6 +916,7 @@ labelWidth :70, columnWidth :.33, hidden: !getSystemSetConfig('showInvoicePersonInCharge',true), + height:26, items : [{ xtype : 'textfield', fieldLabel : '下送责任人', @@ -925,6 +932,7 @@ layout : 'form', labelWidth :70, columnWidth :.33, + height:26, items : [{ xtype : 'datefieldWithMin', fieldLabel : '发货时间', @@ -946,6 +954,7 @@ layout : 'form', labelWidth : 90, columnWidth :.33, + height:26, items:[{ xtype : 'combo', fieldLabel : '仓库', @@ -1269,12 +1278,18 @@ if(getSystemSetConfig('rememberLastInvoiceAssistantSender',false) && cookieAssistantSender){ top.Ext.getCmp('assistantSender').setValue(cookieAssistantSender); } + var currentHeight; + if(getSystemSetConfig('showInvoicePersonInCharge',true)){ + currentHeight = top.screen.height < 864 ? windowH : 700; + }else { + currentHeight = top.screen.height < 834 ? windowH-30 : 670; + } var window = new top.Ext.Window( { id : 'recyclingApplicationWin', layout : 'fit', title : '发货单', width : top.screen.width < 1280 ? windowW : 1280, - height : top.screen.height < 864 ? windowH : 700, + height : currentHeight, border : false, modal : true, plain : true,