|
|
@@ -444,15 +444,15 @@ class DeclarationUpgradeForm extends Model
|
|
|
return false;
|
|
|
} else {
|
|
|
// 判断报单中心是否在新加入会员的安置网上级中
|
|
|
- $this->loopFindParentToNetwork($this->insertUserName);
|
|
|
- //反转数组,in_array搜索错误
|
|
|
- //in_array($this->decUserName, $this->_tempNetworkParentUser[$this->insertUserName]);
|
|
|
- $flipParent = array_flip(array_filter($this->_tempNetworkParentUser[$this->insertUserName]));
|
|
|
- if (!isset($flipParent[$this->decUserName])) {
|
|
|
-// $this->addError($attribute, '为' . $this->insertUserName . '升级报单,报单中心' . $this->decUserName . '不在' . $this->insertUserName . '的安置网上级中');
|
|
|
- $this->addError($attribute, 'by' . $this->insertUserName . 'Upgrade declaration, Stockist' . $this->decUserName . 'be not in' . $this->insertUserName . 'Online level of resettlement');
|
|
|
- return ;
|
|
|
- }
|
|
|
+// $this->loopFindParentToNetwork($this->insertUserName);
|
|
|
+// //反转数组,in_array搜索错误
|
|
|
+// //in_array($this->decUserName, $this->_tempNetworkParentUser[$this->insertUserName]);
|
|
|
+// $flipParent = array_flip(array_filter($this->_tempNetworkParentUser[$this->insertUserName]));
|
|
|
+// if (!isset($flipParent[$this->decUserName])) {
|
|
|
+//// $this->addError($attribute, '为' . $this->insertUserName . '升级报单,报单中心' . $this->decUserName . '不在' . $this->insertUserName . '的安置网上级中');
|
|
|
+// $this->addError($attribute, 'by' . $this->insertUserName . 'Upgrade declaration, Stockist' . $this->decUserName . 'be not in' . $this->insertUserName . 'Online level of resettlement');
|
|
|
+// return ;
|
|
|
+// }
|
|
|
$this->_decId = $decUser['ID'];
|
|
|
}
|
|
|
}
|