Переглянути джерело

Merge remote-tracking branch 'origin/master'

32197351@qq.com 1 рік тому
батько
коміт
1b382f85c3

+ 7 - 1
itdmWeb/src/views/module-iTDM/weituochaxun/ItdmWeituoYangpinList.vue

@@ -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
                 }