|
|
@@ -209,11 +209,11 @@ class ApproachDeclarationForm extends Model
|
|
|
//反转数组,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, 'To' . $this->insertUserName . 'Entry, Stockist' . $this->decUserName . 'not in exist' . $this->insertUserName . 'in the placement superiors');
|
|
|
- return ;
|
|
|
- }
|
|
|
+// if (!isset($flipParent[$this->decUserName])) {
|
|
|
+// //$this->addError($attribute, '为' . $this->insertUserName . '报单,报单中心' . $this->decUserName . '不在' . $this->insertUserName . '的安置网上级中');
|
|
|
+// $this->addError($attribute, 'To' . $this->insertUserName . 'Entry, Stockist' . $this->decUserName . 'not in exist' . $this->insertUserName . 'in the placement superiors');
|
|
|
+// return ;
|
|
|
+// }
|
|
|
}
|
|
|
|
|
|
$this->_decId = $decUser['ID'];
|