<%@ Page Title="" Language="C#" MasterPageFile="~/BackStage/HelperMaster.Master" AutoEventWireup="true" CodeBehind="Frm_PromotionCountSet.aspx.cs" Inherits="AndroidSevice.Web.WLTGL.Frm_PromotionCountSet" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
     <script type="text/javascript">
         function sAlert(info) {
             var message = info;
             layer.alert(message, 8); //风格一，layer弹出层特效
             //parent.location.reload(); //刷新父页面
         }
         function sAlerts(info, reltype) {
             var message = info;
             var realtype = reltype
             layer.alert(message, 8); //风格一，layer弹出层特效
             if (realtype == 'true') {
                 parent.location.reload(); //刷新父页面
             }
         }
         function sAlertok(info) {
             layer.alert(info, { closeBtn: 0
             }, function () {
                 parent.location.reload(); //刷新父页面
             });
         }
         function sAlertOut(info) {
             layer.alert(info, { closeBtn: 0
             }, function () {
                 window.location.href = '../../default.aspx'; //刷新父页面
             });
         }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="container-fluid">
	<div class="row-fluid">
		<div class="span12">
			<div class="widget-box">
				<div class="widget-title">
					<span class="icon">						<i class="icon-th-list"></i>
					</span>
					<h5>设置</h5>
				</div>
				<div class="widget-content nopadding">
                <div class="control-group" id="div_userid" runat="server">
                         <div class="controls">
                            单位：
                            <select class="selectstyle" name="unitname" id="unitname">
                            <%if (dtUnit != null && dtUnit.Rows.Count > 0)
                                {
                                    for (int i = 0; i < dtUnit.Rows.Count; i++)
                                    { %>
				                    <option  <%=dtUnit.Rows[i]["unitid_"].ToString()==_unitid?"selected":"" %> value=<%=dtUnit.Rows[i]["unitid_"].ToString()%> ><%=dtUnit.Rows[i]["unitname"].ToString()%></option>
                            <% 
                                    }
                                }
                                %>
				        </select>
                        </div>
                        
                        <div class="controls">
                            数量：<input type="text" name="Count" id="Count" value="<%=_count %>"/></span>
                        </div>
                        <div class="controls">
                            备注：<input type="text" name="marks" id="marks" value="<%=_comment %>"/></span>
                        </div>
                </div>
                    <div class="form-actions">
                           <button type="submit" name="sub" value="sub" class="btn" >确定</button>
                           <asp:HiddenField ID="HiddenField1" runat="server" />
                    </div>
				</div>
			</div>
		</div>
	</div>
</div>
</asp:Content>
