<%@page contentType="text/html;charset=GBK" %>
<table width="223" height="95" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="10" height="10"><img src="<%=CONTEXT%>/img/QQ/i01.gif" width="10" height="10"></td>
    <td width="203" background="<%=CONTEXT%>/img/QQ/i03.gif"></td>
    <td width="10"><img src="<%=CONTEXT%>/img/QQ/i02.gif" width="10" height="10"></td>
  </tr>
  <tr>
    <td height="75" background="<%=CONTEXT%>/img/QQ/i04.gif">&nbsp;</td>
    <td>
			<html:form  method="post" action="/fg/order/groupStock">
			<html:hidden property="channelId" value="<%=currentChannel.getId()%>"/>
			<html:hidden property="actionType" value="fgsave"/>
			<html:hidden property="pageType"/>
			<table width="100%" height="41" border="0" cellpadding="0" cellspacing="0" >
			  <tr>
			    <td>&nbsp;&nbsp;<span class="type01"><b>集团购物</b></span></td>
			  </tr>
			</table>
			<TABLE width="640" height="193" border=0 cellPadding=0 cellSpacing=0>
			  <TBODY>
			    <TR > 
			      <TD width="189" align=right>商品编号：</TD>
			      <TD width="451" align=left>
			      	<html:text property="bean.productId" size="20"/>
			      </TD>
			    </TR>
			    <TR > 
			      <TD align=right>商品名称：</TD>
			      <TD align=left><html:text property="bean.productName" size="20"/></TD>
			    </TR>
			    <TR > 
			      <TD align=right>订购数量：</TD>
			      <TD align=left><html:text property="bean.stockNumber" size="20"/>  </TD>
			    </TR>
			    <TR > 
			      <TD align=right>联系人：</TD>
			      <TD align=left><html:text property="bean.contact" size="20"/></TD>
			    </TR>
			    <TR > 
			      <TD height="17" align=right>联系电话：</TD>
			      <TD align=left><html:text property="bean.phone" size="20"/> </TD>
			    </TR>
			    <TR > 
			      <TD align=right>备注：</TD>
			      <TD align=left><html:textarea property="bean.note" cols="50" rows="3"/></TEXTAREA> 
			      </TD>
			    </TR>
			    <TR align=middle vAlign=bottom > 
			      <TD height=40 colSpan=2>
				      <INPUT name=Submit33 type=button class="cssboard04" onclick=javascript:submitForm() value=提交> 
				      <INPUT name=Submit322 type=reset class="cssboard04" value=取消>
			      </TD>
			    </TR>
			  </TBODY>
			</TABLE>
			<table width="640" height="43" border="0" cellpadding="0" cellspacing="0">
			  <tr>
			    <td>&nbsp;</td>
			  </tr>
			</table>
			</html:form>
			<script>
				function submitForm() {
					if(document.all['bean.productName'].value == "") {
						alert("请填写供求信息。");
						return;
					}
					fggroupStockForm.submit();
				}
				<%
					if("true".equals(request.getAttribute("save_success"))) {
				%>
					alert("供求信息添加成功。")
				<%
					}
				%>
			</script>
    </td>
    <td background="<%=CONTEXT%>/img/QQ/i05.gif"></td>
  </tr>
  <tr>
    <td height="10"><img src="<%=CONTEXT%>/img/QQ/i06.gif" width="10" height="10"></td>
    <td background="<%=CONTEXT%>/img/QQ/i08.gif"></td>
    <td><img src="<%=CONTEXT%>/img/QQ/i07.gif" width="10" height="10"></td>
  </tr>
</table>
