解决[表单配置inExt]填写无效bug
This commit is contained in:
@@ -647,15 +647,15 @@
|
||||
if (!shows[j]['label']) {
|
||||
shows[j]['label'] = this.getFieldLabel(v[i])
|
||||
}
|
||||
if (!shows[j]['fmt']) {
|
||||
/*if (!shows[j]['fmt']) {
|
||||
shows[j]['fmt'] = this.getFiledInExt(v[i])
|
||||
}
|
||||
}*/
|
||||
continue a
|
||||
}
|
||||
}
|
||||
let label = this.getFieldLabel(v[i])
|
||||
let fmt = this.getFiledInExt(v[i])
|
||||
shows.push({col: v[i], label: label, fmt: fmt})
|
||||
//let fmt = this.getFiledInExt(v[i])
|
||||
shows.push({col: v[i], label: label})
|
||||
}
|
||||
|
||||
//去除删除的
|
||||
@@ -711,15 +711,15 @@
|
||||
if (!details[j]['label']) {
|
||||
details[j]['label'] = this.getFieldLabel(v[i])
|
||||
}
|
||||
if (!details[j]['fmt']) {
|
||||
/*if (!details[j]['fmt']) {
|
||||
details[j]['fmt'] = this.getFiledInExt(v[i])
|
||||
}
|
||||
}*/
|
||||
continue a
|
||||
}
|
||||
}
|
||||
// 新的
|
||||
let label = this.getFieldLabel(v[i])
|
||||
let fmt = this.getFiledInExt(v[i])
|
||||
//let fmt = this.getFiledInExt(v[i])
|
||||
/*c:for (let j in details) {
|
||||
if (v[i] == details[j]['col']) {
|
||||
if (details[j]['label']) {
|
||||
@@ -732,7 +732,7 @@
|
||||
continue c
|
||||
}
|
||||
}*/
|
||||
details.push({col: v[i], label: label, fmt: fmt})
|
||||
details.push({col: v[i], label: label})
|
||||
}
|
||||
|
||||
//去除删除的
|
||||
@@ -758,16 +758,15 @@
|
||||
if (!edits[j]['label']) {
|
||||
edits[j]['label'] = this.getFieldLabel(v[i])
|
||||
}
|
||||
if (!edits[j]['fmt']) {
|
||||
/*if (!edits[j]['fmt']) {
|
||||
edits[j]['fmt'] = this.getFiledInExt(v[i])
|
||||
}
|
||||
}*/
|
||||
continue a
|
||||
}
|
||||
}
|
||||
// 新的
|
||||
let label = this.getFieldLabel(v[i])
|
||||
let fmt = this.getFiledInExt(v[i]) || ""
|
||||
edits.push({col: v[i], label: label, fmt: fmt, cks:[]})
|
||||
edits.push({col: v[i], label: label, cks:[]})
|
||||
}
|
||||
|
||||
//去除删除的
|
||||
|
||||
@@ -12,7 +12,7 @@ public class FromItem {
|
||||
private String col;
|
||||
private String label;
|
||||
private String inType;
|
||||
private String fmt;
|
||||
private String InExt;
|
||||
private List<String> cks;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user