rabin 3 年之前
父节点
当前提交
5e8c406974
共有 1 个文件被更改,包括 15 次插入4 次删除
  1. 15 4
      app/cash/lib/Set.php

+ 15 - 4
app/cash/lib/Set.php

@@ -246,11 +246,22 @@ class Set
 
             </tr>';
 
-            $html .= '<tr>
-              <td width="100">平台对账状态</td>
-              <td>'.$this->table(false, array(array($status))).'</td>
+            $manage_config = Dever::db('main/manage_config')->find();
+            $s = 2;
+            if ($table == 'cash/shop' && $manage_config['buy_dz'] == 1) {
+                $s = 1;
+            }
+            if ($table == 'cash/shop_sell' && $manage_config['sell_dz'] == 1) {
+                $s = 1;
+            }
+            if ($s == 1) {
+                $html .= '<tr>
+                  <td width="100">平台对账状态</td>
+                  <td>'.$this->table(false, array(array($status))).'</td>
 
-            </tr>';
+                </tr>';
+            }
+            
         } else {
             $html .= '<tr>
               <td width="80">对账状态</td>