|
@@ -13,7 +13,7 @@ $tag = array
|
|
3 => '学校',
|
|
3 => '学校',
|
|
//4 => '其他',
|
|
//4 => '其他',
|
|
);
|
|
);
|
|
-
|
|
|
|
|
|
+$col = Dever::input('col');
|
|
return array
|
|
return array
|
|
(
|
|
(
|
|
# 表名
|
|
# 表名
|
|
@@ -21,6 +21,11 @@ return array
|
|
# 显示给用户看的名称
|
|
# 显示给用户看的名称
|
|
'lang' => '用户地址库',
|
|
'lang' => '用户地址库',
|
|
'menu' => false,
|
|
'menu' => false,
|
|
|
|
+
|
|
|
|
+ 'end' => array
|
|
|
|
+ (
|
|
|
|
+ 'insert' => 'agent/lib/dhorder.addressUpdate',
|
|
|
|
+ ),
|
|
# 数据结构
|
|
# 数据结构
|
|
'struct' => array
|
|
'struct' => array
|
|
(
|
|
(
|
|
@@ -41,7 +46,7 @@ return array
|
|
(
|
|
(
|
|
'type' => 'int-11',
|
|
'type' => 'int-11',
|
|
'name' => '代理商',
|
|
'name' => '代理商',
|
|
- 'default' => '-1',
|
|
|
|
|
|
+ 'default' => Dever::input('search_option_mid'),
|
|
'desc' => '代理商',
|
|
'desc' => '代理商',
|
|
'match' => 'is_string',
|
|
'match' => 'is_string',
|
|
'update' => 'text',
|
|
'update' => 'text',
|
|
@@ -51,6 +56,25 @@ return array
|
|
'col' => 'name',
|
|
'col' => 'name',
|
|
'result' => 'id',
|
|
'result' => 'id',
|
|
),
|
|
),
|
|
|
|
+ 'value' => Dever::input('search_option_mid'),
|
|
|
|
+ //'list' => 'Dever::load("agent/member-find#name", {mid})',
|
|
|
|
+ ),
|
|
|
|
+
|
|
|
|
+ 'info_id' => array
|
|
|
|
+ (
|
|
|
|
+ 'type' => 'int-11',
|
|
|
|
+ 'name' => '权益订单id',
|
|
|
|
+ 'default' => Dever::input('search_option_info_id'),
|
|
|
|
+ 'desc' => '代理商',
|
|
|
|
+ 'match' => 'is_string',
|
|
|
|
+ 'update' => 'text',
|
|
|
|
+ 'searchs' => array
|
|
|
|
+ (
|
|
|
|
+ 'api' => 'agent/member-select',
|
|
|
|
+ 'col' => 'name',
|
|
|
|
+ 'result' => 'id',
|
|
|
|
+ ),
|
|
|
|
+ 'value' => Dever::input('search_option_info_id'),
|
|
//'list' => 'Dever::load("agent/member-find#name", {mid})',
|
|
//'list' => 'Dever::load("agent/member-find#name", {mid})',
|
|
),
|
|
),
|
|
|
|
|
|
@@ -74,7 +98,8 @@ return array
|
|
'desc' => '联系人',
|
|
'desc' => '联系人',
|
|
'match' => 'option',
|
|
'match' => 'option',
|
|
'search' => 'fulltext',
|
|
'search' => 'fulltext',
|
|
- //'update' => 'text',
|
|
|
|
|
|
+ 'update' => $col ? 'text' : '',
|
|
|
|
+ 'value' => Dever::input('search_option_contact'),
|
|
//'list' => true,
|
|
//'list' => true,
|
|
),
|
|
),
|
|
|
|
|
|
@@ -86,7 +111,8 @@ return array
|
|
'desc' => '联系电话',
|
|
'desc' => '联系电话',
|
|
'match' => 'option',
|
|
'match' => 'option',
|
|
'search' => 'fulltext',
|
|
'search' => 'fulltext',
|
|
- //'update' => 'text',
|
|
|
|
|
|
+ 'update' => $col ? 'text' : '',
|
|
|
|
+ 'value' => Dever::input('search_option_mobile'),
|
|
//'list' => true,
|
|
//'list' => true,
|
|
),
|
|
),
|
|
|
|
|
|
@@ -140,6 +166,7 @@ return array
|
|
'search' => 'linkage',
|
|
'search' => 'linkage',
|
|
'update' => 'linkage',
|
|
'update' => 'linkage',
|
|
'option' => Dever::url('api.get', 'area'),
|
|
'option' => Dever::url('api.get', 'area'),
|
|
|
|
+ 'value' => Dever::input('search_option_area'),
|
|
'list' => 'Dever::load("area/api.string", "{area}")',
|
|
'list' => 'Dever::load("area/api.string", "{area}")',
|
|
),
|
|
),
|
|
|
|
|
|
@@ -150,7 +177,8 @@ return array
|
|
'default' => '',
|
|
'default' => '',
|
|
'desc' => '详细地址',
|
|
'desc' => '详细地址',
|
|
'match' => 'option',
|
|
'match' => 'option',
|
|
- //'update' => 'text',
|
|
|
|
|
|
+ 'update' => $col ? 'text' : '',
|
|
|
|
+ 'value' => Dever::input('search_option_address'),
|
|
//'list' => true,
|
|
//'list' => true,
|
|
),
|
|
),
|
|
|
|
|
|
@@ -161,7 +189,8 @@ return array
|
|
'default' => '',
|
|
'default' => '',
|
|
'desc' => '门牌号',
|
|
'desc' => '门牌号',
|
|
'match' => 'option',
|
|
'match' => 'option',
|
|
- //'update' => 'text',
|
|
|
|
|
|
+ 'update' => $col ? 'text' : '',
|
|
|
|
+ 'value' => Dever::input('search_option_house_number'),
|
|
//'list' => true,
|
|
//'list' => true,
|
|
),
|
|
),
|
|
|
|
|