|
@@ -607,7 +607,7 @@ class Order
|
|
|
array('支付凭证', $pay_pic),
|
|
|
),
|
|
|
);
|
|
|
-
|
|
|
+
|
|
|
if ($info['parent_mid'] && $info['parent_mid'] > 0) {
|
|
|
$parent = Dever::db('agent/member')->one($info['parent_mid']);
|
|
|
if ($parent) {
|
|
@@ -688,6 +688,17 @@ class Order
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ if (Dever::load('manage/auth')->checkFunc('agent.order', 'edit_qiquan', '修改期权价值')) {
|
|
|
+ $purl = Dever::url('project/database/update?project=agent&table=order&where_id='.$info['id'].'&col=option_price', 'manage');
|
|
|
+
|
|
|
+ $button[] = array
|
|
|
+ (
|
|
|
+ 'type' => 'edit',
|
|
|
+ 'link' => $purl,
|
|
|
+ 'name' => '修改期权价值',
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
if (Dever::load('manage/auth')->checkFunc('agent.order', 'edit2', '挂起')) {
|
|
|
if ($info['status'] <= 3 && $info['status'] > 0) {
|
|
|
# 未完成审核的订单,可以随时挂起
|