<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>取消变更</title>
|
|
|
</head>
|
|
[#include "/business/pages/include/static.html" /]
|
[#include "/component/HtmlEditor.html" /]
|
[#include "/component/webupload.html" /]
|
|
<script type="text/javascript">
|
$(function() {
|
$.formValidator.initConfig({formID:"myform",onError:function(msg){popupTips(msg)},onSuccess:function(){
|
document.getElementById("myform").target = window.top.openDialog("1","操作",
|
{},
|
{"width":40,"height":40,"noclose":true},[{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
|
return true;
|
}});
|
|
$("#content").formValidator({empty: false, onShow:"请输入取消原因!",onFocus: "请输入取消原因"}).inputValidator({min: 1, onError: "取消原因不能为空"});
|
|
})
|
</script>
|
|
<body class="end_task_body">
|
<div class="end_task">
|
<form id="myform" action="" method="post">
|
<table >
|
<tr>
|
<th style="border-bottom:0px;" align="left"><label class="required">取消选项:</label></th>
|
<td id="solveWrap" style="border-bottom:0px;">
|
[#if reason?? && reason?size>0]
|
[#list reason as re]
|
<p style="float:left;margin-right:10px;width:100px;">
|
<input class="ropos" [#if re_index==0]checked[/#if] name="solveWay" type="radio" value="${re.DATAKEY}"/><span>${re.DATAVALUE}</span>
|
</p>
|
[/#list]
|
<input type="hidden" name="solveWayName" id="solveWayName" >
|
[/#if]
|
</tr>
|
<tr>
|
<th style="border-bottom:0px;width:100px;" colspan="2" align="left"><label class="required">取消原因:</label></th>
|
</tr>
|
<tr>
|
<td style="border-bottom:0px;" colspan="2">
|
<textarea class="general" id="content" name="content" style="width:400px;"></textarea>
|
<div id="contentTip" style="display:inline-block;"></div>
|
</td>
|
</tr>
|
|
</table>
|
<div class="edit_txt">
|
<div class="edit_btn clearfix">
|
<div class="upload_file" style="position:relative">
|
[@webupload id="files" multiple="true" /]
|
</div>
|
</div>
|
</div>
|
</form>
|
</div>
|
|
<script type="text/javascript">
|
function onDialogBtnClick(btnID, dialogID, config){
|
var solveWayName = $(":radio:checked").parent().next("span").text();
|
$("#solveWayName").val(solveWayName);
|
if(btnID == "btnSure"+dialogID){
|
$("#myform").submit();
|
}
|
}
|
</script>
|
|
</body>
|
</html>
|