浏览代码

Merge remote-tracking branch 'origin/master'

32197351@qq.com 1 年之前
父节点
当前提交
1b382f85c3
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      itdmWeb/src/views/module-iTDM/weituochaxun/ItdmWeituoYangpinList.vue

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

@@ -258,8 +258,14 @@
             width:70,
             width:70,
             dataIndex:'download',
             dataIndex:'download',
             customRender:function (t,r,index) {
             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 {
               return {
-                children: (<a href="#" id='download111'> 下载委托</a>),
+                children: childrenVal,
                 attrs: {
                 attrs: {
                   rowSpan: r.rowSpan
                   rowSpan: r.rowSpan
                 }
                 }