admin/stores/Edit.aspx

(完整代码) 2KB

<%@ Page Title="" Language="C#" MasterPageFile="~/admin/MasterPage.master" AutoEventWireup="true" ValidateRequest="false"  CodeFile="Edit.aspx.cs" Inherits="stores_Add" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script src="../../js/jquery.js" type="text/javascript"></script>
<script src="../../js/formValidator.js" type="text/javascript"></script>  
<script src="../../js/formValidatorRegex.js" type="text/javascript"></script>
<link href="../../css/validator.css" rel="stylesheet" type="text/css" />


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table class="cTable_2 table">
	<tr class="cTitle toolbarBg"> 
		<td width="25%"><div>编辑库存</div></td>
		<td colspan="2"></td>
	</tr>
	 <tr >
		<td class="tRight" colspan="2">
        
            <table style="width:100%">
                <tr>
                    <td>
                       <tr>
<td  style=" text-align:right; width:20%;">商品编号:</td>
<td class="tbright"><div style="display:inline;float:left;">
<asp:TextBox ID="txt_pid" runat="server" width="200"></asp:TextBox></div><div id="ctl00_ContentPlaceHolder1_txt_pidTip" style="width:250px;display:inline;float:left;text-align:left;"></div>
 </td></tr>

<tr>
<td  style=" text-align:right; width:20%;">库存数量:</td>
<td class="tbright"><div style="display:inline;float:left;">
<asp:TextBox ID="txt_quantity" runat="server" width="200"></asp:TextBox></div><div id="ctl00_ContentPlaceHolder1_txt_quantityTip" style="width:250px;display:inline;float:left;text-align:left;"></div>
 </td></tr>

</td>
                </tr>
            </table>
        
        </td>
	</tr>
	

	  	      </table>
    <div id="cEndToolbar" class="toolbarBg">
      <div class="caButCase">
          <asp:Button ID="Button3" runat="server"  OnClick="btnSave_Click" CssClass="button" Text="确认操作" OnClientClick="return jQuery.formValidator.PageIsValid('1');" />
		    
	       <asp:Button ID="Button4" runat="server" Text="返回列表" CssClass="button"  OnClientClick="document.location='List.aspx';return false;" CausesValidation="false" />
      </div>
    </div>
    <script language="javascript" type="text/javascript">
    $(document).ready(function() {
        $.formValidator.initConfig({ onError: function(msg) { alert(msg) } });
        $("#ctl00_ContentPlaceHolder1_txt_pid").formValidator({empty:false,onshow:"请输入",onfocus:"只能输入数字",oncorrect:"输入正确"}).RegexValidator({regexp:"num",datatype:"enum",onerror:"只能为数字"});
        $("#ctl00_ContentPlaceHolder1_txt_quantity").formValidator({empty:false,onshow:"请输入",onfocus:"只能输入数字",oncorrect:"输入正确"}).RegexValidator({regexp:"num",datatype:"enum",onerror:"只能为数字"});
    });
</script>

</asp:Content>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。