<!--#include file="admin_chk.asp"-->
<!--#include file="book_conn.asp"-->

<% set rs=server.CreateObject("adodb.recordset")
	  ordernum=request("ordernum")
	  sql="select * from orderlist where ordernum='"&ordernum&"'"
rs.open sql,conn,1,3 
rs("notes")=request("notes")
rs("memo")=request("memo")
rs("Status")=request("Status")

if rs("memo")="" then
response.write "<script language='javascript'>"
response.Write "alert('处理意见不能为空！');"
response.write "location.href='javascript:history.go(-1)';"			
response.write "</script>"
else
response.write "<script language='javascript'>"
response.write "alert('修改成功！');"
response.write "location.href='shop_dd.asp';"			
response.write "</script>"
end if
rs.update
rs.close
set rs=nothing
%>
 
