From 3fd05e3325c434f0ad8415cf9d8e4641ab1c9012 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Mon, 26 Apr 2021 16:37:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90=E7=9A=84?= =?UTF-8?q?=E5=AD=90=E8=A1=A8=E5=A2=9E=E8=A1=8C=E6=8C=89=E9=92=AE=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E6=B7=BB=E5=8A=A0=E5=88=B0=E8=A1=A8=E5=A4=B4=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/modules/gen/include/formChildTableScript.html | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/core/src/main/resources/templates/modules/gen/include/formChildTableScript.html b/modules/core/src/main/resources/templates/modules/gen/include/formChildTableScript.html index e25cc50d..24f312a6 100644 --- a/modules/core/src/main/resources/templates/modules/gen/include/formChildTableScript.html +++ b/modules/core/src/main/resources/templates/modules/gen/include/formChildTableScript.html @@ -153,6 +153,7 @@ if (table.tplCategory != 'query'){ editGrid: true, // 是否是编辑表格 editGridInitRowNum: 1, // 编辑表格的初始化新增行数 editGridAddRowBtn: $('#${@StringUtils.uncap(child.className)}DataGridAddRowBtn'), // 子表增行按钮 + editGridAddRowBtnToHeader: true, // 子表增行按钮是否显示到表头上 editGridAddRowInitData: {<% for(pk in child.pkList){ %>${pk.attrName}<% break; }%>: '', status: Global.STATUS_NORMAL}, // 新增行的时候初始化的数据 // 编辑表格的提交数据参数