提交 2345dc0c 编写于 作者: 蔡祥熠

Merge branch 'fix/Process.org_isinput_execption' into 'wrdp'

Merge of fix/[流程管理]修复人员选择组件设置为只读,允许输入时的问题 to wrdp

See merge request o2oa/o2oa!1441

(cherry picked from commit 59709be306489f55fc8d028347a77ee14e26f955)

19de354d 修复人员选择组件设置为只读,允许输入的时候的问题
上级 2f8ba2c1
...@@ -437,6 +437,7 @@ MWF.xApplication.cms.Xform.Readerfield = MWF.CMSReaderfield = new Class({ ...@@ -437,6 +437,7 @@ MWF.xApplication.cms.Xform.Readerfield = MWF.CMSReaderfield = new Class({
} else { } else {
var node = this.node.getFirst(); var node = this.node.getFirst();
if (node) { if (node) {
node.empty();
comboxValues.each(function (v, i) { comboxValues.each(function (v, i) {
this.creteShowNode(v, (i === comboxValues.length - 1)).inject(node); this.creteShowNode(v, (i === comboxValues.length - 1)).inject(node);
}.bind(this)); }.bind(this));
......
...@@ -775,6 +775,7 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class({ ...@@ -775,6 +775,7 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class({
}else{ }else{
var node = this.node.getFirst(); var node = this.node.getFirst();
if (node){ if (node){
node.empty();
comboxValues.each(function(v, i){ comboxValues.each(function(v, i){
this.creteShowNode(v, (i===comboxValues.length-1)).inject(node); this.creteShowNode(v, (i===comboxValues.length-1)).inject(node);
}.bind(this)); }.bind(this));
...@@ -900,6 +901,7 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class({ ...@@ -900,6 +901,7 @@ MWF.xApplication.process.Xform.Org = MWF.APPOrg = new Class({
}else{ }else{
var node = this.node.getFirst(); var node = this.node.getFirst();
if (node){ if (node){
node.empty();
comboxValues.each(function(v, i){ comboxValues.each(function(v, i){
this.creteShowNode(v, (i===comboxValues.length-1)).inject(node); this.creteShowNode(v, (i===comboxValues.length-1)).inject(node);
}.bind(this)); }.bind(this));
......
...@@ -450,6 +450,7 @@ MWF.xApplication.process.Xform.Orgfield = MWF.APPOrgfield = new Class({ ...@@ -450,6 +450,7 @@ MWF.xApplication.process.Xform.Orgfield = MWF.APPOrgfield = new Class({
}else{ }else{
var node = this.node.getFirst(); var node = this.node.getFirst();
if (node){ if (node){
node.empty();
comboxValues.each(function(v, i){ comboxValues.each(function(v, i){
this.creteShowNode(v, (i===comboxValues.length-1)).inject(node); this.creteShowNode(v, (i===comboxValues.length-1)).inject(node);
}.bind(this)); }.bind(this));
......
...@@ -706,6 +706,7 @@ MWF.xApplication.process.Xform.Personfield = MWF.APPPersonfield = new Class({ ...@@ -706,6 +706,7 @@ MWF.xApplication.process.Xform.Personfield = MWF.APPPersonfield = new Class({
}else{ }else{
var node = this.node.getFirst(); var node = this.node.getFirst();
if (node){ if (node){
node.empty();
comboxValues.each(function(v, i){ comboxValues.each(function(v, i){
this.creteShowNode(v, (i===comboxValues.length-1)).inject(node); this.creteShowNode(v, (i===comboxValues.length-1)).inject(node);
}.bind(this)); }.bind(this));
...@@ -834,6 +835,7 @@ MWF.xApplication.process.Xform.Personfield = MWF.APPPersonfield = new Class({ ...@@ -834,6 +835,7 @@ MWF.xApplication.process.Xform.Personfield = MWF.APPPersonfield = new Class({
}else{ }else{
var node = this.node.getFirst(); var node = this.node.getFirst();
if (node){ if (node){
node.empty();
comboxValues.each(function(v, i){ comboxValues.each(function(v, i){
this.creteShowNode(v, (i===comboxValues.length-1)).inject(node); this.creteShowNode(v, (i===comboxValues.length-1)).inject(node);
}.bind(this)); }.bind(this));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册