采购单修改
This commit is contained in:
@@ -51,7 +51,7 @@ class ProductController extends BaseController
|
||||
$params,
|
||||
ProductModel::query()->with(['category:id,name', 'supplier:id,name'])
|
||||
)
|
||||
->orderBy('sort')
|
||||
->orderBy('sort', 'desc')
|
||||
->orderBy('id', 'desc')
|
||||
->paginate($pageSize);
|
||||
$data->getCollection()->makeVisible('cost_price');
|
||||
|
||||
Reference in New Issue
Block a user