|
@@ -65,7 +65,14 @@ $pay_type = array
|
|
|
(
|
|
|
1 => '在线支付',
|
|
|
2 => '汇款',
|
|
|
- 3 => '个人转账',
|
|
|
+
|
|
|
+);
|
|
|
+
|
|
|
+$pay_type_manage = array
|
|
|
+(
|
|
|
+
|
|
|
+ 2 => '汇款',
|
|
|
+
|
|
|
);
|
|
|
|
|
|
$get_type = array
|
|
@@ -114,6 +121,13 @@ if ($pmid) {
|
|
|
'返回上一页' => array('location', 'l=project/database/list&project=agent&table=member_area&page_type=1&mid=' . $pmid),
|
|
|
);
|
|
|
}
|
|
|
+
|
|
|
+$invite_type = array
|
|
|
+(
|
|
|
+ 1 => '邀请人',
|
|
|
+ 2 => '来源',
|
|
|
+);
|
|
|
+
|
|
|
return array
|
|
|
(
|
|
|
|
|
@@ -129,6 +143,11 @@ return array
|
|
|
'pay_type' => $pay_type,
|
|
|
'order_type' => $order_type,
|
|
|
),
|
|
|
+ 'start' => array
|
|
|
+ (
|
|
|
+
|
|
|
+ 'update' => 'agent/lib/manage.orderUpdateParent',
|
|
|
+ ),
|
|
|
'order' => 99,
|
|
|
|
|
|
'struct' => array
|
|
@@ -175,6 +194,18 @@ return array
|
|
|
'list_order' => 1,
|
|
|
),
|
|
|
|
|
|
+ 'mobile' => array
|
|
|
+ (
|
|
|
+ 'type' => 'bigint-11',
|
|
|
+ 'name' => '手机号',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '请输入手机号',
|
|
|
+ 'match' => Dever::rule('mobile'),
|
|
|
+ 'update' => 'text',
|
|
|
+ 'search' => 'fulltext',
|
|
|
+
|
|
|
+ ),
|
|
|
+
|
|
|
'order_type' => array
|
|
|
(
|
|
|
'type' => 'tinyint-1',
|
|
@@ -185,16 +216,29 @@ return array
|
|
|
'option' => $order_type,
|
|
|
),
|
|
|
|
|
|
- 'mobile' => array
|
|
|
+ 'invite_type' => array
|
|
|
(
|
|
|
- 'type' => 'bigint-11',
|
|
|
- 'name' => '手机号',
|
|
|
+ 'type' => 'tinyint-1',
|
|
|
+ 'name' => '邀请类型',
|
|
|
+ 'default' => '1',
|
|
|
+ 'desc' => '邀请类型',
|
|
|
+ 'match' => 'is_numeric',
|
|
|
+ 'option' => $invite_type,
|
|
|
+ 'update' => 'radio',
|
|
|
+ 'control' => 'invite_type',
|
|
|
+ ),
|
|
|
+
|
|
|
+ 'parent_code' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-50',
|
|
|
+ 'name' => '邀请人邀请码',
|
|
|
'default' => '',
|
|
|
- 'desc' => '请输入手机号',
|
|
|
- 'match' => Dever::rule('mobile'),
|
|
|
+ 'desc' => '邀请人邀请码',
|
|
|
+ 'match' => 'option',
|
|
|
'update' => 'text',
|
|
|
- 'search' => 'fulltext',
|
|
|
-
|
|
|
+
|
|
|
+ 'bind' => array('onblur', 'loading', array('url' => Dever::url("lib/member.search", 'agent'))),
|
|
|
+ 'show' => 'invite_type=1',
|
|
|
),
|
|
|
|
|
|
'parent_mid' => array
|
|
@@ -224,10 +268,11 @@ return array
|
|
|
'desc' => '注册来源',
|
|
|
'match' => 'is_numeric',
|
|
|
'search' => 'select',
|
|
|
- 'update' => 'checkbox',
|
|
|
+ 'update' => 'select',
|
|
|
'option' => $source_id,
|
|
|
'list' => true,
|
|
|
'list_order' => 5,
|
|
|
+ 'show' => 'invite_type=2',
|
|
|
),
|
|
|
|
|
|
'name' => array
|
|
@@ -311,9 +356,10 @@ return array
|
|
|
'match' => 'is_numeric',
|
|
|
'search' => 'select',
|
|
|
'update' => 'select',
|
|
|
- 'option' => $pay_type,
|
|
|
+ 'option' => $pay_type_manage,
|
|
|
'list' => true,
|
|
|
'list_order' => 7,
|
|
|
+ 'control' => 'pay_type',
|
|
|
),
|
|
|
|
|
|
'pay_pic' => array
|
|
@@ -326,6 +372,7 @@ return array
|
|
|
'update' => 'image',
|
|
|
'key' => '1',
|
|
|
'place' => '150',
|
|
|
+ 'show' => 'pay_type=2',
|
|
|
),
|
|
|
|
|
|
'pay_price' => array
|
|
@@ -364,6 +411,8 @@ return array
|
|
|
'desc' => '类型',
|
|
|
'match' => 'is_numeric',
|
|
|
'option' => $type,
|
|
|
+ 'update' => 'radio',
|
|
|
+ 'control' => 'type',
|
|
|
),
|
|
|
|
|
|
'sign' => array
|
|
@@ -423,6 +472,7 @@ return array
|
|
|
'update' => 'text',
|
|
|
|
|
|
|
|
|
+ 'show' => 'type=2',
|
|
|
),
|
|
|
|
|
|
'company_pic' => array
|
|
@@ -435,6 +485,7 @@ return array
|
|
|
'update' => 'image',
|
|
|
'key' => '8',
|
|
|
'place' => '660*660',
|
|
|
+ 'show' => 'type=2',
|
|
|
),
|
|
|
|
|
|
'company_number' => array
|
|
@@ -445,6 +496,7 @@ return array
|
|
|
'desc' => '营业执照号码',
|
|
|
'match' => 'is_string',
|
|
|
'update' => 'text',
|
|
|
+ 'show' => 'type=2',
|
|
|
),
|
|
|
|
|
|
'address' => array
|