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="SpecificationEdit.aspx.cs" Inherits="CY.WebForm.Pages.procurement.SpecificationEdit" %>
 
<!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 runat="server">
    <title></title>
</head>
<uc:CMSHead ID="CMSHead1" runat="server" />
<body>
    <form id="form1" runat="server" class="form2">
    <div id="scrollContent">
        <table class="tableStyle">
            <%-- <tr> <td>请把规格的形式写成 x*y 的形式,中间一定要有"*"</td></tr>--%>
            <tr>
                <td class="ali03 ">
                    货品类别:
                </td>
                <td>
                    <asp:DropDownList runat="server" ID="dwCommity" AutoPostBack="true" keepDefaultStyle="true" OnSelectedIndexChanged="dwCommity_SelectedIndexChanged" class="w100px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="ali03 ">
                    货品名称:
                </td>
                <td>
                    <asp:DropDownList runat="server" ID="dwGoodsid" AutoPostBack="true" keepDefaultStyle="true" class="w100px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="ali03 ">
                    规格名称:
                </td>
                <td>
                    <input runat="server" id="txtSpecificationName" type="text" class="w100px  req" msg="请填写规格名称" />
                </td>
            </tr>
            <tr>
                <td class="ali03 ">
                    排序:
                </td>
                <td>
                    <input runat="server" id="txtOrderNum" type="text" value="0" min="0" class="w100px int req " msg="请填写大于0的排序数字" />
                </td>
            </tr>
            <tr>
                <td class="ali02" colspan="2">
                    <asp:Button ID="btn_Submit" Text="提交" runat="server" OnClick="btn_Submit_Click" />
                </td>
            </tr>
        </table>
    </div>
    </form>
    <script type="text/javascript">
        $(function () {
            $("#dwCommity option").each(function (ii, vv) {
                $(this).html($(this).html().replace(/[.]/g, "&nbsp;&nbsp;"));
            });
        });
    </script>
</body>
</html>