Index: ssts-web/src/main/webapp/disinfectsystem/invoice/operationReservationView.js =================================================================== diff -u -r15410 -r15490 --- ssts-web/src/main/webapp/disinfectsystem/invoice/operationReservationView.js (.../operationReservationView.js) (revision 15410) +++ ssts-web/src/main/webapp/disinfectsystem/invoice/operationReservationView.js (.../operationReservationView.js) (revision 15490) @@ -33,7 +33,7 @@ ]); function editOperationReservation(id) { - + var useRecordOperationRoomAllowBlank = getBoolValueFromJs('sstsConfig.useRecordOperationRoomAllowBlank',true); var handleDepartStore = new Ext.data.Store({ proxy : new Ext.data.HttpProxy({ url : WWWROOT + '/systemmanage/getCssdsByApplyDepartAndType.do', @@ -286,6 +286,20 @@ layout : 'form', labelWidth : 65, items : [{ + xtype : 'textfield', + fieldLabel : '手术间', + id : 'operatingRoom', + name : 'operatingRoom', + maxLength:10, + maxLengthText :'长度超过限制,不能保存!', + allowBlank : useRecordOperationRoomAllowBlank, + anchor : '96%' + }] + },{ + columnWidth : .33, + layout : 'form', + labelWidth : 65, + items : [{ xtype : 'datefieldWithMin', fieldLabel : '手术时间', id : 'operationTime', @@ -493,8 +507,7 @@ var params = { id : id, operationName : top.Ext.getCmp("operationName").getValue(), - operatingRoom : top.Ext.getCmp("depart").getValue(), - operatingRoomCode : top.Ext.getCmp("departCoding").getValue(), + operatingRoom : top.Ext.getCmp("operatingRoom").getValue(), doctors : top.Ext.getCmp("doctors").getValue(), operationTime : top.Ext.getCmp("operationTime").getRawValue(), depart : top.Ext.getCmp("depart").getValue(), @@ -559,6 +572,7 @@ top.Ext.getCmp("depart").setValue(data.depart); top.Ext.getCmp("departCoding").setValue(data.departCoding); top.Ext.getCmp("doctors").setValue(data.doctors); + top.Ext.getCmp("operatingRoom").setValue(data.operatingRoom); top.Ext.getCmp("operationTime").setValue(data.operationTime); top.Ext.getCmp("handleDepart").setValue(data.handleDepart); top.Ext.getCmp("handleDepartCoding").setValue(data.handleDepartCoding); @@ -644,6 +658,7 @@ {header : "申请人",width : 60,dataIndex : 'applicant'}, {header : "申请时间",width : 120,dataIndex : 'applicationTime', renderer : myDateFormatByMinute}, {header : "医生",width : 120,dataIndex : 'doctors'}, + {header : "手术间",width : 120,dataIndex : 'operatingRoom'}, {header : "手术时间",width : 120,dataIndex : 'operationTime', renderer : myDateFormatByMinute}, {header : "发货状态",width : 65,dataIndex : 'deliverStatus', renderer : renderColor}, {id:'remark',header: "备注", dataIndex: 'remark'} @@ -657,6 +672,7 @@ {name : 'applicant'}, {name : 'applicationTime'}, {name : 'doctors'}, + {name : 'operatingRoom'}, {name : 'deliverStatus'}, {name : 'remark'} ]; @@ -667,6 +683,7 @@ {type: 'string', dataIndex: 'depart'}, {type: 'string', dataIndex: 'applicant'}, {type: 'string', dataIndex: 'doctors'}, + {type: 'string', dataIndex: 'operatingRoom'}, {type: 'string', dataIndex: 'deliverStatus'}, {type: 'string', dataIndex: 'remark'} ]}