|
@@ -1,6 +1,10 @@
|
|
|
<?php
|
|
|
$excel = false;
|
|
|
$excel[] = array('数据导出','数据导出','active/lib/excel.out_active_order');
|
|
|
+$list_button = array();
|
|
|
+if (Dever::load('manage/auth')->checkFunc('active.order', 'editRefund', '全额退款')) {
|
|
|
+ $list_button['oper'] = array('全额退款', '"active/lib/manage.refund?id={id}"', '{status} == 2');
|
|
|
+}
|
|
|
$pay_type = array
|
|
|
(
|
|
|
1 => '在线支付',
|
|
@@ -161,6 +165,29 @@ return array
|
|
|
|
|
|
),
|
|
|
|
|
|
+ 'refund_admin' => array
|
|
|
+ (
|
|
|
+ 'type' => 'int-11',
|
|
|
+ 'name' => '退款操作人',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '',
|
|
|
+ 'match' => 'is_numeric',
|
|
|
+ 'search' => 'order',
|
|
|
+ 'list_name' => '退款操作人<br>退款时间',
|
|
|
+ 'list' => 'Dever::load("active/lib/manage.show",{id})',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'rdate' => array
|
|
|
+ (
|
|
|
+ 'type' => 'int-11',
|
|
|
+ 'name' => '退款时间',
|
|
|
+ 'default' => '',
|
|
|
+ 'match' => 'is_numeric',
|
|
|
+ 'search' => 'date',
|
|
|
+
|
|
|
+
|
|
|
+ ),
|
|
|
+
|
|
|
'state' => array
|
|
|
(
|
|
|
'type' => 'tinyint-1',
|
|
@@ -190,10 +217,7 @@ return array
|
|
|
'edit' => false,
|
|
|
'insert' => false,
|
|
|
'excel' => $excel,
|
|
|
- 'list_button' => array
|
|
|
- (
|
|
|
- 'oper' => array('全额退款', '"active/lib/manage.refund?id={id}"', '{status} == 2'),
|
|
|
- ),
|
|
|
+ 'list_button' => $list_button,
|
|
|
),
|
|
|
|
|
|
'request' => array
|