<%@ page language="C#" autoeventwireup="true" inherits="general_SystemManage_ProductADD, CrmCommand" %>


<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>产品管理</title>
    <script src="../../Javascript/formCheck.js" language=javascript ></script>
       <script>
function CheckForm()
{


   if(document.form1.TxtName.value == "")
   {
          alert("产品名称不能为空！");
	     document.form1.TxtName.focus();
	     return (false);
   }
   
   if(!isMath(document.form1.txtPrice.value))
   {
          alert("产品价格必须是数字或者小数！");
	     document.form1.txtPrice.focus();
	     return (false);
   }
 
   return true;
   }
   </script>
    <base target=_self></base>
</head>
   
<body class="bodycolor" leftmargin="0" topmargin="0">
    <form id="form1" runat="server">
    <div>
        <table align="center" bgcolor="#000000" border="0" cellpadding="3" cellspacing="1"
            class="small" style="width: 428px">
            <tr>
                <td class="TableHeader" colspan="4">
                    所属产品类型—<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="TableData" style="width: 90px; height: 10px">
                    产品名称
                </td>
                <td class="TableData" colspan="3" style="width: 290px; height: 10px">
                    <asp:TextBox ID="TxtName" runat="server" CssClass="BigInput"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="TableData" style="width: 90px; height: 10px">
                    产品价格
                </td>
                <td class="TableData" colspan="3" style="width: 290px; height: 10px">
                    <asp:TextBox ID="txtPrice" runat="server" CssClass="BigInput"></asp:TextBox>
                    </td>
            </tr>
            <tr>
                <td class="TableData" style="width: 90px; height: 10px">
                    产品说明</td>
                <td class="TableData" colspan="3" style="width: 290px; height: 10px">
                    <asp:TextBox ID="TxtRemark" runat="server" CssClass="BigInput" Height="88px" TextMode="MultiLine"
                        Width="301px"></asp:TextBox></td>
            </tr>
            <tr align="center" class="TableControl">
                <td colspan="4">
                    <asp:Button ID="Button1" runat="server" OnClientClick="return CheckForm()" CssClass="BigButton" OnClick="Button1_Click"
                        Text="产品添加" />
                    <asp:Button ID="Button2" runat="server" OnClientClick="return CheckForm()" CssClass="BigButton" OnClick="Button2_Click"
                        Text="修改产品" /></td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
