Index: ssts-web/src/main/webapp/disinfectsystem/basedatamanager/tousse/comboTousseForm.js =================================================================== diff -u -r28639 -r29411 --- ssts-web/src/main/webapp/disinfectsystem/basedatamanager/tousse/comboTousseForm.js (.../comboTousseForm.js) (revision 28639) +++ ssts-web/src/main/webapp/disinfectsystem/basedatamanager/tousse/comboTousseForm.js (.../comboTousseForm.js) (revision 29411) @@ -623,7 +623,7 @@ eventEdit = obj; }, afteredit: function (e, test) { - if(modifyRecord['tousseDefinitionId']){ + if(modifyRecord['tousseDefinitionId'] && e.field == "tousseDefinitionName"){ configStore.getAt(e.row).set('tousseDefinitionId', modifyRecord['tousseDefinitionId']); } eventEdit = null; @@ -1044,29 +1044,29 @@ labelWidth: fontSize == 12 ? 90 : 100, labelAlign: "right", items: [crearteHandlerDepartNameCombo(departStore)] - },{ - columnWidth : .25, - layout : 'form', - labelWidth : fontSize == 12 ? 120 : 160, - items:[{ - xtype : 'combo', - fieldLabel : '签收后录入使用记录', - id : 'registUseRecordAfterSigned', - name : 'registUseRecordAfterSigned', - valueField : 'value', - displayField : 'value', - store : new Ext.data.SimpleStore( { - fields : [ 'value'], - data : [['是'],['否']] - }), - editable : false, - forceSelection : true, - allowBlank : false, - value : '否', - mode : 'local', - triggerAction : 'all', - anchor : '95%' - }] + },{ + columnWidth : .25, + layout : 'form', + labelWidth : fontSize == 12 ? 120 : 160, + items:[{ + xtype : 'combo', + fieldLabel : '签收后录入使用记录', + id : 'registUseRecordAfterSigned', + name : 'registUseRecordAfterSigned', + valueField : 'value', + displayField : 'value', + store : new Ext.data.SimpleStore( { + fields : [ 'value'], + data : [['是'],['否']] + }), + editable : false, + forceSelection : true, + allowBlank : false, + value : '否', + mode : 'local', + triggerAction : 'all', + anchor : '95%' + }] }] }, { columnWidth: 0.5,