cy
2022-06-28 2ba5c891b24d4d0cd6ce7ef833592e4f576ee5e8
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
<!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>