shish 2 anni fa
parent
commit
559c7c4d40
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      biz-ghs/order/classes/StockOutOrderClass.php

+ 5 - 0
biz-ghs/order/classes/StockOutOrderClass.php

@@ -300,7 +300,12 @@ class StockOutOrderClass extends BaseClass
         $orderSn = $out->orderSn;
         $itemList = StockOutOrderItemClass::getAllByCondition(['orderSn' => $orderSn], null, '*');
 
+        $sjName = $shop->merchantName ?? '';
+        $shopName = $shop->shopName ?? '';
+        $currentName = $shopName == '首店' ? $sjName : $sjName . ' ' . $shopName;
+
         $content = '';
+        $content .= "<CB>{$currentName}</CB><BR>";
         $content .= "<CB>出库单</CB><BR><BR>";
         $content .= '<CB>' . $orderSn . '</CB><BR><BR>';
         $content .= '<CB>' . date("m-d H:i", strtotime($out->outTime)) . '</CB><BR>';