<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FirmDetail.aspx.cs" Inherits="CY.WebForm.Pages.member.FirmDetail" %>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<head runat="server">
|
<title>印刷厂商基本信息</title>
|
<uc:CMSHead ID="CMSHead1" runat="server" />
|
<script type="text/javascript">
|
function CheckTypes() {
|
var i = 0;
|
$("input[type='checkbox']:checked").each(function () {
|
i++;
|
});
|
if (i == 0) {
|
alertMsg("类别必选");
|
return false;
|
} else if (i > 3) {
|
alertMsg("类别最多选取3个");
|
|
return false;
|
} else {
|
return true;
|
}
|
}
|
$(function () {
|
$("input[type='checkbox']").click(function () {
|
if (!CheckTypes()) {
|
$(this).removeAttr("checked");
|
}
|
});
|
});
|
</script>
|
<style type="text/css">
|
#RBOtherTypes td { border: none; }
|
#RBOtherTypes table { border: none; }
|
#RBOtherTypes label{ cursor:pointer;}
|
</style>
|
</head>
|
<body>
|
<form id="form1" runat="server" class="form2">
|
<table class="tableStyle">
|
<tr>
|
<td class="ali03 w150px">
|
组织机构代码证:
|
</td>
|
<td>
|
<a class="group2" title="组织机构代码证" id="aimgFirmInfoOrganizationCodeCertificate" target="_blank">
|
<img id="imgFirmInfoOrganizationCodeCertificate" runat="server" alt="组织机构代码证" width="100" height="100" />
|
</a>
|
</td>
|
<td class="ali03 w150px">
|
税务登记证:
|
</td>
|
<td>
|
<a class="group2" title="税务登记证" id="aimgFirmInfoTaxRegistrationCertificate" target="_blank">
|
<img id="imgFirmInfoTaxRegistrationCertificate" runat="server" alt="税务登记证" width="100" height="100" />
|
</a>
|
</td>
|
<td class="ali03 ">
|
印刷许可证:
|
</td>
|
<td>
|
<a class="group2" title="印刷许可证" id="aimgPrintLicenseImg" target="_blank">
|
<img id="imgPrintLicenseImg" runat="server" alt="印刷许可证" width="100" height="100" />
|
</a>
|
</td>
|
</tr>
|
<tr>
|
<td class="ali03 w150px">
|
替换组织机构代码证:
|
</td>
|
<td>
|
<input type="file" id="OrganizationCodeCertificate" style="width: 180px;" name="OrganizationCodeCertificate" runat="server" keepdefaultstyle="true" />
|
</td>
|
<td class="ali03 w150px">
|
替换税务登记证:
|
</td>
|
<td>
|
<input type="file" id="TaxRegistrationCertificate" style="width: 180px;" name="TaxRegistrationCertificate" runat="server" keepdefaultstyle="true" />
|
</td>
|
<td class="ali03 w150px">
|
替换印刷许可证:
|
</td>
|
<td>
|
<input type="file" id="PrintLicenseImg" style="width: 180px;" name="PrintLicenseImg" runat="server" keepdefaultstyle="true" />
|
</td>
|
</tr>
|
<tr>
|
<td class="ali03 w150px">
|
营业执照复印件:
|
</td>
|
<td>
|
<a class="group2" title="营业执照复印件" id="aimgFirmInfoBusinessLicensePic" target="_blank">
|
<img id="imgFirmInfoBusinessLicensePic" runat="server" alt="营业执照复印件" width="100" height="100" />
|
</a>
|
</td>
|
<td class="ali03 w150px">
|
商家展示图片:
|
</td>
|
<td colspan="3">
|
<a class="group2" title="商家图片" id="aimgFirmInfoFileId" target="_blank">
|
<img id="imgFirmInfoFileId" runat="server" alt="商家图片" width="100" height="100" />
|
</a>
|
</td>
|
</tr>
|
<tr>
|
<td class="ali03 w150px">
|
替换营业执照复印件:
|
</td>
|
<td>
|
<input type="file" id="BusinessLicensePic" style="width: 180px;" name="BusinessLicensePic" runat="server" keepdefaultstyle="true" />
|
</td>
|
<td class="ali03 w150px">
|
替换商家展示图片:
|
</td>
|
<td colspan="3">
|
<input type="file" id="fileFirmInfoFileId" style="width: 180px;" name="fileFirmInfoFileId" runat="server" keepdefaultstyle="true" />
|
</td>
|
</tr>
|
<tr>
|
<td class="ali03 w150px">
|
注册资金:
|
</td>
|
<td>
|
<span id="spanFirmInfoBusinessLicense" runat="server"></span>
|
</td>
|
<td class="ali03 w150px">
|
所剩文件空间(M):
|
</td>
|
<td>
|
<span id="spanFirmInfoFileSize" runat="server"></span>
|
</td>
|
<td class="ali03 w150px">
|
所剩短信条数(条):
|
</td>
|
<td>
|
<span id="spanFirmInfoShorMessageNum" runat="server"></span>
|
</td>
|
</tr>
|
<tr>
|
<td class="ali03">
|
厂商类型:
|
</td>
|
<td colspan="5">
|
<asp:DropDownList runat="server" ID="selFirmInfoFirmType" AutoPostBack="true" OnSelectedIndexChanged="ChangeFirmType" keepDefaultStyle="true">
|
</asp:DropDownList>
|
</td>
|
</tr>
|
<tr>
|
<td class="ali03">
|
选择类别:
|
</td>
|
<td colspan="5">
|
<asp:CheckBoxList ID="RBOtherTypes" RepeatDirection="Horizontal" RepeatColumns="5" runat="server" keepDefaultStyle="true" BorderWidth="0" BorderColor="White" BorderStyle="None">
|
</asp:CheckBoxList>
|
</td>
|
</tr>
|
<tr>
|
<td class="ali03">
|
供应信息:
|
</td>
|
<td colspan="5">
|
<input type="text" id="txtFirmInfoSupplyInfo" runat="server" class="req" style="width: 630px;" maxlength="40" title="请填写您公司提供的业务,最多40字" msg="供应信息不能为空" />
|
</td>
|
</tr>
|
<tr>
|
<td class="ali03">
|
商家简介:
|
</td>
|
<td colspan="5">
|
<textarea id="txtFirmInfoFirmDescribeo" runat="server" style="width: 620px; height: 30px;resize: none;" maxlength="100" title="请填写您公司的简介,最多100字"></textarea>
|
</td>
|
</tr>
|
<tr>
|
<td class="ali03">
|
</td>
|
<td colspan="5">
|
<asp:Button ID="btn_submit" OnClick="btn_submit_info" OnClientClick="if(CheckTypes()){ return true; }else{ return false; }" Text="提交" runat="server" />
|
</td>
|
</tr>
|
</table>
|
</form>
|
</body>
|
<script type="text/javascript">
|
function GetDefaultImg(obj, defaultimg) {
|
$(obj).attr("src", defaultimg);
|
var imgid = $(obj).attr("id");
|
var imgUrl = $(obj).attr("src");
|
$("#a" + imgid).attr("href", imgUrl);
|
}
|
|
$(document).ready(function () {
|
$("img").each(function (ii, vv) {
|
var imgid = $(vv).attr("id");
|
var imgUrl = $(vv).attr("src");
|
$("#a" + imgid).attr("href", imgUrl);
|
});
|
//$(".group2").colorbox({ rel: 'group2', transition: "fade", maxWidth: "900", maxHeight: "700" });
|
});
|
</script>
|
</html>
|