|
|
@@ -766,7 +766,7 @@ class PurchaseOrderController extends BaseController
|
|
|
$adminId = $this->adminId ?? 0;
|
|
|
$cgId = $cg->id ?? 0;
|
|
|
$cgBookSn = $cg->bookSn ?? 0;
|
|
|
- if (!empty($adminId)) {
|
|
|
+ if (!empty($adminId) && empty($salt)) {
|
|
|
if ($cg->mainId != $this->mainId) {
|
|
|
util::success(['need' => 0, 'hint' => 'cgMainId != thisMainId']);
|
|
|
}
|