|
@@ -5,6 +5,12 @@ $type = function()
|
|
|
return Dever::db('card/type')->state();
|
|
|
};
|
|
|
|
|
|
+$cate = function()
|
|
|
+{
|
|
|
+ $where['project_id'] = 1;
|
|
|
+ return Dever::db('category/info')->getTop($where);
|
|
|
+};
|
|
|
+
|
|
|
$card_type = array
|
|
|
(
|
|
|
1 => '全数字',
|
|
@@ -71,12 +77,13 @@ return array
|
|
|
'category' => array
|
|
|
(
|
|
|
'type' => 'varchar-500',
|
|
|
- 'name' => '可用商品分类',
|
|
|
+ 'name' => '可用商品分类-不选择则所有商品可用',
|
|
|
'default' => '',
|
|
|
'desc' => '可用商品分类',
|
|
|
'match' => 'is_string',
|
|
|
|
|
|
-
|
|
|
+ 'update' => 'checkbox',
|
|
|
+ 'option' => $cate,
|
|
|
|
|
|
|
|
|
),
|
|
@@ -217,7 +224,7 @@ return array
|
|
|
|
|
|
'list1' => array('卡号列表', '"code&search_option_card_id={id}&oper_table=info"'),
|
|
|
|
|
|
- 'location1' => array('商品设置', Dever::url('lib/goods_set.home', 'card')),
|
|
|
+ 'location1' => array('可用商品设置', Dever::url('lib/goods_set.home', 'card')),
|
|
|
),
|
|
|
),
|
|
|
|