98 lines
4.8 KiB
Plaintext
98 lines
4.8 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Product_browse.aspx.cs" Inherits="Product_browse" %>
|
|
|
|
<!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>
|
|
<script type="text/javascript"></script>
|
|
<script src="../Js/jquery-1.4.1.js" type="text/javascript"></script>
|
|
<script src="../Jquery-ui/js/jquery-1.10.2.js" type="text/javascript"></script>
|
|
<script src="../Jquery-ui/js/jquery-ui-1.10.4.custom.js" type="text/javascript"></script>
|
|
<link href="../Css/index.css" rel="stylesheet" type="text/css" />
|
|
<link href="../Css/detail.css" rel="stylesheet" type="text/css" />
|
|
<link href="../Jquery-ui/css/pepper-grinder/jquery-ui-1.10.4.custom.css" rel="stylesheet" type="text/css" />
|
|
<link rel="stylesheet" href="../Css/gh-buttons.css" type="text/css"/>
|
|
<link rel="stylesheet" href="../Css/prettify.css"/>
|
|
<script src="../Js/prettify.js" type="text/javascript"></script>
|
|
<script type="text/javascript">
|
|
function setbjbt() {
|
|
window.location.href = "Product_Formt.aspx?uid=" + $("#id").val();
|
|
}
|
|
function cpwjdcft() {
|
|
$("#<%=wj.ClientID%>").click();
|
|
}
|
|
function seltp() {
|
|
$("#cptp").attr("src", document.getElementById("tp").src);
|
|
$("#dialog-pkinfo").dialog({
|
|
resizable: false,
|
|
height: 450,
|
|
width: 450,
|
|
modal: true,
|
|
buttons: {
|
|
确定: function () {
|
|
|
|
$('#dialog-pkinfo').dialog('close');
|
|
}
|
|
},
|
|
close: function () {
|
|
$(".ui-widget-overlay").css("display", "none");
|
|
}
|
|
});
|
|
$(".ui-widget-overlay").click(function () {
|
|
$('#dialog-pkinfo').dialog('close');
|
|
|
|
});
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<form id="form1" runat="server">
|
|
<div class="rtbjdiv" >
|
|
<div class="add-top" >
|
|
<div class="add-top-dh" id="div_listdaohang"><h4>产品档案详细页   </h4> <a href="Product_list.aspx" id="bt_fhlb" runat="server" style=" width:65px" class="button icon pin">回到列表</a></div>
|
|
<div class="add-top-cz" >
|
|
<%--<a href="Product_Formt.aspx" id="bt_add" runat="server" Visible=false class="button icon add">添加</a> --%>
|
|
<a href="#button" id="bt_tj" runat="server" onclick="setbjbt()" Visible="false" class="button icon edit">编辑</a>
|
|
<a href="#button" id="bt_shanchu" runat="server" onclick="dlteft()" Visible="false" class="button danger icon trash">删除</a>
|
|
<asp:label id="z_error" CssClass="error" runat="server"></asp:label>
|
|
</div>
|
|
|
|
</div>
|
|
<div id="dd_kong" style=" overflow:auto;">
|
|
<table class="bule"> <tr class="tdlietou"><td><h4>产品基本信息</h4></td></tr></table>
|
|
<table width="100%" id="mytab" border="1" class="bule">
|
|
<tr>
|
|
<td ><span>产品编号:</span><asp:Label id="cpbh" runat="server" ></asp:Label></td>
|
|
<td ><span>产品名称:</span><asp:Label id="cpmc" runat="server" ></asp:Label></td>
|
|
<td ><span>建档日期</span><asp:Label id="riqi" runat="server" ></asp:Label></td>
|
|
<td ><span>规格:</span><asp:Label id="gg" runat="server" ></asp:Label></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td ><span>单位:</span><asp:Label id="dw" runat="server" ></asp:Label></td>
|
|
<td ><span>单价:</span><asp:Label id="dj" runat="server" ></asp:Label></td>
|
|
<td ><span>建档人:</span><asp:Label id="jsr" runat="server" ></asp:Label></td>
|
|
<td onclick="seltp()"> <img id="tp" runat="server" width="30" height="30" onclick="seltp()"/></td>
|
|
<td ><span></span> <a href="#button" id="btn_daochu" style=" width:90px;" onclick="cpwjdcft()" class="button icon arrowdown">下载产品文件</a></td>
|
|
</tr>
|
|
<tr> <td colspan="6"><span>备注:</span><asp:Label id="bz" runat="server" ></asp:Label></td></tr>
|
|
</table>
|
|
|
|
<table class="bule"> <tr class="tdlietou"><td><h4>需求物料信息</h4></td></tr></table>
|
|
<div id="xqwldiv" runat="server" > </div>
|
|
|
|
</div>
|
|
<div id="dialog-pkinfo" title="产品图片" style="overflow:hidden; display:none;" >
|
|
<img src='' style='Width:100%;Height:76' id="cptp" />
|
|
</div>
|
|
</div>
|
|
<span style=" display:none"><asp:button id="shanchu" runat="server" Text="删除" Visible="false" OnClientClick="return confirm('确定要删除吗')"
|
|
onclick="Shanchu_Click" ></asp:button>  </span>
|
|
<span style=" display:none"><asp:Button ID="wj" runat="server" Text="下载" onclick="wj_Click" CssClass="ui-btn"/></span>
|
|
<asp:HiddenField ID="id" runat="server" Value="" />
|
|
<script src="../Js/messageshow.js" type="text/javascript"></script>
|
|
</form>
|
|
</body>
|
|
</html>
|