2
schangxiang@126.com
2024-08-16 b47c50a2a514def7374b32d7194b2c599cba5625
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
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewMainTask.aspx.cs" Inherits="iWareWms.View.TASK.MainTaskView.NewMainTask" %>
 
<!DOCTYPE html>
 
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script src="../../../res/js/LodopFuncs.js" type="text/javascript"></script>
    <link rel="stylesheet"   href="../../../res/third-party/jqueryuiautocomplete/jquery-ui.css"  />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
        <f:Panel ID="Panel1" runat="server" Layout="VBox" ShowBorder="false" ShowHeader="false">
            <Items>
                <f:Form ID="Form2" runat="server" BodyPadding="5px" ShowBorder="false" ShowHeader="false">
                    <Rows>
                        <f:FormRow runat="server">
                            <Items>
                                
                                <f:TextBox ID="tbTaskNo" ShowRedStar="true" runat="server"  Required="true" Text="" Enabled="false" Label="主任务号"  LabelWidth="90px"></f:TextBox>
                                <f:TextBox ID="tbMateriaCode" ShowRedStar="true" runat="server"  Required="true" Label="物料号" LabelWidth="90px"></f:TextBox>
                          
                        
                            </Items>
                        </f:FormRow>
                            <f:FormRow runat="server">
                            <Items>
                               <f:DropDownList runat="server" ID="ddlTaskType" AutoSelectFirstItem="true"  Label="主任务类型" LabelWidth="96px" AutoPostBack="true" >
                                    <f:ListItem Text="入库任务" Value="0" Selected="true" />
                                    <f:ListItem Text="出库任务" Value="1" />
                                </f:DropDownList>
                            </Items>
                        </f:FormRow>
                            <f:FormRow runat="server">
                            <Items>
                               <f:Button ID="btnSubmit" Text="生成" runat="server"  ValidateForms="Form2"   OnClick="btnSubmit_Click" />
                                <f:Button ID="btnCancel" Text="重置"  runat="server"  OnClick="btnCancel_Click" />  
                            </Items>
                        </f:FormRow>
                    </Rows>
                </f:Form>
            </Items>
        </f:Panel>
    </form>
 
    <script src="../../../res/third-party/jqueryuiautocomplete/jquery-ui.js"></script>
    <script type="text/javascript">
        var tbMateriaCode = '<%= tbMateriaCode.ClientID %>';
 
            $('#' + tbMateriaCode + ' input').autocomplete({
                minLength: 1,
                source: function (request, response) {
                    var term = request.term;
                    $.getJSON("../../MATERIAL/Material/MaterialData.ashx", request, function (data, status, xhr) {
                        response(data);
                    });
                }
            });
 
    </script>
</body>
</html>