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

📄 wt_sell.jsp

📁 structejbmysql开发工程源码
💻 JSP
字号:
<%@ page contentType="text/html;charset=gb2312" %>
<%@ page session="true" %>
<%@ page import="stock.ErrMsg.ErrMsg" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %><html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>卖出证券委托,证券买入,证券交易</title>
<style>
<!--
        A:text {text-decoration: none; color: #FFFFFF; font-size: 9pt; font-family: 新细明体}
        A:link {text-decoration: none; color: #008800; font-size: 9pt; font-family: 新细明体}
        A:visited {text-decoration: none; color: #008800; font-size: 9pt; font-family: 新细明体}
        A:active {text-decoration: none; color: #008800; font-size: 9pt; font-family: 新细明体}
        A:hover {text-decoration: underline; font-size: 9pt; color: #008888}
        TD {FONT-FAMILY: "宋体"; FONT-SIZE: 9pt}
BODY {	FONT-FAMILY: "宋体"; FONT-SIZE: 9pt}
.inputnormal { border:1px solid #C0C0C0; text-align:left; background-color:#FFFFFF}
.inputedit   { border:1px solid #6699CC; background-color:#FFE8FF }
-->
</style>
</head>
<script language="javaScript">
function fun(code,pat)
{
var i,c;
for(i=0;i<par.length;i++)
{
c=pat.charAt(i);
if(code==c.charCodeAt(0))return(true);
}
return(false);
}
</script>
<body style="font-family: 宋体; font-size: 9pt" ttyle="font-family: 新细明体; font-size: 9pt" background="resource/images/box_mtl_ctr.gif" topmargin="0"  oncontextmenu=self.event.returnValue=false  onselectstart="return false">


<div id="layer" style="position:absolute; left:120; top:190; width:244; height:90; z-index:3 ; visibility: hidden">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="122%" id="AutoNumber1" height="90" bgcolor="#800000">
  <tr>
    <td width="100%" style=font-size:16px;color:#FFFF00;filter:DropShadow(Color=#000000,OffX=1,OffY=1,Positive=1) height="90" valign=middle>
    <font color="#FFFF00">正在发送委托单,请稍等......</font><br>
<br><font style="font-size:12.8px">股市开市高峰期可能因访问人数剧增导致访问较慢,请耐心等待。
</font></td>
  </tr>
</table>
</div>
<div align="center">
<form method="post" action="wtSellOk.do"  name="SellForm" onsubmit="return detect1(this)">
<html:hidden property="mmlb" name="SellForm" value="ok"/>
<html:hidden property="priStpDwn" name="SellForm"/>
<html:hidden property="priStpUp" name="SellForm"/>
<html:hidden property="priOfSel" name="SellForm"/>
<html:hidden property="stkCanUsed" name="SellForm"/>
<% if(ErrMsg.ErrMsgOfSellBack==""){ %>
<table BORDER="0" CELLSPACING="0" cellpadding="1" align="center" width="100%" class="return"
style="font-family: 宋体; font-size: 9pt">
<TR><td style=font-size:12px;color:#000000;filter:DropShadow(Color=#ffffff,OffX=1,OffY=1,Positive=1)>
<p align="center">
<img border="0" src="resource/images/wtmm.gif" width="103" height="23">股票委托买卖 </p> 
</td>
</tr>
</table>

<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#000000" width="100%" id="AutoNumber1">
  <tr>
    <td width="100%" bgcolor="#0072D4" height="18">
    <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2" height="150" bordercolorlight="#FFFFFF" bordercolordark="#000000">
      <tr>
        <td width="100%" colspan="2" height="18"><font color="#FFFFFF"><img border="0" src="resource/images/nw.gif">卖出委托</font></td>
      </tr>
      <tr>
        <td width="70%" bgcolor="#FFFFFF" height="100%">
        <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="395" id="AutoNumber4" height="148">
          <tr>
            <td width="54" height="25" align="right" bgcolor="#FFFFFF">
            <font color="#000080">用 户 名</font> </td>
            <td width="342" height="25" colspan="2" bgcolor="#FFFFFF">
            &nbsp;<html:text name="SellForm" property="userName" size="16" style="border: 1px solid #000000; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1; background-color:#F0F0F0" readonly="true"/></td>
          </tr>
          <tr>
            <td width="54" height="25" align="right"><font color="#000080">股票代码</font> </td>
            <td width="342" height="25" colspan="2">
            &nbsp;<html:text name="SellForm" property="stkID" size="9" style="border: 1px solid #000000; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1; "   onchange="self.location='wt.asp?mmlb=S&stock='+WTForm1.stock_code.value;return false;"  onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" readonly="true"/><font color="#0062B6">
            </font>
          </tr>
          <tr>
            <td width="54" height="25" align="right" bgcolor="#FFFFFF"><font color="#000080">卖出价格</font> </td>
            <td width="80" height="25" bgcolor="#FFFFFF">
            &nbsp;<html:text name="SellForm" property="priOfSel" size="9" style="border: 1px solid #000000; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" readonly="true" /></td>
            <td width="262" height="25" bgcolor="#FFFFFF"><font color="#0062b6">&nbsp;[跌停价:</font><font color="#800000"><bean:write name="SellForm" property="priStpDwn"/></font><font color="#0062b6">,涨停价:</font><font color="#800000"><bean:write name="SellForm" property="priStpUp"/></font><font color="#0062b6">]</font></td>
            <td width="1" height="25"></td>
          </tr>
          <tr>
            <td width="54" height="26" align="right"><font color="#000080">卖出数量</font> </td>
            <td width="80" height="26">
            &nbsp;<html:text name="SellForm" property="numOfSel" size="9" style="border: 1px solid #000000; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1" onkeypress="return fun(window.event.keyCode,'0123456789');" maxlength="9"/></td>
            <td width="262" height="26"><font color="#0062b6">&nbsp;[股票可用数:</font><font color="#800000"><span id="availableStock"><bean:write name="SellForm" property="stkCanUsed"/></span></font><font color="#0062b6">]</font></td>
          </tr>
          
          <tr>
            <td width="54" height="26" align="right"><font color="#000080">委托理由</font> </td>
            <td width="342" height="26" colspan="2">
            &nbsp;<html:text name="SellForm" property="reason"  size="36" style="border: 1px solid #000000; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" /><font color="#0062b6">[可以为空]</font></td>
          </tr>
		  
			<!--
          <input type="hidden" name="why" value="">
			-->
            
          <tr> 
            <td width="395" height="30" colspan="3" bgcolor="#FFFFFF">
            <table border=0  cellpadding="0" cellspacing="0" width="100%"><tr><td>
            <p align="center">&nbsp;<html:image src="resource/images/sell_button.gif"   alt="买入股票"/></td></tr></table></td>
          </tr>
        </table>
        </td>
        <td width="90%" bgcolor="#FFFFFF" height="100%">
          </tr>
        </table>        
        </td>
      </tr>
     </table>
    </td>
  </tr>
</form>
<form method="POST" action="wtSellOkBack.do"  onsubmit="return detect()" name="SellForm"> 
<html:hidden property="mmlb" name="SellForm" value="ok"/>
<html:hidden property="userName" name="SellForm"/>
<% if(ErrMsg.ErrMsgOfSellBack==""){ %>
  </table>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#000000" width="100%" id="AutoNumber1" height="44" bordercolorlight="#FFFFFF" bordercolordark="#000000">
  <tr>
    <td width="567" bgcolor="#99C5C5" height="18" colspan="3">
    <font color="#FFFFFF"><img border="0" src="resource/images/nw.gif"></font>更换证券代码</td>
  </tr>
  <tr>
    <td width="88" bgcolor="#FFFFFF" height="25" valign="middle">
    
      <p align="center">股票代码

    </td>
    <td width="182" bgcolor="#FFFFFF" height="25" valign="middle">
    <html:text name="SellForm" property="stkID" size="20" style="border: 1px solid #000000; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1" value="" onblur="this.className='inputnormal'" onfocus="this.className='inputedit';this.select()" /></td>
    <td width="297" bgcolor="#FFFFFF" height="25">
      <html:image src="resource/images/sell_button.gif"  onclick="form.mmlb.value='S';form.submit()"/>
     </td>
  </tr>
</table> 
<% }else {%>
<p align="left">
<%=ErrMsg.ErrMsgOfSellBack%>
<%ErrMsg.ErrMsgOfSellBack="";%>
<html:link page="/sell.do" paramId="userName" paramName="SellForm" paramProperty="userName">Continue</html:link >
<%} %>
<% }else {%>
<p align="left">
<%=ErrMsg.ErrMsgOfSellBack%>
<%ErrMsg.ErrMsgOfSellBack="";%>
<html:link page="/sell.do" paramId="userName" paramName="SellForm" paramProperty="userName">Continue</html:link >
<%} %>
 </form>
 
<script language="JavaScript">
        <!--  
        document.form.stock.select();
// --></script>

</body></html>

⌨️ 快捷键说明

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