|
|
@@ -437,12 +437,15 @@ class PurchaseOrderClass extends BaseClass
|
|
|
$content .= '录入人员:' . $orderInfo['shopAdminName'] . '<BR>';
|
|
|
}
|
|
|
$content .= "<BR>";
|
|
|
- $content .= "<CB>扫码查货位号</CB>";
|
|
|
- $content .= "<BR>";
|
|
|
- $host = Yii::$app->params['ghsHost'];
|
|
|
- $orderSn = $orderInfo->orderSn ?? '';
|
|
|
- $salt = $orderInfo->salt ?? '';
|
|
|
- $content .= "<QR>" . $host . "/#/pagesPurchase/info?orderSn=" . $orderSn . "&salt=" . $salt . "</QR>";
|
|
|
+ $bookSn = $shop->bookSn??0;
|
|
|
+ if(!empty($bookSn)){
|
|
|
+ $content .= "<CB>扫码查货位号</CB>";
|
|
|
+ $content .= "<BR>";
|
|
|
+ $host = Yii::$app->params['ghsHost'];
|
|
|
+ $orderSn = $orderInfo->orderSn ?? '';
|
|
|
+ $salt = $orderInfo->salt ?? '';
|
|
|
+ $content .= "<QR>" . $host . "/#/pagesPurchase/info?orderSn=" . $orderSn . "&salt=" . $salt . "</QR>";
|
|
|
+ }
|
|
|
$content .= "<BR>";
|
|
|
|
|
|
$ext = ShopExtClass::getByCondition(['shopId' => $shopId]);
|