Browse Source

已作废不受状态影响

xiaohaizhao 2 years ago
parent
commit
ecf7616169
1 changed files with 4 additions and 4 deletions
  1. 4 4
      packageA/saleClue/detail.js

+ 4 - 4
packageA/saleClue/detail.js

@@ -244,10 +244,6 @@ Page({
             icon: "icon-zhuanyi",
             label: "更换负责人"
         })
-        tabbarList.push({
-            icon: "icon-dibu-jieshu",
-            label: "作废"
-        })
         if (isLeader) {
             tabbarList.push({
                 icon: "icon-dibu-wuxiao",
@@ -274,6 +270,10 @@ Page({
             }
         }
         if (res.data.status != '待跟进' && res.data.status != '跟进中' && res.data.status != '已转化') tabbarList = [];
+        tabbarList.push({
+            icon: "icon-dibu-jieshu",
+            label: "作废"
+        })
         this.setData({
             tabbarList,
             isLeader,