{layout:simple} {class:Shop.Admin.storeConfig.pickup_edit_window}
<lbbody>
<table class="table">
    <tr>
        <th style="width: 20%;">
            <%=Tag("名称")%>：
        </th>
        <td style="width: 80%;">
            <input type="text" shop="true" min="notnull" id="Name" name="Name" class="input" style="width: 200px;" value="<%=model.Name %>" />
        </td>
    </tr>    
    <tr>
        <th style="width: 20%;">
            <%=Tag("供应商")%>：
        </th>
        <td style="width: 80%;">
            <select id="Supplier_id" name="Supplier_id" shop="true">
                <option value="0"><%=Tag("商城") %></option>
                <%=SupplierOptions(model.Supplier_id) %>
            </select>
        </td>
    </tr>
    <tr>
        <th style="vertical-align:top">
            <%=Tag("描述")%>：
        </th>
        <td>
            <textarea name="Description" id="Description" class="input" shop="true" style="width: 300px;height: 60px;"><%=model.Description%></textarea>
            <div class="tools clear">
                <ul>
                    <li class="plus"><a href="javascript:void(0);" onclick="javascript:resizeEditor('Description',100);"><b></b><span><%=Tag("展开")%></span></a></li>
                    <li class="minus"><a href="javascript:void(0);" onclick="javascript:resizeEditor('Description',-100)"><b></b><span><%=Tag("收缩")%></span></a></li>
                </ul>
            </div>
        </td>
    </tr>
    <tr>
        <th>
            <%=Tag("周末服务")%>：
        </th>
        <td>
            <label><input type="radio" name="IsCanWeekend" shop="true" value="1" <%=model.IsCanWeekend==1?"checked":"" %> /><%=Tag("是")%></label>
            <label><input type="radio" name="IsCanWeekend" shop="true" value="0" <%=model.IsCanWeekend==0?"checked":"" %> /><%=Tag("否")%></label>
        </td>
    </tr>
    <tr>
        <th style="vertical-align:top">
            <%=Tag("暂停服务日期")%>：
        </th>
        <td>
            <textarea name="NoServiceDays" id="NoServiceDays" class="input" shop="true" style="width: 300px;height: 60px;"><%=model.NoServiceDays%></textarea>
            <div class="tools clear">
                <ul>
                    <li class="plus"><a href="javascript:void(0);" onclick="javascript:resizeEditor('NoServiceDays',100);"><b></b><span><%=Tag("展开")%></span></a></li>
                    <li class="minus"><a href="javascript:void(0);" onclick="javascript:resizeEditor('NoServiceDays',-100)"><b></b><span><%=Tag("收缩")%></span></a></li>
                </ul>
            </div>
        </td>
    </tr>
    <tr>
        <th>
            <%=Tag("备货天数")%>：
        </th>
        <td style="text-align: left;">
            <input type="text" class="input" shop="true" name="BeginDays" id="BeginDays" value="<%=model.BeginDays %>"
                style="width: 70px;" />
        </td>
    </tr>
    <tr>
            <th style="vertical-align:top">
                <%=Tag("语言")%>：
            </th>
            <td>
                <%= Shop.Bussiness.Language.SiteLanguageCheckbox("Language_ids", model.Language_ids,CurrentLanguage.Code,CurrentAdmin)%>
            </td>
        </tr>
    <tr>
        <th>
            <%=Tag("排序序号")%>：
        </th>
        <td style="text-align: left;">
            <input type="text" class="input" shop="true" name="Sort" id="Sort" value="<%=model.Sort %>"
                style="width: 70px;" />
        </td>
    </tr>
    <tr>
        <td colspan="2" class="action">
            <div class="tools tools-m">
                <ul>
                    <li class="submit"><a href="javascript:void(0);" onclick="SaveObj();"><b></b><span><%=Tag("保存")%></span></a></li>
                </ul>
            </div>
        </td>
    </tr>
</table>
<script type="text/javascript">
    function SaveObj() {
        var postData = GetFormJsonData("shop");
        if (!CheckForm("shop", "span"))
            return false;
        var url = "<%=site.AdminPath %>/ajax/ajax_site.aspx?__Action=pickup_Edit&id=<%=model.id %>";
        RequestAjax(url,postData,function(){MsgBox(1, "<%=Tag("操作成功")%>", "?")});
    }
</script>
</lbbody>