Index: ssts-web/src/main/webapp/disinfectsystem/recyclingdamagerecord/recyclingDamageRecordForm.js =================================================================== diff -u -r27263 -r28138 --- ssts-web/src/main/webapp/disinfectsystem/recyclingdamagerecord/recyclingDamageRecordForm.js (.../recyclingDamageRecordForm.js) (revision 27263) +++ ssts-web/src/main/webapp/disinfectsystem/recyclingdamagerecord/recyclingDamageRecordForm.js (.../recyclingDamageRecordForm.js) (revision 28138) @@ -193,7 +193,7 @@ return false; } -function addAndEditRecyclingDamageRecord(id, linkType, param) { +function addAndEditRecyclingDamageRecord(id, linkType, param, materialGrid, lastSelectTousseName) { var tempAmount = 0; var tousseStore = tousseStore = new Ext.data.Store({ proxy : new Ext.data.HttpProxy({ @@ -629,9 +629,21 @@ }] }), listeners:{ + render:function(){ + if(materialGrid.length > 0){ + for(var i=0;i 0){ + for(var i=0;i