mirror of
				https://gitee.com/zoujingli/ThinkAdmin.git
				synced 2025-10-31 04:02:07 +08:00 
			
		
		
		
	Update Order.php
This commit is contained in:
		
							parent
							
								
									aefb13f5ef
								
							
						
					
					
						commit
						34575d8981
					
				| @ -138,8 +138,8 @@ class Order extends Auth | |||||||
|         } |         } | ||||||
|         try { |         try { | ||||||
|             // 订单发货类型
 |             // 订单发货类型
 | ||||||
|  |             $order['status'] = $truckType ? 1 : 2; | ||||||
|             $order['truck_type'] = $truckType; |             $order['truck_type'] = $truckType; | ||||||
|             $order['status'] = $truckType ? 2 : 1; |  | ||||||
|             // 统计商品数量
 |             // 统计商品数量
 | ||||||
|             $order['number_goods'] = array_sum(array_column($items, 'stock_sales')); |             $order['number_goods'] = array_sum(array_column($items, 'stock_sales')); | ||||||
|             // 统计商品金额
 |             // 统计商品金额
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user