提交 39f881ce 编写于 作者: U unknown

[流程表单]修复数字组件设置为显示时计算时没有显示为0的问题

上级 51b9b022
......@@ -181,6 +181,9 @@ MWF.xApplication.process.Xform.Number = MWF.APPNumber = new Class({
this.validationMode();
}.bind(this));
},
_computeValue: function(value){
return (this.json.defaultValue.code) ? this.form.Macro.exec(this.json.defaultValue.code, this): (value || "0");
},
getValue: function(){
var value = this._getBusinessData();
if (!value) value = this._computeValue();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册