Index: ssts-web/src/main/webapp/disinfectsystem/foreigntousseapplication/foreignTousseInfoForm.js =================================================================== diff -u -r34405 -r34414 --- ssts-web/src/main/webapp/disinfectsystem/foreigntousseapplication/foreignTousseInfoForm.js (.../foreignTousseInfoForm.js) (revision 34405) +++ ssts-web/src/main/webapp/disinfectsystem/foreigntousseapplication/foreignTousseInfoForm.js (.../foreignTousseInfoForm.js) (revision 34414) @@ -159,6 +159,7 @@ {name : 'temporaryPurchase'}, {name : 'foreignToussePrintAmount'}, {name : 'splitNumber'}, + {name : 'isTerminated'}, {name : 'minDismantleAmount'}, {name : 'washClassifyType'} ]}); @@ -1940,6 +1941,7 @@ } },{ text : '终止选中的物品', + hidden : (id == "" ? true : false), handler : function() { var tree = top.Ext4.getCmp('foreignTousseTreeGridForm'); var selNodes = tree.getView().getChecked(); @@ -3440,6 +3442,13 @@ height: setHeight, autoHeight:true, forceFit: true, + viewConfig : { + getRowClass: function(record) { + if(!record.data.leaf && record.data.isTerminated){ + return 'terminated-row'; + } + } + }, listeners : { 'itemcontextmenu' : function(menutree, record, items, index, e) { e.preventDefault();