cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>填写关闭原因</title>
[#include "/business/pages/include/static.html" /]
<script type="text/javascript">
  $(document).ready(function() {
        $.formValidator.initConfig({formID:"myform",onError:function(msg){popupTips(msg)},onSuccess:function(){
            document.getElementById("myform").target = window.top.openDialog("0","操作",
                         {},
                         {"width":40,"height":40,"noclose":true},
                         [{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
                         
                         
                         return true;
        }});
        
        $("#note").formValidator({empty: false, onShow:"请输入流转备注!",onFocus: "请输入流转备注"}).inputValidator({min: 1, onError: "流转备注不能为空"});
        
    });
    
    
  </script>
 
</head>
 
<body class="end_task_body">
<div class="end_task">
    <form id="myform" action="" method="post">
         <table>
            <tr>
              <td style="border-bottom:0px;"><label class="required" >流转备注:</label></td>
            </tr>
             <tr>
                 <td id="solveWrap" style="border-bottom:0px;">
                     <div class="way">
                         <textarea class="general" name="note" id="note"></textarea>
                         <div id="noteTip" style="display:inline-block;"></div>
                     </div>
              </tr>
         </table>
     </form>
</div>
 
<script type="text/javascript">
function onDialogBtnClick(btnID, dialogID, config){
                if(btnID == "btnSure"){
                     $("#myform").submit();
                }
            }
</script>
 
</body>
</html>