|
@@ -66,6 +66,18 @@ $config = array
|
|
|
'option' => $type,
|
|
|
),
|
|
|
|
|
|
+ 'code' => array
|
|
|
+ (
|
|
|
+ 'type' => 'varchar-100',
|
|
|
+ 'name' => '商品条码号',
|
|
|
+ 'default' => '',
|
|
|
+ 'desc' => '商品条码号',
|
|
|
+ 'match' => 'is_string',
|
|
|
+ 'update' => 'text',
|
|
|
+ 'search' => 'fulltext',
|
|
|
+ 'list' => true,
|
|
|
+ ),
|
|
|
+
|
|
|
'price' => array
|
|
|
(
|
|
|
'type' => 'varchar-100',
|
|
@@ -225,7 +237,7 @@ $config = array
|
|
|
),
|
|
|
'type' => 'all',
|
|
|
'order' => array('id' => 'desc'),
|
|
|
- 'col' => 'id,info_id,`key`,price,s_price,f_price,type,min',
|
|
|
+ 'col' => 'id,info_id,`key`,price,s_price,f_price,type,min,code',
|
|
|
),
|
|
|
|
|
|
|
|
@@ -239,7 +251,7 @@ $config = array
|
|
|
),
|
|
|
'type' => 'all',
|
|
|
'order' => array('id' => 'desc'),
|
|
|
- 'col' => 'id,info_id,`key`,price,s_price,f_price,min|key',
|
|
|
+ 'col' => 'id,info_id,`key`,price,s_price,f_price,min,code|key',
|
|
|
),
|
|
|
|
|
|
|
|
@@ -252,7 +264,7 @@ $config = array
|
|
|
'state' => 1,
|
|
|
),
|
|
|
'type' => 'one',
|
|
|
- 'col' => 'id,info_id,price,s_price,f_price,min',
|
|
|
+ 'col' => 'id,info_id,price,s_price,f_price,min,code',
|
|
|
),
|
|
|
|
|
|
'getMinOne' => array
|
|
@@ -265,7 +277,7 @@ $config = array
|
|
|
),
|
|
|
'type' => 'one',
|
|
|
'order' => array('price' => 'asc', 'id' => 'desc'),
|
|
|
- 'col' => 'id,info_id,price,s_price,min',
|
|
|
+ 'col' => 'id,info_id,price,s_price,min,code',
|
|
|
),
|
|
|
|
|
|
'getMaxOne' => array
|
|
@@ -278,7 +290,7 @@ $config = array
|
|
|
),
|
|
|
'type' => 'one',
|
|
|
'order' => array('price' => 'desc', 'id' => 'desc'),
|
|
|
- 'col' => 'id,info_id,price,s_price,min',
|
|
|
+ 'col' => 'id,info_id,price,s_price,min,code',
|
|
|
),
|
|
|
|
|
|
|