chenqp 1 rok temu
rodzic
commit
320d6b7d68
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/Service/FyyOrderService.php

+ 1 - 1
app/Service/FyyOrderService.php

@@ -15,7 +15,7 @@ class FyyOrderService extends Service
 {
 {
     public function salesOrderList($data,$user){
     public function salesOrderList($data,$user){
         $model = SaleOrdersProduct::where('del_time',0)
         $model = SaleOrdersProduct::where('del_time',0)
-            ->select('out_order_no','customer_name')
+            ->select('out_order_no','customer_name','order_no')
             ->groupBy('out_order_no')
             ->groupBy('out_order_no')
             ->orderBy('crt_time','desc')
             ->orderBy('crt_time','desc')
             ->orderBy('id','asc');
             ->orderBy('id','asc');