| 1 |
- <html>
<head>
</head>
<body>
<div class='content-div'>
<table class='form'>
<tr>
<th style="width: 118px;">名称</th>
<td><input name="mc" type="text" value="${mc}"/></td>
<th style="width: 118px;">模板号</th>
<td><input name="grsymbh" type="text" value="${grsymbh}"/></td>
</tr>
<%-- 增加(开始)。Lin --%>
<tr>
<th style="width:87px">描述</th>
<td colspan="3" style="padding-top: 5px;padding-bottom: 7px;">
<!-- <textarea rows="3" name="ms"></textarea> -->
<div id="ms" width="calc(100% + 12px)" height="60px"></div>
<growh.ss name="ms" mode="edit" maxHeight="150px" />
</td>
</tr>
<%-- 增加(结束)。Lin --%>
</table>
</div>
<div class='bottom-div' >
<div class="bottom-down-div">
<input type="button" value="确认" class="bottom-button" onclick="confirm(true)">
<input type="button" value="取消" class="bottom-button" onclick="wd.display.closeDialog()">
</div>
</div>
<script>
function confirm(bool_){
if(bool_){
var pw=wd.display.getwdDialogOpener();
<%-- 增加 描述 字段值。Lin
var data={mc:document.querySelector("[name=mc]").value,grsymbh:document.querySelector("[name=grsymbh]").value};
--%> var data={mc:document.querySelector("[name=mc]").value,
grsymbh:document.querySelector("[name=grsymbh]").value,
ms:document.querySelector("[name=ms]").value};
pw[wd.display.getwdDialogId()+wd.display.callback_suffix](data);
}
wd.display.closeDialog();
}
</script>
</body>
</html>
|