<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="inputAmount.aspx.cs" Inherits="Medical.MBusiness.SysLoss.inputAmount" %>

<!DOCTYPE html>

<html>
<head>
    <title></title>
    <link href="../../css/style.css" rel="stylesheet" type="text/css" />
    <link href="../../css/bill.css" rel="stylesheet" type="text/css" />
    <link href="../../css/autocomplete.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.ajaxQueue.js" type="text/javascript"></script>
    <script src="../../js/myLib/autoComplete.js" type="text/javascript"></script>
    <script src="../../Scripts/json2.js" type="text/javascript"></script>
    <script src="../../js/myLib/helper.js" type="text/javascript"></script>
    <script src="../../js/myLib/jsHelper_Form.js" type="text/javascript"></script>
</head>
<body>
   <div class="pt-bill">
    <form id="billForm" name="billForm">
        <table class="pt-bill-frm">
        <tr>
            <td><input type="text" id="inputSubsection" runat="server" /></td>
            <td><span id="dSubsection" runat="server"></span></td>
            <td><input type="text" id="inptuUnit" name="inptuUnit" runat="server" /></td>
            <td><span id="dUnit" runat="server"></span></td>
        </tr>     
        </table>
    </form>
   </div>
   <div class="pt-padding" style="text-align:center">
        <input type="button" id="btnConfirm" class="pt-button active" value="确认" />
    </div>
   <script>
   (function(){
        $("#btnConfirm").click(function(){
        var msg="";//$("#inputSubsection").val()+$("#dSubsection").text()+$("#inptuUnit").val()+$("#dUnit").text();
        var subsectionCount=$("#inputSubsection").val();
        var unitCount=$("#inptuUnit").val();
        if(subsectionCount){
            msg=subsectionCount+$("#dSubsection").text();
        }
        if(unitCount){
            msg=msg+unitCount+$("#dUnit").text();
        }
            top.art.dialog.data('amount', msg); // 存储数据
            top.art.dialog.close('inputAmount');
        });
   })();
   </script>
</body>
</html>
