diff --git a/o2web/source/x_component_process_Xform/Org.js b/o2web/source/x_component_process_Xform/Org.js index 597c37c427674592dd0f93cf48119f13ca36c702..53c5329d0c66e7b07974613da11cb8a99203b253 100644 --- a/o2web/source/x_component_process_Xform/Org.js +++ b/o2web/source/x_component_process_Xform/Org.js @@ -598,9 +598,18 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class( this.fireEvent("loadSelector", [selector]) }, selectOnClose: function(){ - v = this._getBusinessData(); + var v = this._getBusinessData(); if (!v || !v.length) if (this.descriptionNode) this.descriptionNode.setStyle("display", "block"); }, + checkDescription: function(){ + if (!this.descriptionNode)return; + var v = this._getBusinessData(); + if (!v || !v.length){ + this.descriptionNode.setStyle("display", "block"); + }else{ + this.descriptionNode.setStyle("display", "none"); + } + }, /** * @summary 弹出选择界面. @@ -1314,6 +1323,8 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class( this.node.store("data", values); this._setBusinessData(values); + this.checkDescription(); + if (this.json.isInput){ if (this.combox){