Index: ssts-web/src/main/webapp/disinfectsystem/invoice/operationReservationView.js =================================================================== diff -u -r22962 -r24994 --- ssts-web/src/main/webapp/disinfectsystem/invoice/operationReservationView.js (.../operationReservationView.js) (revision 22962) +++ ssts-web/src/main/webapp/disinfectsystem/invoice/operationReservationView.js (.../operationReservationView.js) (revision 24994) @@ -81,6 +81,7 @@ handleDepart : top.Ext.getCmp("handleDepart").getRawValue(), handleDepartCoding : top.Ext.getCmp("handleDepartCoding").getValue(), consoleName : top.Ext.getCmp("consoleName").getValue(), + patientAge : top.Ext.getCmp("patientAge").getValue(), scheduleId : top.Ext.getCmp("scheduleId").getValue(), deptName : top.Ext.getCmp("deptName").getValue(), patientName : top.Ext.getCmp("patientName").getValue(), @@ -262,6 +263,22 @@ name : 'departCoding', id : 'departCoding' },{ + columnWidth : 1, + layout : 'form', + labelWidth : 65, + items : [{ + xtype:'textarea', + height : 20, + fieldLabel : '手术名称', + maxLength :100, + id : 'operationName', + name : 'operationName', + cls : 'fieldReadOnlyNoRemove', + allowBlank : false, + readOnly : true, + anchor : '100%' + }] + },{ id:'serialNum', columnWidth : .33, layout : 'form', @@ -300,21 +317,6 @@ layout : 'form', labelWidth : 65, items : [{ - xtype : 'textfield', - fieldLabel : '手术名称', - maxLength : '41', - id : 'operationName', - name : 'operationName', - cls : 'fieldReadOnlyNoRemove', - allowBlank : false, - readOnly : true, - anchor : '100%' - }] - },{ - columnWidth : .33, - layout : 'form', - labelWidth : 65, - items : [{ xtype : 'combo', id : 'depart', name : 'depart', @@ -461,6 +463,21 @@ },{ columnWidth : .33, layout : 'form', + labelWidth : 65, + items : [{ + xtype : 'textfield', + fieldLabel : '病人年龄', + maxLength : '41', + id : 'patientAge', + name : 'patientAge', + regex: /^\d+$/, + regexText:'只能输入数字', + allowBlank : true, + anchor : '100%' + }] + },{ + columnWidth : .33, + layout : 'form', hidden:true, labelWidth : 65, items : [{ @@ -679,6 +696,7 @@ top.Ext.getCmp("handleDepart").setValue(data.handleDepart); top.Ext.getCmp("handleDepartCoding").setValue(data.handleDepartCoding); top.Ext.getCmp("consoleName").setValue(data.consoleName); + top.Ext.getCmp("patientAge").setValue(data.patientAge); top.Ext.getCmp("scheduleId").setValue(data.scheduleId); top.Ext.getCmp("deptName").setValue(data.deptName); top.Ext.getCmp("patientName").setValue(data.patientName); @@ -1033,6 +1051,7 @@ {header : "住院号",width : 80,dataIndex : 'hospitalNumber'}, {header : "病人姓名",width : 70,dataIndex : 'patientName'}, {header : "病区",width : 100,dataIndex : 'deptName'}, + {header : "病人年龄",width : 100,dataIndex : 'patientAge'}, {header : "手术时间",width : 120,dataIndex : 'operationTime', renderer : myDateFormatByMinute}, //{header : "手术编号",width : 120,dataIndex : 'scheduleId'}, {header : "发货状态",width : 65,dataIndex : 'deliverStatus', renderer : renderColor}, @@ -1054,6 +1073,7 @@ {name : 'patientName'}, {name : 'deptName'}, {name : 'consoleName'}, + {name : 'patientAge'}, {name : 'deliverStatus'}, {name : 'committedStatus'}, {name : 'remark'}