Your Name 2 years ago
parent
commit
dcd7a2fbcf
1 changed files with 6 additions and 1 deletions
  1. 6 1
      service/bill/database/tixian.php

+ 6 - 1
service/bill/database/tixian.php

@@ -28,6 +28,11 @@ if (Dever::load('manage/auth')->checkFunc('bill.tixian', 'edit1', '发放')) {
 }
 
 $mid = Dever::input('search_option_mid');
+
+$mul = false;
+if (Dever::load('manage/auth')->checkFunc('bill.tixian', 'fafangedit', '批量发放')) {
+    $mul = '{status} == 1';
+}
 return array
 (
     # 表名
@@ -285,7 +290,7 @@ return array
         'insert' => false,
         'delete' => false,
         'edit' => false,
-        'mul' => '{status} == 1',
+        'mul' => $mul,
         'list_button' => $list_button,
     ),