|
|
@@ -428,6 +428,9 @@ class ApproachReconsumeOrderForm extends Model
|
|
|
$user = User::getEnCodeInfo($userId);
|
|
|
|
|
|
$decUserID = Info::getUserIdByUserName($this->decUserName);
|
|
|
+
|
|
|
+ LoggerTool::error(['decUserName' => $this->decUserName, 'decUserID' => $decUserID]);
|
|
|
+
|
|
|
$stockist_user = User::getEnCodeInfo($decUserID);
|
|
|
if(!$stockist_user || $stockist_user['IS_DEC'] != 1){
|
|
|
throw new Exception(Yii::t('app', 'stockistDoesNotExist'));
|