Index: ssts-web/src/main/webapp/disinfectsystem/basedatamanager/tousse/tousseForm.js =================================================================== diff -u -r39139 -r39141 --- ssts-web/src/main/webapp/disinfectsystem/basedatamanager/tousse/tousseForm.js (.../tousseForm.js) (revision 39139) +++ ssts-web/src/main/webapp/disinfectsystem/basedatamanager/tousse/tousseForm.js (.../tousseForm.js) (revision 39141) @@ -861,8 +861,9 @@ if(sstsConfig.showTousseNoteOnClickTousse && tousseDefinition.showTousseNote == ''){ top.Ext.getCmp('showTousseNote').setValue('是'); } - if(sstsConfig.enableTousseApplySummary && tousseDefinition.technicalDifficultyId == 0){ - top.Ext.getCmp('technicalDifficultyId').setValue(''); + if(sstsConfig.enableTousseApplySummary){ + top.Ext.getCmp('technicalDifficultyName').setValue(tousseDefinition.technicalDifficultyId || ''); + top.Ext.getCmp('technicalDifficultyId').setValue(tousseDefinition.technicalDifficultyId); } //ZSWY-206:显示或隐藏灭菌包装类型和灭菌标签纸类型 var tousseType = top.Ext.getCmp('tousseType').getValue(); @@ -3333,10 +3334,14 @@ hidden: !sstsConfig.enableTousseApplySummary, labelAlign: "right", items: [{ + xtype:'hidden', + id:'technicalDifficultyId', + name:'technicalDifficultyId' + },{ xtype: 'combo', fieldLabel: '技术难度', - id: 'technicalDifficultyId', - name: 'technicalDifficultyId', + id: 'technicalDifficultyName', + name: 'technicalDifficultyName', editable: true, valueField: 'id', displayField: 'name', @@ -3345,7 +3350,12 @@ forceSelection: true, allowBlank: true, triggerAction: 'all', - anchor: '100%' + anchor: '100%', + listeners: { + select: function (combo, record, index) { + top.Ext.getCmp('technicalDifficultyId').setValue(record.data.id); + } + } }] }, { columnWidth: colWidth,