<html xmlns="http://www.w3.org/1999/xhtml">
<!--#include file="../Inc/Conn.asp" -->
<!--#include file="../Inc/SK.Session.asp" -->
<!--#include file="../Inc/SK.Funtion.asp" -->
<%if Not (Getconfig("SK_Product")="0") then Call ReturnError()%>
<%
if Not isnumeric(JCID(F("ID"))) then Call ReturnError10()
set rs=server.createobject("adodb.recordset")
sql="SELECT * from SK_Product where ProID="&JCID(F("ID"))&""
rs.Open sql,conn,1,1
if rs.eof and rs.bof then Call ReturnError4()
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
<title>查看产品</title>
<META http-equiv=Page-Enter content=SKCRM>
<META http-equiv=Page-Exit content=SKCRM>
<META content="MSHTML 6.00.3790.2858" name=GENERATOR>
<LINK href="../images/style.css" type=text/css rel=stylesheet>
<script language="javascript" src="../Inc/Check.js"></script>
<script language="javascript" src="../Inc/Calendar.js"></script>
<script language="javascript" src="../Inc/jquery.js"></script>
<SCRIPT language=javascript src="../inc/Openwin.js"></SCRIPT>
<style type="text/css">
<!--
body {
margin: 5px 0px 5px 0px;
overflow-x: hidden;
}
-->
</style>
</head>
<body>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<TBODY>
<tr>
<td class="SK_Td_Top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="12" height="25"><img src="../images/tab_03.gif" width="12" height="25" /></td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="46%" valign="middle">查看产品</td>
<td width="54%"></td>
</tr>
</table></td>
<td width="16"><img src="../images/tab_07.gif" width="16" height="25" /></td>
</tr>
</table></td>
</tr>
<tr>
<td>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="8" background="../images/tab_12.gif"></td>
<td>

<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="b5d6e6">
<tr>
  <td colspan="3" class="SK_Text2">产品名称</td>
  <td width="29%" class="SK_Text1"><%=Rs("SK_ProName")%></td>
  <td width="14%" class="SK_Text2">产品编码</td>
  <td width="42%" class="SK_Text1"><%=Rs("SK_ProNo")%></td>
</tr>

<tr>
  <td colspan="3" class="SK_Text2">产品分类</td>
  <td class="SK_Text1">
<%
set RsClass=server.createobject("adodb.recordset")
SqlClass="select * from SK_ProClass where ProClassID="&RS("SK_ProType")&""
RsClass.open SqlClass,conn,1,1
Response.write""&RsClass("ProClassName")&""
RsClass.close
Set RsClass=Nothing
%>  </td>
  <td class="SK_Text2">产品规格</td>
  <td class="SK_Text1"><%=Rs("SK_ProNum")%></td>
</tr>
<tr>
  <td colspan="3" class="SK_Text2">市场价格</td>
  <td class="SK_Text1"><%=Rs("SK_Price1")%></td>
  <td class="SK_Text2">成本价格</td>
  <td class="SK_Text1"><%if Session("Manager")="1" OR JudgePopedomTF(Session("UserName"),"SK800000105") then%>
  <%=Rs("SK_Price2")%>
  <%end if%>  </td>
</tr>
<tr>
  <td colspan="3" class="SK_Text2">产品单位</td>
  <td class="SK_Text1">
<%
set RsUnit=server.createobject("adodb.recordset")
SqlUnit="select * from SK_SystemCategory where SK_Di=161 and CategoryID="&RS("SK_Unit")&""
RsUnit.open SqlUnit,conn,1,1
Response.write""&RsUnit("SK_Name")&""
RsUnit.close
set RsUnit=Nothing
%></td>
  <td class="SK_Text2">预警数量</td>
  <td class="SK_Text1"><%=Rs("SK_Early")%></td>
</tr>
<tr>
  <td colspan="3" class="SK_Text2">产品性质</td>
  <td class="SK_Text1"><%if Rs("SK_Di")=0 then Response.write"出售产品" else Response.write"内部使用" end if%></td>
  <td class="SK_Text2">条形码</td>
  <td class="SK_Text1"><%=Rs("SK_ProTm")%></td>
</tr>
<tr>
  <td colspan="3" valign="top" class="SK_Text2">产品说明</td>
  <td colspan="3" valign="top" class="SK_FContent"><%=Rs("SK_Content")%></td>
  </tr>

<tr>
  <td colspan="3" valign="top" class="SK_Text2">产品参数</td>
  <td colspan="3" valign="top" class="SK_FContent"><%=Rs("SK_Parame")%></td>
</tr>

<tr>
  <td colspan="3" valign="top" class="SK_Text2">产品备注</td>
  <td colspan="3" valign="top" class="SK_FContent"><%=Rs("SK_Remarks")%></td>
</tr>

<tr>
<td colspan="6" class="SK_Text">
<input type="button" value=" 关闭 " onClick="window.close();" class="button1" /></td>
</tr>
</table>

</td>
<td width="8" background="../images/tab_15.gif"></td>
</tr>
</table></td>
</tr>
<tr>
<td class="SK_Td_Foot">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="1%" height="20"><img src="../images/tab_18.gif" width="12" height="20" /></td>
<td width="98%" class="SK_Td_Page"></td>
<td width="1%"><img src="../images/tab_20.gif" width="16" height="20" /></td>
</tr>
</table>

</td>
</tr>
</TBODY>
</table>
</body>
<%
Call CloseDB()
%>
</html>