|
|
@@ -2,6 +2,7 @@
|
|
|
|
|
|
namespace bizGhs\order\classes;
|
|
|
|
|
|
+use biz\shop\classes\ShopClass;
|
|
|
use bizGhs\product\classes\ProductClass;
|
|
|
use bizGhs\stock\classes\StockRecordClass;
|
|
|
use bizGhs\stock\services\StockRecordService;
|
|
|
@@ -209,8 +210,8 @@ class StockOutOrderClass extends BaseClass
|
|
|
$orderData['itemInfo'] = $itemData;
|
|
|
$orderData['statusName'] = self::getStatusName($orderData['status']);
|
|
|
$inShopId = $orderData['inShopId'];
|
|
|
- //shopName todo
|
|
|
- $orderData['shopName'] = "入库门店名称";
|
|
|
+ $inShop = ShopClass::getById($inShopId);
|
|
|
+ $orderData['shopName'] = $inShop['shopName'] ?? '';
|
|
|
return $orderData;
|
|
|
}
|
|
|
|