Index: ssts-web/src/main/webapp/homepage/supplyRoomOperate.jsp =================================================================== diff -u -r27802 -r28330 --- ssts-web/src/main/webapp/homepage/supplyRoomOperate.jsp (.../supplyRoomOperate.jsp) (revision 27802) +++ ssts-web/src/main/webapp/homepage/supplyRoomOperate.jsp (.../supplyRoomOperate.jsp) (revision 28330) @@ -31,6 +31,7 @@ var ALL = '全部'; //当前用户所在的当前科室 var currentOrgUnitCoding = '<%=AcegiHelper.getCurrentOrgUnitCode()%>'; + var fontSize = '${fontSize}'; //查看所有供应室报表的权限 var SSTS_View_All_Supply_Room_Report = true; Index: ssts-web/src/main/webapp/disinfectsystem/reportforms/tousseOperate.js =================================================================== diff -u -r27407 -r28330 --- ssts-web/src/main/webapp/disinfectsystem/reportforms/tousseOperate.js (.../tousseOperate.js) (revision 27407) +++ ssts-web/src/main/webapp/disinfectsystem/reportforms/tousseOperate.js (.../tousseOperate.js) (revision 28330) @@ -56,7 +56,8 @@ var startDate = new Date(); startDate.setHours(0,0,0); - + var endDateValue = startDate.getFullYear() + "/" + (startDate.getMonth() + 1) + "/" + startDate.getDate() + " 23:59"; + var form = new Ext.form.FormPanel({ title : entityName+"报表", region : 'north', @@ -115,7 +116,7 @@ name : 'startDate', fieldLabel : '开始时间', // readOnly : true, - format : 'Y-m-d H:i:s', + format : 'Y-m-d H:i', // altFormats:'Y-m-d|Y-n-j|y-n-j|y-m-j|y-m-d|y-n-d|Y-n-d|Y-m-j|Ymd|Ynj|ynj|ymj|ymd|ynd|Ynd|Ymj|Y/m/d|Y/n/j|y/n/j|y/m/j|y/m/d|y/n/d|Y/n/d|Y/m/j', value : startDate, anchor : '95%', @@ -147,9 +148,9 @@ name : 'endDate', fieldLabel : '结束时间', // readOnly : true, - format : 'Y-m-d H:i:s', + format : 'Y-m-d H:i', // altFormats:'Y-m-d|Y-n-j|y-n-j|y-m-j|y-m-d|y-n-d|Y-n-d|Y-m-j|Ymd|Ynj|ynj|ymj|ymd|ynd|Ynd|Ymj|Y/m/d|Y/n/j|y/n/j|y/m/j|y/m/d|y/n/d|Y/n/d|Y/m/j', - value : new Date(), + value : new Date(endDateValue), anchor : '95%' }] Index: ssts-web/src/main/webapp/homepage/supplyRoomOperate.js =================================================================== diff -u -r28064 -r28330 --- ssts-web/src/main/webapp/homepage/supplyRoomOperate.js (.../supplyRoomOperate.js) (revision 28064) +++ ssts-web/src/main/webapp/homepage/supplyRoomOperate.js (.../supplyRoomOperate.js) (revision 28330) @@ -298,7 +298,8 @@ supplyRoomRemoteStore.load();//20181225 end var startDate = new Date(); startDate.setHours(0,0,0); - + var endDateValue =startDate.getFullYear() + "/" + (startDate.getMonth() + 1) + "/" + startDate.getDate() + " 23:59"; + var form = new Ext.form.FormPanel({ title : entityName, region : 'north', @@ -310,7 +311,7 @@ border : 0, frame : true, bodyStyle : 'padding:0px auto;margin:0px',// padding:1px;padding-top:5px; - height : 133, + height :fontSize == 12 ? 133 : 150, items : [{ id:'tousseType', name:'tousseType', @@ -323,7 +324,7 @@ items : [{ columnWidth : .18, layout : 'form', - labelWidth : 60, + labelWidth : fontSize == 12 ? 60 : 90, items : [{ xtype : 'combo', id : 'goodsSearch', @@ -351,7 +352,7 @@ },{ columnWidth : .18, layout : 'form', - labelWidth : 60, + labelWidth : fontSize == 12 ? 60 : 90, items : [{ xtype : 'combo', id : 'department', @@ -464,7 +465,7 @@ },{ columnWidth : .15, layout : 'form', - labelWidth : 60, + labelWidth : fontSize == 12 ? 60 : 90, items : [{ xtype : 'combo', fieldLabel : '物品类型', @@ -487,14 +488,14 @@ }, { columnWidth : .18, layout : 'form', - labelWidth : 60, + labelWidth : fontSize == 12 ? 60 : 90, height:28, items : [{ xtype : 'datefieldWithMin', id:'startDate'+IDS, name : 'startDate', fieldLabel : '开始时间', - format : 'Y-m-d H:i:s', + format : 'Y-m-d H:i', value : startDate, anchor : '95%', listeners : { @@ -516,15 +517,15 @@ },{ columnWidth : .18, layout : 'form', - labelWidth : 60, + labelWidth : fontSize == 12 ? 60 : 90, height:28, items : [{ xtype : 'datefieldWithMin', id:'endDate'+IDS, name : 'endDate', fieldLabel : '结束时间', - format : 'Y-m-d H:i:s', - value : new Date(), + format : 'Y-m-d H:i', + value : new Date(endDateValue), anchor : '95%' }] }] @@ -625,12 +626,12 @@ {header : "回收数量",width : 60,dataIndex : 'recyclingAmount'}, {header : "申请单类型",width : 180,dataIndex : 'formType', hidden : true}, {header : "回收清洗筐",width : 140,dataIndex : 'basketName'}, - {header : "加急数量",width : 110,dataIndex : 'urgentAmount',hidden:!sstsConfig.enableUrgentFunction}, - {header : "发货数量",width : 110,dataIndex : 'sendOutAmount'}, + {header : "加急数量",width : 60,dataIndex : 'urgentAmount',hidden:!sstsConfig.enableUrgentFunction}, + {header : "发货数量",width : 60,dataIndex : 'sendOutAmount'}, {header : "科室",width : 110,dataIndex : 'depart'}, - {header : "回收时间",width : 110,dataIndex : 'recyclingTime'}, - {header : "申请时间",width : 110,dataIndex : 'applicationTime'}, - {header : "提交时间",width : 110,dataIndex : 'submitTime'}, + {header : "回收时间",width : 130,dataIndex : 'recyclingTime'}, + {header : "申请时间",width : 130,dataIndex : 'applicationTime'}, + {header : "提交时间",width : 130,dataIndex : 'submitTime'}, {header : "部门编码",width : 130,dataIndex : 'departCoding',hidden:true}, {header : "申请单流水号",width : 130,dataIndex : 'serialNumber',hidden:true}, {header : "申请人",width : 130,dataIndex : 'applicant',hidden:true}, @@ -648,8 +649,8 @@ {header : "清洗人",width : 60,dataIndex : 'operator'/*, renderer : renderColor*/}, {header : "清洗机",width : 100,dataIndex : 'disinfectIdentification'/*, renderer : renderColor*/}, {header : "清洗程序",width : 80,dataIndex : 'disinfectProgram'/*, renderer : renderColor*/}, - {header : "开始时间",width : 110,dataIndex : 'startDate'/*, renderer : renderColor*/}, - {header : "结束时间",width : 110,dataIndex : 'endDate'/*, renderer : renderColor*/} + {header : "开始时间",width : 130,dataIndex : 'startDate'/*, renderer : renderColor*/}, + {header : "结束时间",width : 130,dataIndex : 'endDate'/*, renderer : renderColor*/} ]); //装配记录信息 var packingColumns = new Ext.grid.ColumnModel([ @@ -664,7 +665,7 @@ {header : "数量",width : 50,dataIndex : 'amount'}, {header : "灭菌筐",width : 100,dataIndex : 'basketName'}, {header : ""+reviewViewText+"人",width : 70,dataIndex : 'operator'}, - {header : ""+reviewViewText+"时间",width : 110,dataIndex : 'applicationTime'} + {header : ""+reviewViewText+"时间",width : 130,dataIndex : 'applicationTime'} ]); //灭菌信息 var SterilizationColumns = new Ext.grid.ColumnModel([ @@ -1007,6 +1008,7 @@ items:[{ columnWidth : .98, layout : 'form', + height:350, items : [applicationGrid] }] @@ -1015,21 +1017,25 @@ items:[{ columnWidth : .49, layout : 'form', + height:350, items : [washGrid] },{ columnWidth : .49, layout : 'form', + height:350, items : [packingGrid] }] },{ layout : 'column', items:[{ columnWidth : .49, layout : 'form', + height:350, items : [reviewGrid] },{ - columnWidth : .49, + columnWidth : .49, layout : 'form', + height:350, items : [SterilizationGrid] }] },{ @@ -1038,9 +1044,11 @@ items:[{ columnWidth : .49, layout : 'form', + height:350, items : [tousseInvoiceGrid] },{ columnWidth : .49, + height:350, layout : 'form', items : [disposableInvoiceGrid] }]