|
|
@@ -1279,6 +1279,14 @@ MWF.xApplication.Org.UnitExplorer.UnitContent.BaseInfor = new Class({
|
|
|
this.explorer.app.notice(this.explorer.app.lp.inputUnitInfor, "error", this.explorer.propertyContentNode);
|
|
|
return false;
|
|
|
}
|
|
|
+ if(!this.descriptionInputNode.get("value")){
|
|
|
+ this.explorer.app.notice('请输入组织描述', "error", this.explorer.propertyContentNode);
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if(((this.typeListInputNode.get("value")) ? this.typeListInputNode.get("value").split(/,\s*/g) : []).length===0){
|
|
|
+ this.explorer.app.notice('请输入组织类别', "error", this.explorer.propertyContentNode);
|
|
|
+ return false;
|
|
|
+ }
|
|
|
//this.data.genderType = gender;
|
|
|
//if (!this.uniqueInputNode.get("value")) this.data.unique = this.employeeInputNode.get("value");
|
|
|
this.content.propertyContentScrollNode.mask({
|