提交 26c36daf 编写于 作者: 蔡祥熠

Merge branch 'cherry-pick-9e8bb197-2' into 'fix/修复数据网格删除后序号未调整的问题'

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

See merge request o2oa/o2oa!3188
......@@ -597,7 +597,7 @@ MWF.xApplication.process.Xform.DatagridMobile = new Class(
var n = idx+1;
var titleDiv = new Element("div", {"styles": this.json.itemTitleStyles}).inject(node);
titleDiv.setStyle("overflow", "hidden");
var textNode = new Element("div", {
var textNode = new Element("div.sequenceDiv", {
"styles": {"float": "left"},
"text": MWF.xApplication.process.Xform.LP.item+n
}).inject(titleDiv);
......@@ -1327,6 +1327,11 @@ MWF.xApplication.process.Xform.DatagridMobile = new Class(
}
}.bind(this));
}.bind(this));
var sequenceDivs = this.node.getElements(".sequenceDiv");
sequenceDivs.each( function(div, index){
div.set("text", MWF.xApplication.process.Xform.LP.item+(index+1))
})
},
_loadBorderStyle: function(){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册