rabin 3 年之前
父节点
当前提交
9f15cfb2da
共有 1 个文件被更改,包括 3 次插入1 次删除
  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');
         $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['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');
     $list_button['oper'] = array('删除订单', '"agent/lib/soft_cash.setOrderStatus?id={id}&value=4"', '{status} == 4');
 } else {
 } else {
@@ -366,7 +368,7 @@ return array
     (
     (
     	'insert' => $insert,
     	'insert' => $insert,
     	'delete' => false,
     	'delete' => false,
-    	'edit'   => $edit,
+    	'edit'   => false,
         'excel' => $excel,
         'excel' => $excel,
         'button' => $button,
         'button' => $button,
     	'list_button' => $list_button,
     	'list_button' => $list_button,