Index: ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsTemplateApplicationView.js =================================================================== diff -u -r16871 -r16884 --- ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsTemplateApplicationView.js (.../goodsTemplateApplicationView.js) (revision 16871) +++ ssts-web/src/main/webapp/disinfectsystem/recyclingApplication/goodsTemplateApplicationView.js (.../goodsTemplateApplicationView.js) (revision 16884) @@ -1,7 +1,7 @@ var entityName = "申请"; -// var configWinHeight = top.screen.height > 1000 ? 650 : top.screen.height * 0.75; var configWinHeight = top.screen.height > 1000 ? 650 : 530; -var configWinWidth = top.screen.width > 1280 ? 1024 : top.screen.width * 0.85; +var configWinWidth = top.screen.width > 1280 ? 1024 : 920; +// var configWinWidth = top.screen.width > 1280 ? 1024 : top.screen.width * 0.85; var isOpenLoadTemplateByUnit = sstsConfig.isOpenLoadTemplateByUnit; //是否隐藏住院号(只有config.js的配置为false时才不隐藏,否则都隐藏) var isHideHospitalNumber = sstsConfig.isHideHospitalNumber; @@ -2109,7 +2109,7 @@ border : 0, labelSeparator : ':', bodyPadding : '5 5 0', - autoScroll : true, + autoScroll : true, buttonAlign : 'center', buttons : bbars, fieldDefaults : { @@ -2476,12 +2476,16 @@ flex : 1, xtype : 'container', layout : 'hbox', + // width : 920, + // height : 300, autoScroll : true, items:[ top.Ext4.create('applicationTreeGrid', { id : 'tousseTreeGrid', store : leftTemplateStore, - width : (type == comboApplicationForm && !sstsConfig.hideDisposablePriceColumn) ? 440 : 499, + width : (type == comboApplicationForm && !sstsConfig.hideDisposablePriceColumn) ? configWinWidth/2 - 100 : configWinWidth/2 - 50, + // width : (type == comboApplicationForm && !sstsConfig.hideDisposablePriceColumn) ? 440 : 499, + height : configWinHeight - 200, flex : 1, tbar:[{ text: "物品名称:" @@ -2493,7 +2497,7 @@ minChars : 0, valueField : 'name', displayField : 'displayName', - width : 320, + width : 250, matchFieldWidth: false, listConfig: {width : 600}, store : comboGoodsStore, @@ -2576,8 +2580,10 @@ , top.Ext4.create('applicationTreeGrid', { id : 'diposableTreeGrid', columns : tousseColumnArr2, - width : (type == comboApplicationForm && !sstsConfig.hideDisposablePriceColumn) ? 558 : 499, + width : (type == comboApplicationForm && !sstsConfig.hideDisposablePriceColumn) ? configWinWidth/2 + 60 : configWinWidth/2 + 10, + // width : (type == comboApplicationForm && !sstsConfig.hideDisposablePriceColumn) ? 558 : 499, flex : 1, + height : configWinHeight - 200, store : rightTemplateStore, tbar : [{ text:"数量:" @@ -2715,7 +2721,7 @@ modal : true, border : false, plain : true, - layout : 'fit', + // layout : 'fit', items : [ form ] });