⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addkfxw.asp

📁 客户管理系统-支持 Ms Sql-Server
💻 ASP
字号:
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>添加客户行为</title>
<LINK href="mainimages/style.css" type="text/css" rel="stylesheet">
<body >
</head>
<!--#include file="piaoy.inc"-->
<!--#include file="hyyxlAdmin.asp"-->			
			<%
			kfglkfxwglbm=session("kfglkfxwglbm")
			if request("kfxwglid")<>"" then
  kfxwglid=request("kfxwglid")
  sql = "select * from "&kfglkfxwglbm&" where kfxwglid="&kfxwglid
  
  'response.write sql
  Set rs = Server.CreateObject("ADODB.RecordSet")
  rs.Open sql,conn,1,1

kfglid=rs("kfglid")  
xkfid=rs("xkfid")
kfxwglxwjl=rs("kfxwglxwjl")
kfxwglywy=rs("kfxwglywy")
kfxwglbz=rs("kfxwglbz")
kfxwglsj=rs("kfxwglsj")
kfxwglje=rs("kfxwglje")
kfxwglxwzl=rs("kfxwglxwzl")
  else
			kfxwglid=trim(request("kfxwglid"))
			kfglid=trim(request("kfglid"))
			xkfid=trim(request("xkfid"))
			end if
			%>

                <form id="form1" name="form1" method="post" action="addkfxwsave.asp?kfxwglid=<%=kfxwglid%>&kfglid=<%=kfglid%>&xkfid=<%=request("xkfid")%>"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td height="30" class="black12px"><strong>&nbsp;&nbsp;<font color="#003399">您现在的位置:</font></strong><font color="#003399">客户管理系统 <span class="nav">-&gt;</span> 用户中心 <span class="nav">-&gt;</span> 客户管理</font> <span class="nav">-&gt;</span> 客户行为管理</font></td>
    </tr>
  </table>
  <TABLE id=data_table cellSpacing=0 cellPadding=3 width="100%" 
      bgColor=#dbeaf5 border=0>
    <TBODY>
      <TR>
        <TD height="20" align="left" valign="middle"><SPAN 
            class=blue12px><STRONG>&nbsp;&nbsp;&nbsp;</font></STRONG></SPAN></TD>
      </TR>
      <TR bgColor=#c1cdd8>
        <TD align=middle height=1></TD>
      </TR>
      <TR bgColor=#c1cdd8>
        <TD align=middle 
height=1></TD>
      </TR>
    </TBODY>
  </TABLE>
                  <TABLE width="579" border="0" align="center" cellPadding="0" cellSpacing="0" bgcolor="#fff7e5">
					<TR>
						<TD width="1" bgColor="#a36107" rowSpan="3"></TD>
						<TD bgColor="#a36107" height="1"></TD>
						<TD width="1" bgColor="#a36107" rowSpan="3"></TD>
					</TR>
					<TR>
						<TD>
							<TABLE id="Table1" style="FONT-SIZE: 12px" height="100%" cellSpacing="0" cellPadding="0"
								width="100%" border="0">
								<TR class="funTitle" height="30">
									<TD vAlign="middle" align="center" bgColor="#ffedde" colSpan="2">客户行为管理</TD>
								</TR>
								<TR bgColor="#ffedde" height="25">
									<TD vAlign="top" align="right" width="100">行为记录:</TD>
									<TD width="340">
											<textarea name="kfxwglxwjl" id="kfxwglxwjl" tabindex="1" style="border-width:1px;border-style:Solid;height:60px;width:382px;"><%=kfxwglxwjl%></textarea>
											<BR>
										<span id="Requiredfieldvalidator2" controltovalidate="txtEProduct" errormessage="产品/服务不能为空" display="Dynamic" evaluationfunction="RequiredFieldValidatorEvaluateIsValid" initialvalue="" style="color:Red;display:none;">产品/服务不能为空</span></TD>
								</TR>
								<TR>
									<TD bgColor="#a36107" colSpan="6" height="1"></TD>
								</TR>
								<TR bgColor="#ffedde" height="25">
									<TD align="right" width="100">金额:</TD>
									<TD width="340">
										<%if request("kfxwglid")<>"" then%><input name="kfxwglje" type="text" value="<%if kfxwglje<1 then
							response.write "0"
							response.write formatnumber(kfxwglje,2)
							else
							response.write formatnumber(kfxwglje,2)
							end if%>" id="kfxwglje" tabindex="2" style="border-width:1px;border-style:Solid;width:56px;" /><%else%><input name="kfxwglje" type="text" value="0.00" id="kfxwglje" tabindex="2" style="border-width:1px;border-style:Solid;width:56px;" /><%end if%>
										&nbsp;元<BR>
										<span id="Regularexpressionvalidator2" controltovalidate="txtEMoney" errormessage="消费金额必须是数字!" display="Dynamic" evaluationfunction="RegularExpressionValidatorEvaluateIsValid" validationexpression="^([0-9]{1,6})+(.[0-9]{1,2})?$" style="color:Red;display:none;">消费金额必须是数字!</span></TD>
								</TR>
								<TR>
									<TD bgColor="#a36107" colSpan="6" height="1"></TD>
								</TR>
								<TR bgColor="#ffedde" height="25">
									<TD align="right" width="100">业务员:</TD>
								  <TD width="340">
										<input name="kfxwglywy" type="text" id="kfxwglywy" style="border-width:1px;border-style:Solid;width:88px;" tabindex="3" value="<%=kfxwglywy%>" />&nbsp;行为种类:
										<select name="kfxwglxwzl" id="kfxwglxwzl">
										<option value="<%=kfxwglxwzl%>"><%=kfxwglxwzl%></option>
										  <option value="短信">短信</option>
										  <option value="电话">电话</option>										  
										  <option value="拜访">拜访</option>
										  <option value="其他">其他</option>
								            </select>
										</TD>
								</TR>
								<TR>
									<TD bgColor="#a36107" colSpan="6" height="1"></TD>
								</TR>
								<TR bgColor="#ffedde" height="25">
									<TD vAlign="top" align="right" width="100">备注:</TD>
									<TD width="340">
										<textarea name="kfxwglbz" id="kfxwglbz" tabindex="4" style="border-width:1px;border-style:Solid;height:60px;width:382px;"><%=kfxwglbz%></textarea></TD>
								</TR>
								<TR>
									<TD bgColor="#a36107" colSpan="6" height="1"></TD>
								</TR>
								<TR bgColor="#ffedde" height="25">
									<TD align="right" width="100">时间:</TD>
									<TD width="340">
										<%if request("kfxwglid")<>"" then%><input name="kfxwglsj" type="text" id="kfxwglsj"  style="border-width:1px;border-style:solid;" tabindex="5" value="<%=kfxwglsj%>" /><%else%><input name="kfxwglsj" type="text" id="kfxwglsj"  style="border-width:1px;border-style:solid;" tabindex="5" value="<%=date()%>" /><%end if%></TD>
								</TR>
								<TR>
									<TD bgColor="#a36107" colSpan="6" height="1"></TD>
								</TR>
								<TR bgColor="#ffedde" height="25">
								  <TD align="center" colSpan="2"><%if request("kfxwglid")<>"" then%>
								    <input name="qfdx" type="submit"  class="button" style="COLOR: #ffcc33"  id="qfdx" value="   修   改   " />
								    <%else%>
								    <input name="qfdx2" type="submit"  class="button" style="COLOR: #ffcc33"  id="qfdx2" value="   添   加   " />
								    <%end if%>										&nbsp;&nbsp;
								    <input class="button" style="COLOR: #ffcc33" id="reset2" onclick="history.back()" type="button" value="   取   消   " name="reset22" /></TD>
								</TR>
							</TABLE>
						</TD>
					</TR>
					<TR>
						<TD bgColor="#a36107" height="1"></TD>
					</TR>
</TABLE><TABLE id=data_table cellSpacing=0 cellPadding=3 width="100%" 
      bgColor=#dbeaf5 border=0>
  <TBODY>
    <TR>
      <TD height="20" align="left" valign="middle"></TD>
    </TR>
    <TR bgColor=#c1cdd8>
      <TD align=middle height=1></TD>
    </TR>
    <TR bgColor=#c1cdd8>
      <TD align=middle 
height=1></TD>
    </TR>
  </TBODY>
</TABLE>
</form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -