购物车新增删除标识
This commit is contained in:
parent
5e5cc45490
commit
1109eb92f1
@ -63,7 +63,8 @@ class CartList extends BaseAdminDataLists implements ListsSearchInterface, Lists
|
|||||||
foreach ($list as $key => &$item) {
|
foreach ($list as $key => &$item) {
|
||||||
|
|
||||||
$find = StoreBranchProduct::where(['product_id' => $item['product_id'],'store_id' => $item['store_id']])
|
$find = StoreBranchProduct::where(['product_id' => $item['product_id'],'store_id' => $item['store_id']])
|
||||||
->field('product_id,image,price,cost,store_name,unit')
|
->field('product_id,image,price,cost,store_name,unit,delete_time')
|
||||||
|
->withTrashed()
|
||||||
->find();
|
->find();
|
||||||
// if (isset($check) && $check['status'] == 1) {
|
// if (isset($check) && $check['status'] == 1) {
|
||||||
// $find['price'] = $find['cost'];
|
// $find['price'] = $find['cost'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user