<%@ Page Title="" Language="C#" MasterPageFile="~/BackStage/HelperMaster.Master" AutoEventWireup="true" CodeBehind="Frm_UserPower_Edit.aspx.cs" Inherits="AndroidSevice.Web.WLTGL.Frm_UserPower_Edit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script language="javascript" type="text/javascript">
        function sAlert(info) {
            var message = info;
            layer.alert(message, { closeBtn: 0
            }, function () {
                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>
    <script type="text/javascript" src="../Scripts/jquery-2.1.4.min.js"></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="controls">
                                       <button type="submit" value="sub" name="btn" class="btn"><i class="icon-hdd"></i>保存</button>
                                       <input id="typename" type="hidden" value="<%=typename %>" />
                             </div>
                             <div class="control-group" id="div_UserPowerSale" runat="server">
                                        <label class="control-label">经销商公司名称:</label>
                                        <div class="controls">
                                            <input type="text" name="UserPowerSale" value="<%=UserPowerSale %>" id="UserPowerSale" />
                                        </div>
                                    </div>
                             <div class="control-group" id="div_UserPowerSaleTel" runat="server">
                                  <label class="control-label">经销商咨询电话:</label>
                                  <div class="controls">
                                  <input type="text" name="UserPowerSaleTel" value="<%=UserPowerSaleTel %>" id="UserPowerSaleTel" />
                                  </div>
                             </div>
                             <div class="control-group" id="div_RangeDifference" >
                                  <label class="control-label">手动签到时，允许距离差在指定范围内:</label>
                                  <div class="controls">
                                  <input type="text" name="RangeDifference" value="<%=RangeDifference %>" id="RangeDifference" onkeyup="(this.v=function(){this.value=this.value.replace(/[^0-9-]+/,'');}).call(this)" onblur="this.v();" />
                                  </div>
                             </div>
                             <div class="control-group" id="div_Printbillindex" >
                                  <label class="control-label">小票打印抬头:</label>
                                  <div class="controls">
                                  <input type="text" name="Printbillindex" value="<%=Printbillindex %>" id="Printbillindex" />
                                  </div>
                             </div>
                             <div class="control-group" id="div_PrintComment1" >
                                  <label class="control-label">小票打印备注1:</label>
                                  <div class="controls">
                                  <input type="text" name="PrintComment1" value="<%=PrintComment1 %>" id="PrintComment1" />
                                  </div>
                             </div>
                             <div class="control-group" id="div_PrintComment2" >
                                  <label class="control-label">小票打印备注2:</label>
                                  <div class="controls">
                                  <input type="text" name="PrintComment2" value="<%=PrintComment2 %>" id="PrintComment2" />
                                  </div>
                             </div>
                             <div class="control-group" id="div_PrintComment3" >
                                  <label class="control-label">小票打印备注3:</label>
                                  <div class="controls">
                                  <input type="text" name="PrintComment3" value="<%=PrintComment3 %>" id="PrintComment3" />
                                  </div>
                             </div>
                             <div class="control-group" id="div_PrintComment4" >
                                  <label class="control-label">小票打印备注4:</label>
                                  <div class="controls">
                                  <input type="text" name="PrintComment4" value="<%=PrintComment4 %>" id="PrintComment4" />
                                  </div>
                             </div>
                              <div class="control-group" id="div_PrintComment5" >
                                  <label class="control-label">小票打印备注5:</label>
                                  <div class="controls">
                                  <input type="text" name="PrintComment5" value="<%=PrintComment5 %>" id="PrintComment5" />
                                  </div>
                             </div>
                              <div class="control-group" id="div_sale" >
                                  <label class="control-label">补货生成单据默认为:</label>
                                     <div class="controls">
                                            <select class="selectstyle" name="sale" id="sale">
                                               <option <%=_sale=="Sale"?"selected":"" %>  value="Sale" >销售单</option>
                                                <option  <%=_sale=="SaleOrder"?"selected":"" %>  value="SaleOrder" >销售订单</option>
				                            </select>
                                        </div>
                                </div>
                                <div class="control-group" id="div1" >
                                  <label class="control-label">单据编号格式:</label>
                                     <div class="controls">
                                            <select class="selectstyle" name="Receipt" id="Receipt">
                                               <option <%=_Receipt=="按月"?"selected":"" %>  value="按月" >按月</option>
                                                <option  <%=_Receipt=="按日"?"selected":"" %>  value="按日" >按日</option>
				                            </select>
                                        </div>
                                </div>
                                 <% if (_IsERPorHHLimit.ToUpper() == "TRUE")
                                    {%>
                                <div class="control-group" id="div8">
										<label class="control-label">启用过账功能:</label>
										<div class="controls">
											<input type="radio" value="是" name="BillPosting" <%=BillPosting =="是"?"checked":"" %>  id="Radio7"/>是
                                            <input type="radio" value="否" name="BillPosting" <%=BillPosting =="否"?"checked":"" %> id="Radio8"/>否
										</div>
									</div>
                                    <%} %>
                                  <div class="control-group" id="div6">
										<label class="control-label">拜访启动高级模式:</label>
										<div class="controls">
											<input type="radio" value="是" name="isHighModle" <%=isHighModle =="是"?"checked":"" %>  id="Radio3"/>是
                                            <input type="radio" value="否" name="isHighModle" <%=isHighModle =="否"?"checked":"" %> id="Radio4"/>否
										</div>
									</div>
                                      <div class="control-group" id="div7">
										<label class="control-label">客户按顺序进行拜访:</label>
										<div class="controls">
											<input type="radio" value="是" name="isSortModle" <%=isSortModle =="是"?"checked":"" %>  id="Radio5"/>是
                                            <input type="radio" value="否" name="isSortModle" <%=isSortModle =="否"?"checked":"" %> id="Radio6"/>否
										</div>
									</div>

                             <div class="control-group" id="div_UserPower">
										<label class="control-label">启用基本信息授权控制:</label>
										<div class="controls">
											<input type="radio" value="是" name="UserPower" <%=UserPower=="是"?"checked":"" %>  id="UserPower1"/>是
                                            <input type="radio" value="否" name="UserPower" <%=UserPower=="否"?"checked":"" %> id="UserPower2"/>否
										</div>
									</div>
                            <div class="control-group" id="div9">
										<label class="control-label">是否允许手机端下载数据使用全新升级:</label>
										<div class="controls">
											<input type="radio" value="是" name="IfNewDataUpdate" <%=IfNewDataUpdate=="是"?"checked":"" %>  id="Radio9"/>是
                                            <input type="radio" value="否" name="IfNewDataUpdate" <%=IfNewDataUpdate=="否"?"checked":"" %> id="Radio10"/>否
										</div>
									</div>
                            <div class="control-group" id="div10">
										<label class="control-label">服务器设置自动产生的数据包时间:</label>
										<div class="controls">
                                            &nbsp; &nbsp; &nbsp; 时间一：
											<input type="text" style="width:80px" onFocus="WdatePicker({isShowClear:false,readOnly:true,dateFmt:'HH:mm'})"  name="time1" id="time1" value="<%=_time1 %>"/>
                                            时间二：
                                            <input type="text" style="width:80px" onFocus="WdatePicker({isShowClear:false,readOnly:true,dateFmt:'HH:mm'})"  name="time2" id="time2" value="<%=_time2 %>"/>
                                            时间三：
                                            <input type="text" style="width:80px" onFocus="WdatePicker({isShowClear:false,readOnly:true,dateFmt:'HH:mm'})"  name="time3" id="time3" value="<%=_time3 %>"/>
										</div>
									</div>
                             <div class="control-group" id="div_GNumberPDate">
										<label class="control-label"> 启用出入库中批号/生产日期应用:</label>
										<div class="controls">
											<input type="radio" value="是" name="GNumberPDate" <%=GNumberPDate=="是"?"checked":"" %> id="GNumberPDate1" />是
                                            <input type="radio" value="否" name="GNumberPDate" <%=GNumberPDate=="否"?"checked":"" %> id="GNumberPDate2" />否
										</div>
									</div>
                             <div class="control-group" id="div_UniqueIsUsed">
										<label class="control-label">启用商品序列号应用:</label>
										<div class="controls">
											<input type="radio" value="是" name="UniqueIsUsed" <%=UniqueIsUsed=="是"?"checked":"" %> id="UniqueIsUsed1" />是
                                            <input type="radio" value="否" name="UniqueIsUsed" <%=UniqueIsUsed=="否"?"checked":"" %> id="UniqueIsUsed2" />否
										</div>
									</div>
                             <div class="control-group" id="div_UnLineQian">
										<label class="control-label">启用离线签到功能:</label>
										<div class="controls">
											<input type="radio" value="是" name="UnLineQian" <%=UnLineQian=="是"?"checked":"" %> id="UnLineQian1" />是
                                            <input type="radio" value="否" name="UnLineQian" <%=UnLineQian=="否"?"checked":"" %> id="UnLineQian2" />否
										</div>
									</div>
                             <div class="control-group" id="div_SubmitAutoSign">
										<label class="control-label">启用提交单据后自动签到:</label>
										<div class="controls">
											<input type="radio" value="是" name="SubmitAutoSign" <%=SubmitAutoSign=="是"?"checked":"" %> id="SubmitAutoSign1" />是
                                            <input type="radio" value="否" name="SubmitAutoSign" <%=SubmitAutoSign=="否"?"checked":"" %> id="SubmitAutoSign2" />否
										</div>
									</div>
                             <div class="control-group" id="div_SignMessage">
										<label class="control-label">定点签到时不用选择客户:</label>
										<div class="controls">
											<input type="radio" value="是" name="SignMessage"  <%=SignMessage=="是"?"checked":"" %> id="SignMessage1" />是
                                            <input type="radio" value="否" name="SignMessage"  <%=SignMessage=="否"?"checked":"" %> id="SignMessage2" />否
										</div>
									</div>
                             <div class="control-group" id="div2">
										<label class="control-label">工作台权限设置:</label>
										<div class="controls">
											<input type="radio" value="是" name="LimitTypeSite"  <%=_LimitTypeSite=="是"?"checked":"" %> id="Radio1" />是
                                            <input type="radio" value="否" name="LimitTypeSite"  <%=_LimitTypeSite=="否"?"checked":"" %> id="Radio2" />否
										</div>
									</div>

                                     <div class="control-group" id="div3">
										<label class="control-label">是否需要拍摄门头照:</label>
										<div class="controls">
											<input type="radio" value="是" name="UpdateBtypeIfPhoto"  <%=_UpdateBtypeIfPhoto=="是"?"checked":"" %> id="UpdateBtypeIfPhoto1" />是
                                            <input type="radio" value="否" name="UpdateBtypeIfPhoto"  <%=_UpdateBtypeIfPhoto=="否"?"checked":"" %> id="UpdateBtypeIfPhoto2" />否
										</div>
									</div>
                                     <div class="control-group" id="div4">
										<label class="control-label">调拨单据中仓库权限范围失效:</label>
										<div class="controls">
											<input type="radio" value="是" name="StockPermissionsFailure"  <%=_StockPermissionsFailure=="是"?"checked":"" %> id="StockPermissionsFailure1" />是
                                            <input type="radio" value="否" name="StockPermissionsFailure"  <%=_StockPermissionsFailure=="否"?"checked":"" %> id="StockPermissionsFailure2" />否
										</div>
									</div>
                                     <div class="control-group" id="div5" style="visibility:hidden">
										<label class="control-label">开单时经手人读取客户默认经手人:</label>
										<div class="controls">
											<input type="radio" value="是" name="BillGetBTypeETypeID"  <%=_BillGetBTypeETypeID=="是"?"checked":"" %> id="BillGetBTypeETypeID1" />是
                                            <input type="radio" value="否" name="BillGetBTypeETypeID"  <%=_BillGetBTypeETypeID=="否"?"checked":"" %> id="BillGetBTypeETypeID2" />否
										</div>
									</div>

                             <div class="control-group" id="div_UploadImageSeals">
                                  <label class="control-label">上传打印小票时所需图片:
                                  </label>
                                  <div class="controls">
                                  <div class="btns">
                                            <div id="picker" >选择图片</div>
                                  </div>
                                  <!--<input type="text" name="UploadImageSeals" id="UploadImageSeals"/>-->
                                   <div id="thelist" class="uploader-list" style="width:150px;">
                                   </div>
                                   <button id="ctlBtn" name="ctlBtn" class="btn btn-primary">开始上传</button>
                                  </div>
                             </div>
							</div>
						</div>
					</div>
				</div>
			</div>
</asp:Content>
