代码调试
This commit is contained in:
parent
442e681353
commit
95e95bf1bd
|
|
@ -195,6 +195,8 @@
|
|||
var tableView = this.elem.next();
|
||||
layui.each(res.data, function (i, item) {
|
||||
if (item.isApprove == '1') { // Condition to make the row non-editable
|
||||
|
||||
}
|
||||
var cols = tableView.find('tr[data-index=' + i + ']').find('td');
|
||||
cols.each(function (index, item) {
|
||||
//对field为subName,proName 的列不进行设置
|
||||
|
|
@ -216,11 +218,11 @@
|
|||
}
|
||||
|
||||
// 将fileDom添加到当前单元格
|
||||
$(td).append(fileDom);
|
||||
$(this).append(fileDom);
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
var columsName = ['subName'];//需要合并的列名称 ['business_tenant_name','land','contract_begin','contract_end','history_arrears','period'];
|
||||
var columsIndex = [1];//需要合并的列索引值 [2,3,5,6,14,15];
|
||||
|
|
|
|||
Loading…
Reference in New Issue