Files
KIN/inspection/direct_cost_sv_memo_save_2014.asp
2025-09-29 17:55:08 +09:00

42 lines
1.0 KiB
Plaintext

<!-- #include virtual = "lib/config.asp" -->
<%
p_child_sn = Request("p_child_sn")
txt_memo = request("txt_memo")
sql = "update direct_cost set memo = '" & txt_memo & "'"
sql = sql & " where p_child_sn = '" & p_child_sn & "'"
sql = sql & " and del_yes_no = 'no'"
sql = sql & " and hangmok='메모' "
'response.write sql
adoConn.execute sql, i
''//========================
%>
<html>
<head>
<script language=javascript>
</script>
<LINK rel="stylesheet" type="text/css" href="/lib/text.css">
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<TITLE>메모저장</TITLE>
<script language=javascript>
function goit() {
<% if i > 0 Then %>
alert("저장되었습니다.");
<% else %>
alert("비용 저장 후 이용해주시기 바랍니다.");
<% End IF %>
<% if Request("ref") <> "" Then %>
location.href = decodeURIComponent("<%=Request("ref")%>");
<% Else %>
location.href = "project_direct_cost_2014.asp?p_sn=<%=p_child_sn%>&isSaved=true";
<% End If %>
}
</script>
</head>
<body onLoad="goit()">
</body>
</html>
<% %>