requirementqueryform.aspx

来自「尚洋仓库管理系统,对仓库」· ASPX 代码 · 共 38 行

ASPX
38
字号
<%@ page language="C#" autoeventwireup="true" inherits="BaseInfo_RequirementQueryForm, App_Web_eihb9n8s" %>


<html>
<head runat="server">
    <title>选择需求计划编号</title>
    <link rel="stylesheet" href="../css/master.css" type="text/css" />
</head>
<body>
    <form id="form1" action="RequirementDetails.aspx" method="POST" target="_blank" runat=server>
    <div>
        <table width="320" height="100">
            <tr>
                <td>物料需求计划编号:
                <asp:DropDownList runat="server" ID="ddl1">
                    
                </asp:DropDownList>
                </td>
                <td align="center" width="100"><input type=button value=" 打 开 " onclick="javascript:query();" class="btn" onmouseover="javascript:this.style.backgroundColor='#ffffff';" onmouseout="javascript:this.style.backgroundColor='#e6e6e6'"/></td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
<script language="javascript">
    function query()
    {
        if(document.all("ddl1").value.length==0)
        {
            alert("请输入物料需求计划编号!");
            return;
        }
        //document.all("form1").submit();
        window.open("RequirementDetails.aspx?No="+document.all("ddl1").value);
        //window.close();
    }
</script>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?