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
56
57
58
59
60
61
62
63
64
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>addAddress.html</title>
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
    <meta http-equiv="description" content="this is my page"/>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    [@formui /]
    <script type="text/javascript">
        $(document).ready(function() {
            $.formValidator.initConfig({formID:"myform",onError:function(msg){alert(msg)},onSuccess:function(){
                document.getElementById("myform").target = window.top.openDialog(1,30,30,'操作提示:');
                return true;
            }});
            $("#industry_name").formValidator({empty:false,onFocus:"请输入行业名称"}).inputValidator({min:1,max:50,onError:"行业名称最多50个汉字"});
            $("#sn").formValidator({empty:false,onFocus:"请输入顺序号"})
                .inputValidator({min:1,max:5,onError:"顺序号必须为1到5位数字"})
                .regexValidator({regExp:"^[0-9]*$",onError:"顺序号必须为1到5位数字"});
        });
        
        function _onFormSubmit(){
            document.getElementById("btnOK").click();
        }
        
        function closeWin(){
               window.top.closeDialog(0);
        }
        
        
    </script>
</head>
<body>
  <div class="pad_10" style="margin-top: 10px;">
    <div class="col-tab">
        <div id="div_setting_1" class="contentList pad_10">
              <form action="addIndustrySubmit.html" method="post" id="myform" name="myform" >
                  <input type="hidden" name="id" value="${RequestParameters.id}" />
                 <input type="hidden" name="up_id" id="up_id" value="${info.up_id}" />
                  <input type="hidden" name="level" id="level" value="${info.level}" />
                  <table align="center" width="98%" class="table_form contentWrap">
                    <tr>
                          <th width="15%" align="right">行业名称:</th>
                         <td>
                             <input type="text" class="input-text" name="industry_name" id="industry_name" onblur="check();" value="${info.industry_name}"/>
                             <font color="red">*</font>
                               <div id="industry_nameTip" style="width:250px;"></div>      
                          </td>
                    </tr>
                    <tr>
                           <th align="right">顺序号:</th>
                         <td>
                             <input type="text" class="input-text" name="sn"  id="sn" style="width:50px;" value="${info.sn}"/>
                             <font color="red">*</font>
                               <div id="snTip" style="width:250px;"></div>
                          </td>
                    </tr>
                  </table>
                  <input type="submit" id="btnOK" value="提交" style="display:none;"  />
              </form>
        </div>
    </div>
</div>
</body>
</html>