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

📄 gljp_01_yw_08.asp

📁 机票预定系统 各个模块的设计-ticket reservation systems detailed design system modules of the design
💻 ASP
📖 第 1 页 / 共 2 页
字号:
  </TABLE>

</form>
<%
rs.close
sql="select * from pro_order where pro_order_id='"&airticket_OrderID&"'"
rs.open sql,conn,3,1
if rs.eof then
sql="insert into pro_order(pro_id,pro_order_id) values('"&airticket_OrderID&"' ,'"&airticket_OrderID&"')"
conn.execute(sql)
if instr(pro_sendtime2,":")=0 or isnull(pro_sendtime2) then
pro_sendtime2="9:1"
end if
if instr(pro_sendtime3,":")=0 or isnull(pro_sendtime3) then
pro_sendtime3="9:2"
end if
send_time2=split(pro_sendtime2,":")
send_time3=split(pro_sendtime3,":")
else
pro_name1=rs("pro_name1")
pro_time1=rs("pro_time1")
pro_memo1=rs("pro_memo1")
pro_name2=rs("pro_name2")
pro_time2=rs("pro_time2")
pro_memo2=rs("pro_memo2")
pro_name3=rs("pro_name3")
pro_time3=rs("pro_time3")
pro_memo3=rs("pro_memo3")
pro_name4=rs("pro_name4")
pro_time4=rs("pro_time4")
pro_memo4=rs("pro_memo4")
pro_name5=rs("pro_name5")
pro_time5=rs("pro_time5")
pro_memo5=rs("pro_memo5")
pro_sendtime3=trim(rs("pro_sendtime3"))
pro_sendname2=trim(rs("pro_sendname2"))
pro_sendtime2=trim(rs("pro_sendtime2"))
pro_pay=rs("pro_pay")
pro_paycount=rs("pro_paycount")
pro_reason5=rs("pro_reason5")
if pro_payCount="" or pro_paycount=0 or isnull(pro_paycount) then pro_payCount=OpNetMoney
if instr(pro_sendtime2,":")=0 or isnull(pro_sendtime2) then
pro_sendtime2="9:1"
end if
if instr(pro_sendtime3,":")=0 or isnull(pro_sendtime3) then
pro_sendtime3="9:2"
end if
send_time2=split(pro_sendtime2,":")
send_time3=split(pro_sendtime3,":")
end If

%>
<script language="javascript">
function check(){
 if (document.form1.status[0].checked==false && document.form1.status[1].checked==false&&document.form1.status[2].checked==false && document.form1.status[3].checked==false&&document.form1.status[4].checked==false ){
  alert("请选择要订单生成的状态!");
  return false;
 }
  if (document.form1.status[0].checked==true ){
  if (document.form1.pro_memo1.value==''){
    alert("请输入订单的订单核查说明!")
	document.form1.pro_memo1.focus();
    return false;  
  }
 }
 if (document.form1.status[1].checked==true){
  if (document.form1.pro_memo2.value==''){
    alert("请输入处理情况说明!")
	document.form1.pro_memo2.focus();
    return false;  
  }
  if (document.form1.pro_sendname2.value==''){
    alert("请输入送票员姓名!")
	document.form1.pro_sendname2.focus();
    return false;  
  }
 }
 if (document.form1.status[2].checked==true){
  if (document.form1.pro_memo3.value==''){
    alert("请输入订单的订单核查说明!")
	document.form1.pro_memo3.focus();
    return false;  
  }
 }
 if (document.form1.status[3].checked==true){
  if (document.form1.pro_memo4.value==''){
    alert("请输入订单的订单核查说明!")
	document.form1.pro_memo4.focus();
    return false;  
  }
  if (document.form1.pro_paycount.value==''){
    alert("请输入订单的总金额!")
	document.form1.pro_paycount.focus();
    return false;  
  }
 }
 if (document.form1.status[4].checked==true){
  if (document.form1.pro_memo5.value==''){
    alert("请输入订单的订单核查说明!")
	document.form1.pro_memo5.focus();
    return false;  
  }
  if (document.form1.pro_reason5.value==''){
    alert("请选择订单取消的原因!")
	document.form1.pro_reason5.focus();
    return false;  
  }
 }
  if (document.form1.pro_memo1.value.length>100){
    alert("订单的说明的内容不能超过100字!")
	document.form1.pro_memo1.focus();
    return false;  
  }
  if (document.form1.pro_memo2.value.length>100){
    alert("订单的说明的内容不能超过100字!")
	document.form1.pro_memo2.focus();
    return false;  
  }
  if (document.form1.pro_memo3.value.length>100){
    alert("订单的说明的内容不能超过100字!")
	document.form1.pro_memo3.focus();
    return false;  
  }
  if (document.form1.pro_memo4.value.length>100){
    alert("订单的说明的内容不能超过100字!")
	document.form1.pro_memo4.focus();
    return false;  
  }
  if (document.form1.pro_memo5.value.length>100){
    alert("订单的说明的内容不能超过100字!")
	document.form1.pro_memo5.focus();
    return false;  
  }

}
</script>
<TABLE width="95%" align="center" cellPadding=0 cellSpacing=0 class="attbg" >
    <TR> 
      <TD height="34" class="b-14"><strong class="txt_title">以下是订票员填写的</strong></TD>
    </TR>
</TABLE>
<TABLE width="95%" align="center" cellPadding=2 cellSpacing=1 class="toolbg">
<FORM action="update_op.asp" method=post name="form1" onSubmit="return check()" target="_blank">
    <input type="hidden" name="OrderFm_ID" value="<%=airticket_OrderID%>">
	<input type="hidden" name="OrdStatus" value="<%=OrdStatus%>">
	<input id="action" name="action" TYPE="hidden">
              <TR> 
                <TD height=30 colspan="4" class="quicksetting">订单的操作状态:                
                    <input type="radio" name="status" value="1" <%if OrdStatus="1" then response.write "checked"%>>
                收到</TD>
              </TR>
              <TR> 
                <TD width="18%" height=30 bgcolor="#FFFFFF">接收订单时间:</TD>
                <TD width="29%" height=30 bgcolor="#FFFFFF"><%=pro_time1%></TD>
                <TD width="20%" height=30 bgcolor="#FFFFFF">收单负责人:</TD>
                <TD width="33%" height=30 bgcolor="#FFFFFF"><font color=#6699ff ><%=pro_name1%>
                  </font></TD>
              </TR>
              <TR> 
                <TD height=30 bgcolor="#FFFFFF">订单核查说明:</TD>
                <TD height=30 colspan="3" bgcolor="#FFFFFF"> <textarea name="pro_memo1" cols="50" rows="4" class="book" id="pro_memo1"><%=trim(pro_memo1)%></textarea>                </TD>
              </TR>
              <TR> 
                <TD height=30 colspan="4" class="quicksetting">订单的操作状态:
                    <input type="radio" name="status" value="2" <%if OrdStatus="2" then response.write "checked"%>>
                确定</TD>
              </TR>
              <TR> 
                <TD height=30 bgcolor="#FFFFFF">接收处理时间:</TD>
                <TD height=30 bgcolor="#FFFFFF"><%=pro_time2%></TD>
                <TD height=30 bgcolor="#FFFFFF">处理负责人:</TD>
                <TD height=30 bgcolor="#FFFFFF"><font color=#6699ff ><%=pro_name2%> </font></TD>
              </TR>
              <TR> 
                <TD height=30 bgcolor="#FFFFFF">送票员姓名: </TD>
                <TD height=30 bgcolor="#FFFFFF"><font color=#6699ff>&nbsp; 
                      <input name=pro_sendname2 class="book" id=pro_sendname2 value="<%=pro_sendname2%>" size=15 maxlength=20>
                  </font></TD>
                <TD height=30 bgcolor="#FFFFFF">送票员出发时间:</TD>
                <TD height=30 bgcolor="#FFFFFF"><font color=#6699ff> 
                  <select name=sendtime2_hour id="sendtime2_hour">
                    <%for i=8 to 23%>
                    <option value="<%=i%>" <%if cint(send_time2(0))=cint(i) then response.write "selected"%>><%=i%></option>
                    <%next%> 
                  </select>
                  </font>时 
                  <select id=select14 name=sendtime2_min>
                    <%for i=0 to 59%>
                    <option value="<%=i%>" <%if cint(send_time2(1))=cint(i) then response.write "selected"%>><%=i%></option>
                     <%next%> 
                  </select>
                </TD>
              </TR>
              <TR> 
                <TD height=30 bgcolor="#FFFFFF">处理情况说明:</TD>
                <TD height=30 colspan="3" bgcolor="#FFFFFF"> <textarea name="pro_memo2" cols="50" rows="4" class="book"><%=trim(pro_memo2)%></textarea></TD>
              </TR>
              <TR> 
                <TD height=30 colspan="4" class="quicksetting">订单的操作状态:
                    <input type="radio" name="status" value="3" <%if OrdStatus="3" then response.write "checked"%>>
                生效</TD>
              </TR>
              <TR> 
                <TD height=30 bgcolor="#FFFFFF">确定时间:</TD>
                <TD height=30 bgcolor="#FFFFFF"><%=pro_time3%></TD>
                <TD height=30 bgcolor="#FFFFFF">确定负责人:</TD>
                <TD height=30 bgcolor="#FFFFFF"><font color=#6699ff><%=pro_name3%> 
                  </font></TD>
              </TR>
              <TR> 
                <TD height=30 bgcolor="#FFFFFF">送票员交付时间:</TD>
                <TD height=30 colspan="3" bgcolor="#FFFFFF"><font color=#6699ff> 
                  &nbsp; 
                  <select name=sendtime3_hour id="sendtime3_hour">
                    <%for i=8 to 23%>
                    <option value="<%=i%>" <%if cint(send_time3(0))=cint(i) then response.write "selected"%>><%=i%></option>
                    <%next%>
                  </select>
                  </font>时 
                  
                  <select id=sendtime3_min name=sendtime3_min>
                    <%for i=0 to 59%>
                    <option value="<%=i%>" <%if cint(send_time3(1))=cint(i) then response.write "selected"%>><%=i%></option>
                    <%next%>
                  </select>
                  分                  </TD>
              </TR>
              <TR bgcolor="#FFFFFF"> 
                <TD height=30>处理情况补充说明:</TD>
                <TD height=30 colspan="3" bgcolor="#FFFFFF"><textarea name="pro_memo3" cols="50" rows="4" class="book" id="pro_memo3"><%=trim(pro_memo3)%></textarea></TD>
              </TR>
              <TR> 
                <TD height=30 colspan="4" class="quicksetting">订单的操作状态:
                    <input type="radio" name="status" value="4" <%if OrdStatus="4" then response.write "checked"%>>
                成交</TD>
              </TR>
              <TR bgcolor="#FFFFFF"> 
                <TD height=30>成交时间:</TD>
                <TD height=30><%=pro_time4%></TD>
                <TD height=30>成交处理负责人:</TD>
                <TD height=30><font color=#6699ff><%=pro_name4%> 
                  </font></TD>
              </TR>
              <TR bgcolor="#FFFFFF">
                <TD height=30>预订手续费:</TD>
                <TD height=30>
                      <input name=pro_pay class="book" 
                  id=email2 value="<%=pro_pay%>" size=15 maxlength=20>
                </TD>
                <TD height=30>合计费用:</TD>
                <TD height=30><font color=#6699ff>&nbsp;
                      <input name=pro_paycount class="book" 
                  id=email43 value="<%=pro_paycount%>" size=15 maxlength=20>
                </font></TD>
              </TR>
              <TR bgcolor="#FFFFFF"> 
                <TD height=30>成交情况说明:</TD>
                <TD height=30 colspan="3" bgcolor="#FFFFFF"><textarea name="pro_memo4" cols="50" rows="4" class="book" id="pro_memo4"><%=trim(pro_memo4)%></textarea></TD>
              </TR>
              <TR> 
                <TD height=30 colspan="4" class="quicksetting">订单的操作状态: 
                    <input type="radio" name="status" value="5" <%if OrdStatus="5" then response.write "checked"%>>
                取消</TD>
              </TR>
              <TR bgcolor="#FFFFFF"> 
                <TD height=30>取消时间:</TD>
                <TD height=30><%=pro_time5%></TD>
                <TD height=30>取消订单负责人:</TD>
                <TD height=30><font color=#6699ff><%=pro_name5%></font></TD>
              </TR>
              <TR bgcolor="#FFFFFF"> 
                <TD height=30>取消原因:</TD>
                <TD height=30 colspan="3" bgcolor="#FFFFFF">要求更改 
                    <input name="pro_reason5" type="radio" id="pro_reason5" value="1" checked <%if trim(pro_reason5)="1" then response.write "checked"%>>
                  取消订票 
                  <input name="pro_reason5" type="radio" id="pro_reason5" value="2" <%if trim(pro_reason5)="2" then response.write "checked"%>>
                  其它 
                  <input name="pro_reason5" type="radio" id="pro_reason5" value="3" <%if trim(pro_reason5)="3" then response.write "checked"%>> 
                </TD>
              </TR>
              <TR bgcolor="#FFFFFF"> 
                <TD height=30>取消补充说明:</TD>
                <TD height=30 colspan="3" bgcolor="#FFFFFF"><textarea name="pro_memo5" cols="50" rows="4" id="pro_memo5"><%=trim(pro_memo5)%></textarea></TD>
              </TR>
              <TR> 
                <TD height=30 colspan="4" align="center" bgcolor="#FFFFFF"> 
                  <input type=submit value=  "处理提交"  >&nbsp; 
				  <input type="button" value='关闭窗口' onClick="javascript:window.close()"> 
                </TD>
              </TR>
  </FORM>
</TABLE>

</body>
</html>

<%
rs.close
set rs=nothing
call conn_close()
if err then
response.write err.description
err.clear
end if
%>
<script>
	function checkclick(submitype)
	{
		
		var act = document.getElementById("action");
		var tform = document.getElementById("form1");
		if(submitype=="save") act.value = "save";
		//tform.submit();
		top.CloseDialog();
		return true;
	}
	function CloseButton()
	{
		checkclick('save');
		top.CloseDialog();
	}
</script>

⌨️ 快捷键说明

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