|
|
@@ -183,7 +183,7 @@
|
|
|
|
|
|
// 3. 替换模板中的所有占位符(关键步骤)
|
|
|
var parsedTagHtml = templateHtml
|
|
|
- .replace(/__INDEX__/g, index + 1) // 替换索引占位符
|
|
|
+ .replace(/__INDEX__/g, index) // 替换索引占位符
|
|
|
.replace(/__LEADER_IDS__/g, leaderIds) // 替换leaderIds
|
|
|
.replace(/__REIMBURSEMENT_NAME__/g, reimbursementName); // 替换报销人名称
|
|
|
|
|
|
@@ -864,6 +864,7 @@
|
|
|
function addRow(list, idx, tpl, row,flag){
|
|
|
var data;
|
|
|
if (flag){
|
|
|
+ console.log("进来了")
|
|
|
data = ${fns:toJson(workReimbursement.createBy)};
|
|
|
}
|
|
|
var idx1 = $("#workAccountList tr[id^='workAccountList']").length + 1;
|