<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>增加/修改</title>
|
[#include "/business/pages/include/static.html" /]
|
[#include "/component/DatePicker.html" /]
|
[#include "/component/newsel.html"/]
|
<script type="text/javascript" src="${common_static}/static/script/jquery.ssq.js"></script>
|
</head>
|
<body class="edit_txt_body">
|
|
|
<div class="edit_txt">
|
<form action="${base}/business/pages/overageLoss/loseByPlEditSubmit.html" method="post" id="myform" name="myform">
|
<input type="hidden" name="id" id="id" value="${detailIds}" />
|
<table class="edit_layout2">
|
<tr>
|
<th><label class="required">报损类型:</label></th>
|
<td>
|
[@sel id="reason_key" labelName="reason" value="${reason_key}" text="${reason}" source=codeList textField="id" valueField="name" /]
|
</td>
|
</tr>
|
<tr>
|
<th><label>原因说明:</label></th>
|
<td colspan="3"><textarea class="general" style="width:360px;" id="note" name="note"/></textarea>
|
<div id="noteTip" style="display:inline-block;"></div>
|
|
</tr>
|
</table>
|
</form>
|
</div>
|
|
|
<script type="text/javascript">
|
|
$("#keyCode").change(function(){
|
var options = $("#keyCode option:selected");
|
$("#reason").val(options.text())
|
})
|
|
|
function onDialogBtnClick(btnID, dialogID, config) {
|
if (btnID == "btnSure") {
|
$("#myform").submit();
|
}
|
}
|
|
</script>
|
|
|
</body>
|
</html>
|