@@ -258,8 +258,14 @@
width:70,
dataIndex:'download',
customRender:function (t,r,index) {
+ var childrenVal
+ if(r.shenheStatus === '1'){
+ childrenVal = (<a href="#" id='download111'> 下载委托</a>)
+ } else {
+ childrenVal = (<a href="#" id='download111' disabled> 下载委托</a>)
+ }
return {
- children: (<a href="#" id='download111'> 下载委托</a>),
+ children: childrenVal,
attrs: {
rowSpan: r.rowSpan
}