mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-12-01 14:40:44 +00:00
feat: #10000 商品列表返回修改
This commit is contained in:
parent
d86418ea8c
commit
73cebca1e5
@ -56,7 +56,7 @@ class GoodsSkusController extends Controller
|
||||
$query->with(['type:id,name', 'brand:id,name']);
|
||||
}])
|
||||
->with(['daily' => function ($query) use ($day) {
|
||||
return $query->where('day', $day)->first(['id', 'sku_id', 'day', 'arrived_today_num', 'loss_num', 'inventory']);
|
||||
$query->where('day', $day)->first(['arrived_today_num', 'loss_num', 'inventory']);
|
||||
}])
|
||||
->paginate();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user