<%@ Page Title="" Language="C#" MasterPageFile="~/BackStage/HelperMaster.Master" AutoEventWireup="true" CodeBehind="Frm_UserPower_PhoneEdit.aspx.cs" Inherits="AndroidSevice.Web.BackStage.WLTGL.Frm_UserPower_PhoneEdit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script language="javascript" type="text/javascript">
        $(document).ready(function () {
            var p1 = $(this).children('option:selected').val(); //选择的值
            var ui = document.getElementById("text1");
            if (p1 == "是") {
                $("#picturebilllinenums").show();
                ui.style.visibility = "visible";
            }
            else {
                $("#picturebilllinenums").hide();
                ui.style.visibility = "hidden";
            }
            $('#picturebilllande').change(function (e) {
                var p1 = $(this).children('option:selected').val(); //选择的值
                var ui = document.getElementById("text1");

                if (p1 == "是") {
                    $("#picturebilllinenums").show();
                    ui.style.visibility = "visible";
                }
                else {
                    $("#picturebilllinenums").hide();
                    ui.style.visibility = "hidden";
                }
            })
        })
        function sAlert(info) {
            var message = info;
            layer.alert(message);
        }
        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="radio" value="是" name="GetBTypeETypeID" <%=GetBTypeETypeID=="是"?"checked":"" %>  id="GetBTypeETypeID1"/>是
                                            <input type="radio" value="否" name="GetBTypeETypeID" <%=GetBTypeETypeID=="否"?"checked":"" %> id="GetBTypeETypeID2"/>否
										</div>
                                    </div>
                                   <div class="control-group" id="div1" runat="server">
                                        <label class="control-label">录单快速进入开单界面:</label>
                                        <div class="controls">
											<input type="radio" value="是" name="ClickToNewBill" <%=ClickToNewBill=="是"?"checked":"" %>  id="ClickToNewBill1"/>是
                                            <input type="radio" value="否" name="ClickToNewBill" <%=ClickToNewBill=="否"?"checked":"" %> id="ClickToNewBill2"/>否
										</div>
                                    </div> 
                                    <div class="control-group" id="div2" runat="server">
                                        <label class="control-label">录单时相同商品提示不显示:</label>
                                        <div class="controls">
											<input type="radio" value="是" name="samehint" <%=samehint=="是"?"checked":"" %>  id="Radio5"/>是
                                            <input type="radio" value="否" name="samehint" <%=samehint=="否"?"checked":"" %> id="Radio6"/>否
										</div>
                                    </div> 
                                    <div class="control-group" id="div3" runat="server">
                                        <label class="control-label">验货扫描条码商品重复自动取第一个:</label>
                                        <div class="controls">
											<input type="radio" value="是" name="checksameFrist" <%=checksameFrist=="是"?"checked":"" %>  id="Radio7"/>是
                                            <input type="radio" value="否" name="checksameFrist" <%=checksameFrist=="否"?"checked":"" %> id="Radio8"/>否
										</div>
                                    </div> 
                                    <div class="control-group" id="div4" runat="server">
                                        <label class="control-label">验货源单在线选取:</label>
                                        <div class="controls">
											<input type="radio" value="是" name="billcheckonline" <%=billcheckonline=="是"?"checked":"" %>  id="Radio9"/>是
                                            <input type="radio" value="否" name="billcheckonline" <%=billcheckonline=="否"?"checked":"" %> id="Radio10"/>否
										</div>
                                    </div> 
                                    <div class="control-group" id="div5" runat="server">
                                        <label class="control-label">数量单价等默认不弹出软键盘:</label>
                                        <div class="controls">
											<input type="radio" value="是" name="keyboardshow" <%=keyboardshow=="是"?"checked":"" %>  id="Radio11"/>是
                                            <input type="radio" value="否" name="keyboardshow" <%=keyboardshow=="否"?"checked":"" %> id="Radio12"/>否
										</div>
                                    </div> 
                                    <div class="control-group" id="div6" runat="server">
                                        <label class="control-label">选择商品时，立即录入数量:</label>
                                        <div class="controls">
											<input type="radio" value="是" name="countprice" <%=countprice=="是"?"checked":"" %>  id="Radio13"/>是
                                            <input type="radio" value="否" name="countprice" <%=countprice=="否"?"checked":"" %> id="Radio14"/>否
										</div>
                                    </div> 
                                    <div class="control-group" id="div7" runat="server">
                                        <label class="control-label">添加商品保存后继续选择:</label>
                                        <div class="controls">
											<input type="radio" value="是" name="keepselect" <%=keepselect=="是"?"checked":"" %>  id="Radio15"/>是
                                            <input type="radio" value="否" name="keepselect" <%=keepselect=="否"?"checked":"" %> id="Radio16"/>否
										</div>
                                    </div> 
                                    <div class="control-group" id="div8" runat="server">
                                        <label class="control-label">添加商品后以倒序展示:</label>
                                        <div class="controls">
											<input type="radio" value="是" name="orderbydesc" <%=orderbydesc=="是"?"checked":"" %>  id="Radio17"/>是
                                            <input type="radio" value="否" name="orderbydesc" <%=orderbydesc=="否"?"checked":"" %> id="Radio18"/>否
										</div>
                                    </div> 
                                    <div class="control-group" id="div9" runat="server">
                                        <label class="control-label">开单默认数量为1:</label>
                                        <div class="controls">
											<input type="radio" value="是" name="billcount" <%=billcount=="是"?"checked":"" %>  id="Radio19"/>是
                                            <input type="radio" value="否" name="billcount" <%=billcount=="否"?"checked":"" %> id="Radio20"/>否
										</div>
                                    </div> 
                                    <div class="control-group" id="div10" runat="server">
                                        <label class="control-label">获取即时库存:</label>
                                        <div class="controls">
											<input type="radio" value="是" name="immediatecount" <%=immediatecount=="是"?"checked":"" %>  id="Radio21"/>是
                                            <input type="radio" value="否" name="immediatecount" <%=immediatecount=="否"?"checked":"" %> id="Radio22"/>否
										</div>
                                    </div> 
                                     <div class="control-group" id="div25" runat="server">
                                        <label class="control-label">业务开单时显示虚拟库存数量:</label>
                                        <div class="controls">
											<input type="radio" value="是" name="virtualstock" <%=virtualstock=="是"?"checked":"" %>  id="Radio51"/>是
                                            <input type="radio" value="否" name="virtualstock" <%=virtualstock=="否"?"checked":"" %> id="Radio52"/>否
										</div>
                                    </div> 
                                    <div class="control-group" id="div11" runat="server">
                                        <label class="control-label">开单选择商品时,库存为0不显示:</label>
                                        <div class="controls">
											 <input type="radio" value="是" name="qtyzeronotshow" <%=qtyzeronotshow=="是"?"checked":"" %> id="Radio1"/>是
                                            <input type="radio" value="否" name="qtyzeronotshow" <%=qtyzeronotshow=="否"?"checked":"" %> id="Radio24"/>否
										</div>
                                    </div> 
                                    <div class="control-group" id="div12" runat="server">
                                        <label class="control-label">获取即时价格跟踪:</label>
                                        <div class="controls">
											<input type="radio" value="是" name="immediateprice" <%=immediateprice=="是"?"checked":"" %>  id="Radio25"/>是
                                            <input type="radio" value="否" name="immediateprice" <%=immediateprice=="否"?"checked":"" %> id="Radio26"/>否
										</div>
                                    </div> 
                                    <div class="control-group" id="div13" runat="server">
                                        <label class="control-label">提交后取价格跟踪:</label>
                                        <div class="controls">
											<input type="radio" value="是" name="SubmitGetPriceTrack" <%=SubmitGetPriceTrack=="是"?"checked":"" %>  id="Radio27"/>是
                                            <input type="radio" value="否" name="SubmitGetPriceTrack" <%=SubmitGetPriceTrack=="否"?"checked":"" %> id="Radio28"/>否
										</div>
                                    </div> 
                                    <div class="control-group" id="div14" runat="server">
                                        <label class="control-label">扫描条码后，立即编辑商品:</label>
                                        <div class="controls">
											<input type="radio" value="是" name="ScanPTypeEdit" <%=ScanPTypeEdit=="是"?"checked":"" %>  id="Radio29"/>是
                                            <input type="radio" value="否" name="ScanPTypeEdit" <%=ScanPTypeEdit=="否"?"checked":"" %> id="Radio30"/>否
										</div>
                                    </div> 
                                    <div class="control-group" id="div15" runat="server">
                                        <label class="control-label">扫描条码后，快速输入数量:</label>
                                        <div class="controls">
											<input type="radio" value="是" name="ScanQuickQty" <%=ScanQuickQty=="是"?"checked":"" %>  id="Radio31"/>是
                                            <input type="radio" value="否" name="ScanQuickQty" <%=ScanQuickQty=="否"?"checked":"" %> id="Radio32"/>否
										</div>
                                    </div> 
                                    <div class="control-group" id="div16" runat="server">
                                        <label class="control-label">车载库存只计算已提交单据:</label>
                                        <div class="controls">
											<input type="radio" value="是" name="CarStockSubmit" <%=CarStockSubmit=="是"?"checked":"" %>  id="Radio33"/>是
                                            <input type="radio" value="否" name="CarStockSubmit" <%=CarStockSubmit=="否"?"checked":"" %> id="Radio34"/>否
										</div>
                                    </div> 
                                    <div class="control-group" id="div17" runat="server">
                                        <label class="control-label">检索条码时至少输入条码的后几位:</label>
                                        <div class="controls"> 
                                            <input type="text" name="lastnum" value="<%=lastnum %>" 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="div18" runat="server">
                                        <label class="control-label">默认开单价:</label>
                                        <div class="controls">
                                            <asp:DropDownList ID="DropDownList2" runat="server">
                                                <asp:ListItem Value=""></asp:ListItem>
                                            </asp:DropDownList>
										</div>
                                    </div> 
                                    <div class="control-group" id="div19" runat="server">
                                        <label class="control-label">看图开单默认单据类型:</label><%--销售订单, 销售单, 无--%>
                                        <div class="controls">
                                            <asp:DropDownList ID="DropDownList1" runat="server" >
                                                <asp:ListItem Value=""></asp:ListItem>
                                                <asp:ListItem Value="销售订单">销售订单</asp:ListItem>
                                                <asp:ListItem Value="销售单">销售单</asp:ListItem>
                                                <asp:ListItem Value="无">无</asp:ListItem>
                                            </asp:DropDownList>
										</div>
                                    </div> 
                                    <div class="control-group" id="div20" runat="server">
                                        <label class="control-label">看图开单横屏应用:</label>
                                         <div class="controls">
                                            <select id="picturebilllande" >
                                                <option id="是" value="是" <%=picturebilllande=="是"?"selected":"" %> >是</option>
                                                <option id="否"  value="否" <%=picturebilllande=="否"?"selected":"" %> >否</option>
                                            </select>
                                           </div>
                                         
                                        <span id="text1" style="width:280px;text-align:right; display:inline-block;float:left;"  >看图开单横屏后每行图片数量: </span>
                                            <select id="picturebilllinenums"  name="picturebilllinenums" >
                                                <option value="3" <%=picturebilllinenums=="3"?"selected":"" %> >3</option>
                                                <option value="4" <%=picturebilllinenums=="4"?"selected":"" %> >4</option>
                                            </select>
									  
                                    </div> 
                                    <div class="control-group" id="div22" runat="server">
                                        <label class="control-label">开单默认大单位:</label>
                                        <div class="controls">
											<input type="radio" value="是" name="bigdanwei" <%=bigdanwei=="是"?"checked":"" %>  id="Radio45"/>是
                                            <input type="radio" value="否" name="bigdanwei" <%=bigdanwei=="否"?"checked":"" %> id="Radio46"/>否
										</div>
                                    </div> 
                                    <div class="control-group" id="div23" runat="server">
                                        <label class="control-label">开单商品切换单位,单价按换算率转换:</label>
                                        <div class="controls">
											<input type="radio" value="是" name="qiehuanunit" <%=qiehuanunit=="是"?"checked":"" %>  id="Radio47"/>是
                                            <input type="radio" value="否" name="qiehuanunit" <%=qiehuanunit=="否"?"checked":"" %> id="Radio48"/>否
										</div>
                                    </div> 
                                    <div class="control-group" id="div24" runat="server">
                                        <label class="control-label">启用客户销售价格类型跟踪:</label>
                                        <div class="controls">
											<input type="radio" value="是" name="btypeprice" <%=btypeprice=="是"?"checked":"" %>  id="Radio49"/>是
                                            <input type="radio" value="否" name="btypeprice" <%=btypeprice=="否"?"checked":"" %> id="Radio50"/>否
										</div>
                                    </div> 
                                   
                                 </div>
							</div>
						</div>
					</div>
				</div>
</asp:Content>
