默认重量

This commit is contained in:
liu
2026-09-05 14:37:22 +08:00
parent 364471a086
commit 12cbed411b
10 changed files with 205 additions and 8 deletions
@@ -51,7 +51,7 @@ class ProductController extends BaseController
$params,
ProductModel::query()->with(['category:id,name', 'supplier:id,name'])
)
->orderBy('sort', 'desc')
->orderBy('sort')
->orderBy('id', 'desc')
->paginate($pageSize);
$data->getCollection()->makeVisible('cost_price');