rabin 3 years ago
parent
commit
9f15cfb2da
1 changed files with 3 additions and 1 deletions
  1. 3 1
      service/agent/database/soft_cash.php

+ 3 - 1
service/agent/database/soft_cash.php

@@ -54,6 +54,8 @@ if ($search_auth == 1) {
         $excel[] = array('数据导出','软件服务费', 'agent/lib/soft_cash.out_soft_cash');
     }
 
+    $list_button['edit'] = array('编辑', '', '{status} != 3');
+
     $list_button['list'] = array('查看详情', '"member_prize&project=agent&id={id}&page_type=1&[refer]"');
     $list_button['oper'] = array('删除订单', '"agent/lib/soft_cash.setOrderStatus?id={id}&value=4"', '{status} == 4');
 } else {
@@ -366,7 +368,7 @@ return array
     (
     	'insert' => $insert,
     	'delete' => false,
-    	'edit'   => $edit,
+    	'edit'   => false,
         'excel' => $excel,
         'button' => $button,
     	'list_button' => $list_button,