Index: ssts-web/src/main/webapp/disinfectsystem/foreigntousseapplication/foreignTousseInfoForm.js =================================================================== diff -u -r27866 -r27943 --- ssts-web/src/main/webapp/disinfectsystem/foreigntousseapplication/foreignTousseInfoForm.js (.../foreignTousseInfoForm.js) (revision 27866) +++ ssts-web/src/main/webapp/disinfectsystem/foreigntousseapplication/foreignTousseInfoForm.js (.../foreignTousseInfoForm.js) (revision 27943) @@ -1263,7 +1263,6 @@ suppler1Comp.forceSelection = true; supplierContacJsonStore.load(); returnContactJsonStore.load(); - //给配置项expandFieldsOfForeignTousseApplicationForm新增字段赋值 if(sstsConfig.expandFieldsOfForeignTousseApplicationForm && sstsConfig.expandFieldsOfForeignTousseApplicationForm.length > 0){ var sterilizationMethodVal = top.Ext4.getCmp("sterilizationMethod").getValue(); @@ -1277,6 +1276,14 @@ top.Ext4.getCmp("sterilizationTime").setValue(records[0].get("sterilizationTime")); top.Ext4.getCmp("dryTime").setValue(records[0].get("dryTime")); top.Ext4.getCmp("explain").setValue(records[0].get("explain")); + }else{ + if(foreignTousseStore.getRootNode().childNodes.length == 0){ + top.Ext4.getCmp("sterilizationMethod").setValue(records[0].get("sterilizationMethod")); + top.Ext4.getCmp("sterilizationTemp").setValue(records[0].get("sterilizationTemp")); + top.Ext4.getCmp("sterilizationTime").setValue(records[0].get("sterilizationTime")); + top.Ext4.getCmp("dryTime").setValue(records[0].get("dryTime")); + top.Ext4.getCmp("explain").setValue(records[0].get("explain")); + } } } }