590
社区成员
发帖
与我相关
我的任务
分享
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 1</title>
</head>
<body>
<%果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG果然是BUG%>
</body>
</html>
<!--#include file="top_aff.asp"-->
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>list_company</title>
<LINK href="command/bbs.CSS" type="text/css" rel="stylesheet">
<script>
function delok(id,cid){
if (confirm("是否删除本条记录?") == true){
window.location.href="del_jihuaDan.asp?id="+id+"&cid="+cid;
}
}
function checkView(){
objecthhId = document.getElementById("huoHaoId")
objectpmId = document.getElementById("pinMingId")
objectjiHuacountId = document.getElementById("jiHuacountId")
if (objecthhId.value=="" &&objectpmId.value==""){
alert("货号和品名不能同时为空")
return false;
}
if(objectjiHuacountId.value==""){
alert("数量必须填写")
objectjiHuacountId.focus();
return false;
}
return true;
}
function tiaoZhuan(niceday,companyId){
window.location.href="hezhang.asp?tday="+niceday+"&companyName="+companyId
}
</script>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" style="background-color: #105D9C">
<table border="0" width="965" id="table1" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" align="center" height="400">
<tr>
<td width="13" height="20"> </td>
<td width="338" height="20" >
</td>
</tr>
<tr>
<td width="13" rowspan="2"> </td>
</tr>
<tr>
<td valign="top" align="left">
<div align="left">
<form method="POST" action="heZhangDo.asp">
<table border="0" width="98%" id="table2" cellspacing="1" cellpadding="0" bgcolor="#000000">
<tr>
<td bgcolor="#FFFFFF">
<table border="0" width="100%" id="table3" cellspacing="1" cellpadding="0">
<tr>
<td colspan="9" bgcolor="#7B7631" height="23"><b>发货数量<span lang="en-us">核实表
</span><a href="affairs.asp">返回目录</a></b></td>
</tr>
<tr>
<td width="79%" align="left" bgcolor="#D4D0C8" colspan="9">
<table border="0" width="" id="table4" cellspacing="0" cellpadding="0">
<tr>
<%
companyId = request.querystring("companyName")
sql = "select * from D_company where Id = "&companyId
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if not rs.eof and not rs.bof then
overDate = rs("P_overDate")
overYear = year(overDate)
overMonth = month(overDate)
overDay = day(overDate)
end if
thisMonth = DateDiff("M",overDate,date())
for IMonth = 1 to thisMonth +1
if overMonth =13 then
overMonth =1
overYear=overYear +1
end if
newoverDay = cstr(overYear)+"-"+cstr(overMonth)+"-"+"01"
newoverDay =cdate(newoverDay)
newMonth = month(date())
newDay = cstr(year(date()))+"-"+"01"+"-"+"01"
newDay =cdate(newDay)
if newoverDay < newDay then
newSay = "去年"
else
newSay = "今年"
end if
%>
<td bgcolor="#D4D0C8">
<input type="button" value="<%=newSay%><%=overMonth%>月" name="B3" onclick="tiaoZhuan('<%=newoverDay%>',<%=companyId%>)"></td>
<%
overMonth =overMonth +1
next%>
</tr>
</table>
</td>
</tr>
<tr>
<td width="5%" align="center" bgcolor="#800000">货号</td>
<td width="5%" align="center" bgcolor="#800000">备注</td>
<td width="22%" align="center" bgcolor="#800000">品名</td>
<td width="16%" align="center" bgcolor="#800000">规格</td>
<td width="9%" align="center" bgcolor="#800000">数量</td>
<td width="3%" align="center" bgcolor="#800000">单位</td>
<td width="9%" align="center" bgcolor="#800000">单价</td>
<td width="12%" align="center" bgcolor="#800000">发货日期</td>
<td width="18%" align="center" bgcolor="#800000">公司</td>
</tr>
<%
set rss=server.createobject("adodb.recordset")
tday = trim(request.querystring("tday"))
if tday = "" then
sql = "select * from D_faHuoDan where P_jieSuan=false and P_companyId="&companyId &" order by id"
else
tday = cdate(tday)
tyear = year(tday)
tmonth = month(tday)
nextMonthDay =dateadd("d",-1,DateAdd("m", 1, tday)) '求得当月月末日期
sql = "select * from D_faHuoDan where P_faHuoDate >= '"&tday&"' and P_faHuoDate<='"&nextMonthDay&"' and P_jieSuan=false and P_companyId="&companyId &" order by id"
end if
rss.open sql,conn,1,1
tempId = -1
i=1
if not rss.eof and not rss.bof then
dddy = 0
do while not rss.eof and not rss.bof
companyIds = rss("P_companyId")
cdday = cint(day(rss("P_faHuoDate")))
if not cdday = dddy then
dddy = cdday
tempId =-tempId
end if
if tempId >0 then
bgcolorView = "#E7E7E7"
else
bgcolorView = "#cccccc"
end if
if rss("P_dingZhi") = true then
dingZhi=1
else
dingZhi=0
end if
%>
<tr height="16" bgcolor="<%=bgcolorView%>">
<td width="5%" align="center" >
<input type="hidden" name="huoHao<%=i%>" value=<%=rss("P_huoHao")%>>
<input type="hidden" name="tid<%=i%>" value=<%=rss("Id")%>>
<input type="hidden" name="yfCount<%=i%>" value=<%=rss("P_faHuoCount")%>>
<input type="hidden" name="pinMing<%=i%>" value=<%=rss("P_pinMing")%>>
<input type="hidden" name="unit<%=i%>" value=<%=rss("P_unit")%>>
<input type="hidden" name="company<%=i%>" value=<%=rss("P_company")%>>
<input type="hidden" name="guiGe<%=i%>" value=<%=rss("P_guiGe")%>>
<input type="hidden" name="dingZhi<%=i%>" value=<%=dingZhi%>>
<input type="hidden" name="companyId<%=i%>" value=<%=rss("P_companyId")%>><font color="#000000"><%=rss("P_huoHao")%></font></td>
<td width="5%" align="center" ><%if rss("P_dingZhi")=true then%><font color="red">定制</font><%end if%></td>
<td width="22%" align="left" > <font color="#000000"> <%=rss("P_pinMing")%></font></td>
<td width="16%" ><font color="#000000"> <%=rss("P_guiGe")%></font></td>
<td width="9%" align="center" ><font color="#000000">
<input type="text" name="yifaCount<%=i%>" size="10" value=<%=rss("P_faHuoCount")%>></font></td>
<td width="3%" align="center" ><font color="#000000"><%=rss("P_unit")%></font></td>
<td width="9%" align="center" ><font color="#000000">
<input type="text" name="price<%=i%>" size="10" value="<%=rss("P_price")%>"</font></td>
<td width="12%" align="center" ><font color="#000000"><%=rss("P_faHuoDate")%></font></td>
<td width="18%" align="left" > <font color="#000000"> <%=rss("P_company")%></font></td>
</tr>
<%
i=i+1
rss.movenext
loop
else
comeOnBaby = "1"
%>
<tr height="16" >
<td width="99%" align="center" colspan="9" height="117" >
<font color="#FF0000">本月没有发货,或者所有项目已经核查完毕!</font></td>
</tr>
<%
end if
%>
</table>
</td>
</tr>
</table>
<p align="center"><input type="button" value="返回" name="B2">
<%if not comeOnBaby ="1" then%><input type="submit" value="提交核查结果" name="B1"><%end if%></div>
</td>
</tr></form>
</table>
</body>
<%
sqls = "select * from D_twoClass order by P_xinghao"
set rs=server.createobject("adodb.recordset")
rs.open sqls,conn,1,1
comMedomin=""
if not rs.eof and not rs.bof then
do while not rs.eof and not rs.bof
xingHao = rs("P_xinghao")
pinMing = rs("P_name")
unit = rs("P_unit")
comMedomin=comMedomin+xingHao +","+pinMing+","+ unit +"#"
rs.moveNext
loop
end if
%>
<script>
function viewPinMing(){
objecthhId = document.getElementById("huoHaoId")
objectpmId = document.getElementById("pinMingId")
objectdwId = document.getElementById("jiHuaUnitId")
stringObject ="<%=comMedomin%>"
sview=""
unitView =""
var myArray=stringObject.split("#")
for(var i = 0; i < myArray.length; i++)
{
var arrTemp = myArray[i].split(",");
if(arrTemp[0] == objecthhId.value){
sview = arrTemp[1]
unitView = arrTemp[2]
}
}
if (objecthhId.value!=""){
objectpmId.value=sview
objectdwId.value=unitView
}
}
function viewhuoHao(){
objecthhId = document.getElementById("huoHaoId")
objectpmId = document.getElementById("pinMingId")
objectdwId = document.getElementById("jiHuaUnitId")
stringObject ="<%=comMedomin%>"
sview=""
unitView =""
var myArray=stringObject.split("#")
for(var i = 0; i < myArray.length; i++)
{
var arrTemp = myArray[i].split(",");
if(arrTemp[1] == objectpmId.value){
sview = arrTemp[0]
unitView = arrTemp[2]
}
}
if (objectpmId.value!=""){
objecthhId.value=sview
objectdwId.value=unitView
}
}
</script>
</html>
package gui;
import java.awt.Dimension;
import javax.swing.JPanel;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JPasswordField;
import javax.swing.JButton;
import java.awt.Toolkit;
import javax.swing.ImageIcon;
public class Login extends JFrame {
private JPanel jContentPane = null;
private JPanel jPanel_userlogin = null;
private JLabel jLabel_username = null;
private JLabel jLabel_password = null;
private JTextField jTextField_username = null;
private JPasswordField jPasswordField_password = null;
private JButton jButton_login = null;
private JButton jButton_reg = null;
private JLabel jLabel_banner = null;
/**
* This is the default constructor
*/
public Login() {
super();
initialize();
}
/**
* This method initializes this
*
* @return void
*/
private void initialize() {
Dimension stage=this.getToolkit().getScreenSize();
this.setSize(300,180);
this.setResizable(false);
this.setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
this.setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource("/SkinBmp/Icon.gif")));
this.setLocation(stage.width/2-this.getSize().width/2,stage.height/2-this.getSize().height/2);
this.setContentPane(getJContentPane());
this.setTitle("JavaQQ用户登陆");
}
/**
* This method initializes jContentPane
*
* @return javax.swing.JPanel
*/
private JPanel getJContentPane() {
if (jContentPane == null) {
jLabel_banner = new JLabel();
jLabel_banner.setIcon(new ImageIcon(getClass().getResource("/SkinBmp/banner.png")));
jLabel_banner.setLocation(new java.awt.Point(0,0));
jLabel_banner.setSize(new java.awt.Dimension(295,25));
jLabel_banner.setText("");
jContentPane = new JPanel();
jContentPane.setLayout(null);
jContentPane.setBackground(new java.awt.Color(233,245,255));
jContentPane.add(getJPanel_userlogin(), null);
jContentPane.add(getJButton_login(), null);
jContentPane.add(getJButton_reg(), null);
jContentPane.add(jLabel_banner, null);
}
return jContentPane;
}
/**
* This method initializes jPanel_userlogin
*
* @return javax.swing.JPanel
*/
private JPanel getJPanel_userlogin() {
if (jPanel_userlogin == null) {
jLabel_password = new JLabel();
jLabel_password.setBounds(new java.awt.Rectangle(32,56,38,18));
jLabel_password.setText("密 码");
jLabel_username = new JLabel();
jLabel_username.setText("用户名");
jLabel_username.setBounds(new java.awt.Rectangle(31,20,39,18));
jPanel_userlogin = new JPanel();
jPanel_userlogin.setLayout(null);
jPanel_userlogin.setBounds(new java.awt.Rectangle(7,29,278,93));
jPanel_userlogin.setBackground(new java.awt.Color(233,245,255));
jPanel_userlogin.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(45,116,201),1));
jPanel_userlogin.add(jLabel_username, null);
jPanel_userlogin.add(jLabel_password, null);
jPanel_userlogin.add(getJTextField_username(), null);
jPanel_userlogin.add(getJPasswordField_password(), null);
}
return jPanel_userlogin;
}
/**
* This method initializes jTextField_username
*
* @return javax.swing.JTextField
*/
private JTextField getJTextField_username() {
if (jTextField_username == null) {
jTextField_username = new JTextField();
jTextField_username.setLocation(new java.awt.Point(114,20));
jTextField_username.setSize(new java.awt.Dimension(140,20));
}
return jTextField_username;
}
/**
* This method initializes jPasswordField_password
*
* @return javax.swing.JPasswordField
*/
private JPasswordField getJPasswordField_password() {
if (jPasswordField_password == null) {
jPasswordField_password = new JPasswordField();
jPasswordField_password.setLocation(new java.awt.Point(114,56));
jPasswordField_password.setSize(new java.awt.Dimension(140,20));
}
return jPasswordField_password;
}
/**
* This method initializes jButton_login
*
* @return javax.swing.JButton
*/
private JButton getJButton_login() {
if (jButton_login == null) {
jButton_login = new JButton();
jButton_login.setBounds(new java.awt.Rectangle(39,128,88,20));
jButton_login.setText("登 陆");
}
return jButton_login;
}
/**
* This method initializes jButton_reg
*
* @return javax.swing.JButton
*/
private JButton getJButton_reg() {
if (jButton_reg == null) {
jButton_reg = new JButton();
jButton_reg.setLocation(new java.awt.Point(173,128));
jButton_reg.setText("注 册");
jButton_reg.setSize(new java.awt.Dimension(88,20));
}
return jButton_reg;
}
}
protected void ProcessCreateGroup()
{
string groupName = GetString("NewGroupName").Trim();
EmoticonManager.CreateEmoticonGroup(userID, groupName);
}
protected void ProcessMove()
{
DisplayPanel("list");
moveGroups = new List<EmoticonGroup>();
foreach (EmoticonGroup tempgroup in groups)
{
if (tempgroup.ID != groupID)
{
moveGroups.Add(tempgroup);
}
}
if (IsClick("FileMoveButton"))
{
List<int> moveEmoticonIdentities = Globals.GetIdList(GetString("moveEmoticonID", "post"));
if (moveEmoticonIdentities.Count > 0)
{
int moveGroupID = GetInt32("moveGroupName", "post");
EmoticonManager.MoveEmoticons(userID, groupID, moveGroupID, moveEmoticonIdentities);
}
Response.Redirect(UrlHelper.GetEmoticonCenterUrl(groupID, pageNumber));
}
else
{
int moveEmoticonID = GetInt32("EmoticonID", "get", 0);
if (moveEmoticonID != 0)
{
DisplayPanel("move");
moveEmoticons = new List<Emoticon>();
moveEmoticons.Add(EmoticonManager.GetEmoticon(userID, moveEmoticonID));
}
else
{
List<int> emoticonIdentities = Globals.GetIdList(GetString("EmoticonID", "post"));
if (emoticonIdentities.Count > 0)
{
DisplayPanel("move");
moveEmoticons = EmoticonManager.GetEmoticons(userID, emoticonIdentities);
}
else
moveEmoticons = new List<Emoticon>();
}
}
}
Dim a
Set a = New UserManage
If a.UserID = 0 Then Response.Write "请登录"