From 7365d1830ac170361d15235e0917c1609300d9d4 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Sat, 10 Aug 2024 18:00:18 +0800 Subject: [PATCH] 1 --- app/admin/logic/store_product/StoreProductLogic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/admin/logic/store_product/StoreProductLogic.php b/app/admin/logic/store_product/StoreProductLogic.php index cada0b7d..a559210e 100644 --- a/app/admin/logic/store_product/StoreProductLogic.php +++ b/app/admin/logic/store_product/StoreProductLogic.php @@ -547,8 +547,8 @@ class StoreProductLogic extends BaseLogic if($warehouse['nums']< $product_arr['stock']){ $storage['status'] = -1; $data['status'] = -1; - $storage['mark'] = '库存不足,分库存为:' .$warehouse['nums']; - $data['mark'] = '库存不足,分库存为:' .$warehouse['nums'].' 总仓库存为:'.$find['stock']; + $storage['mark'] = '库存【'.$warehouse_id.'】不足,分库存为:' .$warehouse['nums']; + $data['mark'] = '库存【'.$warehouse_id.'】不足,分库存为:' .$warehouse['nums'].' 总仓库存为:'.$find['stock']; } $res=WarehouseProductLogic::add($data); $storage['outbound_id']=$res['id']??0;