|
|
@@ -734,7 +734,7 @@ class PurchaseOrderController extends BaseController
|
|
|
$orderSn = $get['orderSn'] ?? '';
|
|
|
$salt = $get['salt'] ?? '';
|
|
|
$adminId = $this->adminId ?? 0;
|
|
|
- if (!empty($adminId)) {
|
|
|
+ if (!empty($adminId) && empty($salt)) {
|
|
|
$orderData = PurchaseOrderClass::getOrderDetail($orderSn, $this->shopId);
|
|
|
} else {
|
|
|
$info = PurchaseOrderClass::getByCondition(['orderSn' => $orderSn], true);
|