dever 6 years ago
parent
commit
ab69f6eaa9
1 changed files with 21 additions and 0 deletions
  1. 21 0
      product/database/order.php

+ 21 - 0
product/database/order.php

@@ -13,6 +13,13 @@ $status = array
 	3 => '支付失败',
 );
 
+$fastatus = array
+(
+	1 => '未发货',
+	2 => '已发货',
+	3 => '已收货',
+);
+
 $product = function()
 {
 	return Dever::db('product/info')->state();
@@ -151,6 +158,20 @@ return array
 			'list'		=> true,
 		),
 
+		'fastatus'		=> array
+		(
+			'type' 		=> 'tinyint-1',
+			'name' 		=> '发货状态',
+			'default' 	=> '1',
+			'desc' 		=> '发货状态',
+			'match' 	=> 'is_numeric',
+			'option' 	=> $fastatus,
+			'search'	=> 'select',
+			'update'	=> 'radio',
+			'list'		=> true,
+			'edit'		=> true,
+		),
+
 		'state'		=> array
 		(
 			'type' 		=> 'tinyint-1',