📄 sk_crm_follow_edit.asp
字号:
<!--#include file="conn.asp" -->
<%
if session("name")="" or session("dd")="" then
Response.Write("<script>alert(""非法登陆,请确认密码的正确性!\n或者已经被管理员锁定!"");history.back();</script>")
response.end
end if
if session("quanxian")="1" then
Response.Write("<script>alert(""对不起,你的权限不够!"");history.back();</script>")
response.end
end if
dim rs,sql
if session("chayue")="0" then
sql="select * from SK_Follow where id="&request("id")&" and vest_m="&session("dd")&" and cust_s="&request("cust")&""
else
sql="select * from SK_Follow where id="&request("id")&" and kongzhi='"&session("name")&"' and vest_m="&session("dd")&" and cust_s="&request("cust")&""
end if
set rs=server.createobject("adodb.recordset")
rs.Open sql,conn,1,3
if not rs.EOF then
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.3790.2993" name=GENERATOR></HEAD>
<BODY leftMargin=0 topMargin=0 marginheight="0">
<LINK href="images/style.css" type=text/css rel=stylesheet>
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD class=td>
<DIV align=left>您现在的位置:CRM >> 客户管理 >> 修改跟进记录</DIV></TD></TR></TBODY></TABLE>
<TABLE borderColor=#ffffff cellSpacing=0 borderColorDark=#ffffff cellPadding=3
width="100%" borderColorLight=#dfdfdf border=1>
<tr>
<td height="30"><b>修改记录信息 -
<a href="vbscript:history.back()" style="text-decoration: none">返回上页</a> </b></td>
</tr>
</table>
<script Language="JavaScript">
<!--
function Form1_Validator(theForm)
{
if (theForm.title.value == "")
{
alert("标题必须填写!");
theForm.title.focus();
return (false);
}
if (theForm.name.value.length >16)
{
alert("联系人姓名填写是否正确?请确认!");
theForm.name.focus();
return (false);
}
return (true);
}
//-->
</script>
<form method="POST" action="SK_CRM_Follow_editok.asp" name="FrontPage_Form1" onSubmit="return FrontPage_Form1_Validator(this)" >
<input type="hidden" name="id" size="18" maxlength="20" value="<%=request("id")%>">
<input type="hidden" name="cust" size="18" maxlength="20" value="<%=request("cust")%>">
<input type="hidden" name="time" size="18" maxlength="20" value="<%=rs("time")%>">
<input type="hidden" name="company" size="18" maxlength="20" value="<%=request("company")%>">
<input type="hidden" name="SK_sclass" value="<%=request("SK_sclass")%>">
<TABLE borderColor=#ffffff cellSpacing=0 borderColorDark=#ffffff cellPadding=3
width="100%" borderColorLight=#dfdfdf border=1>
<tr>
<td width="165" height="25" align="right">标题 </td>
<td width="796" height="25">
<input type="text" name="title" size="20" maxlength="50" value="<%=rs("title")%>">
<font color="#FF0000">此项目为必须填写项</font></td>
</tr>
<tr>
<td width="165" height="25" align="right">所属公司</td>
<td width="796" height="25">
<%=request("company")%></td>
</tr>
<tr>
<td width="165" height="25" align="right">内容 </td>
<td width="796" height="25">
<textarea rows="8" name="content" cols="60" style="font-family: 宋体; font-size: 9pt;color:#0000FF"><%=rs("content")%></textarea></td>
</tr>
<tr>
<td width="165" height="25" align="right">录入人 </td>
<td width="796" height="25"><%=rs("kongzhi")%></td>
</tr>
<tr>
<td width="165" height="25" align="right">录入时间 </td>
<td width="796" height="25"><%=rs("time")%></td>
</tr>
<tr>
<td height="25" align="right"> </td>
<td height="25"><input type="submit" value="修改" name="B1">
<input type="reset" value="还原" name="B2"></td>
</tr>
</table>
</form>
</body>
</html>
<%
rs.Close
set rs=nothing
end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -