提交 8a9d76a1 编写于 作者: 蔡祥熠

Merge branch 'hotfix/datatable_export_datatype' into 'master'

Merge of hotfix/datatable_export_datatype 修复数据表格导入时日期列下标不对的问题  to master

See merge request o2oa/o2oa!5489
......@@ -1889,8 +1889,8 @@ MWF.xApplication.process.Xform.DatatablePC.Exporter = new Class({
var dateIndexArr = []; //日期格式列下标
var idx=0;
this.columnJsonList.each(function(c){
if ( c.available && c.mJson && c.mJson.type === "Calendar") {
dateIndexArr.push(idx);
if ( c.available && c.mJson ) {
if(c.mJson.type === "Calendar")dateIndexArr.push(idx);
idx++;
}
}.bind(this));
......@@ -2099,8 +2099,8 @@ MWF.xApplication.process.Xform.DatatablePC.Importer = new Class({
this.columnJsonList.each(function(c){
if ( c.mJson && c.mJson.type === "Calendar") {
dateIndexArr.push(idx);
idx++;
}
idx++;
}.bind(this));
return dateIndexArr;
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册