123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
- <meta charset="utf-8" />
- <title>校本课程平台</title>
- <meta name="description" content="" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
- <!-- bootstrap & fontawesome -->
- <link rel="stylesheet" href="../css/bootstrap.min.css" />
- <link rel="stylesheet" href="../css/font-awesome/4.2.0/css/font-awesome.min.css" />
- <!-- page specific plugin styles -->
- <!-- text fonts -->
- <link rel="stylesheet" href="../css/fonts/fonts.googleapis.com.css" />
- <!-- ace styles -->
- <link rel="stylesheet" href="../css/ace.min.css" class="ace-main-stylesheet" id="main-ace-style" />
- <!--[if lte IE 9]>
- <link rel="stylesheet" href="assets/css/ace-part2.min.css" class="ace-main-stylesheet" />
- <![endif]-->
- <link rel="stylesheet" href="../css/style.css" />
- <!--[if lte IE 9]>
- <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
- <![endif]-->
- <!-- inline styles related to this page -->
- <!-- ace settings handler -->
- <script src="../js/ace-extra.min.js"></script>
- <script src="../js/jquery-2.2.2.min.js"></script>
- <!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries -->
- <script src="../js/layer/layer.js"></script>
- <!--[if lte IE 8]>
- <script src="assets/js/html5shiv.min.js"></script>
- <script src="assets/js/respond.min.js"></script>
- <![endif]-->
- <script type="text/javascript">
- jQuery(document).ready(function(){
- jQuery(window.parent.document).find("#iframe").ready(function(){
- jQuery(window.parent.document).find(".menuLi, .menuTop").click(function(){
- var url = jQuery(this).attr("url");
- window.parent.location.href = "xxx"+url;
- });
-
- window.parent.document.url = window.location.href;
- var main = jQuery(window.parent.document).find("#iframe");
- var thisheight = jQuery("body").height()+30;
- main.height(thisheight);
- });
-
- jQuery(window.parent.document).find("#iframe").load(function(){
- var main = jQuery(window.parent.document).find("#iframe");
- var thisheight = jQuery("body").height()+30;
- main.height(thisheight);
- });
- });
- </script>
- <style type="text/css">
- .errorMessage{color:red;margin-left:10px;}
- .breadcrumb>li{padding:3px 5px;color:#fff; background:#6fb3e0;}
- .breadcrumb>li>a{color:#fff!important;}
- .li_backgrond_color{background-color: #00CC99!important;}
- .li_backgrond_color>a{color:#fff!important;}
- .breadcrumb>li+li:before{display:none;}
- </style>
- </head>
- <body class="no-skin">
- <div class="shade"></div>
- <div class="main-container" id="main-container">
- <script type="text/javascript">
- try{ace.settings.check('main-container' , 'fixed')}catch(e){}
- </script>
- <div class="main-content">
- <form action="<?php echo Yii::app()->createUrl('order/dopay')?>" method="post" id="orderAdd" enctype="multipart/form-data">
- <div class="">
- <ul class="table-hide">
- <li class="row marginNo table-hide-li pt20">
- <div class="textRight lineHeight30 fl" style="width:160px"><span class="vitalColor">* </span><span class="mt15">剩余未付款:<span id="shengyu"><?php $money=$order_classify['total_price']-$paymoneys;if($money>=0){echo $money;}else{echo 0;} ?></span> </div>
- <div class="col-xs-9 paddingNo fl">
- <input type="hidden" value="<?php echo $order_classify['total_price']-$paymoneys ?>" id="nowshengyu">
- </div>
- </li>
- <li class="row marginNo table-hide-li pt20">
- <div class="textRight lineHeight30 fl" style="width:160px"><span class="vitalColor">* </span><span class="mt15">付款账户:</span> </div>
- <div class="col-xs-9 paddingNo fl">
- <input class="students-search" type="text" placeholder="" id="pay_account" name="pay_account" style="width:240px">
- </div>
- </li>
- <li class="row marginNo table-hide-li pt20">
- <div class="textRight lineHeight30 fl" style="width:160px"><span class="vitalColor">* </span><span class="mt15">金额:</span> </div>
- <div class="col-xs-9 paddingNo fl">
- <input class="students-search" type="text" placeholder="" id="pay_money" name="pay_money" onkeyup="this.value=this.value.replace(/[^\d.]/g,'');var num=$('#nowshengyu').val()-this.value;if(num>=0){$('#shengyu').html(num.toFixed(2))}else{$('#shengyu').html(0)}" style="width:240px">
- </div>
- </li>
- <li class="row marginNo table-hide-li pt20">
- <div class="textRight lineHeight30 fl" style="width:160px"><span class="vitalColor">* </span><span class="mt15">打款时间:</span> </div>
- <div class="col-xs-9 paddingNo fl">
- <input class="datainp" id="datebut" value="" readonly name="pay_time" id="pay_time" type="text" placeholder="请选择" onClick="jeDate({dateCell:'#datebut',isTime:true,format:'YYYY-MM-DD hh:mm:ss'})" >
- </div>
- </li>
- <li class="row marginNo table-hide-li pt20">
- <div class="textRight lineHeight30 fl" style="width:160px"><span class="vitalColor">* </span><span class="mt15">凭证:</span> </div>
- <div class="col-xs-9 paddingNo fl">
- <input type="file" name="pic" id="pic" value="">
- </div>
- </li>
- <li class="row marginNo table-hide-li pt20">
- <div class="textRight lineHeight30 fl" style="width:160px"><span class="vitalColor"></span><span class="mt15">下次打款时间:</span> </div>
- <div class="col-xs-9 paddingNo fl">
- <input class="datainp" id="datebut1" value="" readonly name="next_pay_time" id="next_pay_time" type="text" placeholder="请选择" onClick="jeDate({dateCell:'#datebut1',isTime:true,format:'YYYY-MM-DD hh:mm:ss'})" >
- </div>
- </li>
-
- </ul>
- <div class="create-orders">
- <span id="goods_price" style="display: none"></span>
- <span id="t_num" style="display: none"></span>
- <input type="hidden" name="order_id" value="<?php echo $order_id ?>">
- <input type="button" name="my_submit" id="my_submit" class="btn btn-success btn-sm" value="提交审核" style="width:100px">
- <input type="button" class="btn btn-success btn-sm" value="返回" onclick="location.href=document.referrer;" style="width:100px">
-
- </div>
- </div><!-- /.main-content -->
- </form>
-
- </div><!-- /.main-container -->
- <div class="ttd dn">
- <div class="s-state clearfix posirela">
- <div class="hint_size clearfix">
- <span class="fl ml15">错误信息</span>
- </div>
- <div class="mistake_character">
- <p class="ml15" id="err_msg"></p>
- <div class="clearfix" style="width:180px;margin:0px auto;text-align:center">
- <p class="mt20"><button class="roger shut">确定</button></p>
- </div>
- </div>
- </div>
- </div>
- <script type="text/javascript" src="/js/times/jedate.js"></script>
- <script>
- $(function(){
- $(".ttd").hide();
- var tp = $(".ttd");
- $('#my_submit').click(function(){
- var pay_account = $('#pay_account').val();
- var pay_money = $('#pay_money').val();
- var datebut = $('#datebut').val();
- var pic = $('#pic').val();
- if(!pay_account)
- {
- $('#err_msg').html('支付帐号不能为空');
- tp.fadeIn();
- $("body").css({height : lq+"px",overflow:"hidden"});
- return;
- }if(!pay_money)
- {
- $('#err_msg').html('支付金额不能为空');
- tp.fadeIn();
- $("body").css({height : lq+"px",overflow:"hidden"});
- return;
- }else
- {
- var j = /(^[-+]?[1-9]\d*(\.\d{1,2})?$)|(^[-+]?[0]{1}(\.\d{1,2})?$)/;
- if(!j.test(pay_money)){
- $('#err_msg').html('只能为数字或两位小数');
- tp.fadeIn();
- $("body").css({height : lq+"px",overflow:"hidden"});
- return;
- }
- if(parseFloat(pay_money)<=0){
- $('#err_msg').html('金额不能为负数或为零');
- tp.fadeIn();
- $("body").css({height : lq+"px",overflow:"hidden"});
- return;
- }
- }
- if(!datebut)
- {
- $('#err_msg').html('支付时间不能为空');
- tp.fadeIn();
- $("body").css({height : lq+"px",overflow:"hidden"});
- return;
- }if(!pic)
- {
- $('#err_msg').html('支付凭证必须上传');
- tp.fadeIn();
- $("body").css({height : lq+"px",overflow:"hidden"});
- return;
- }
- $("#orderAdd").submit();
- $("#my_submit").attr("disabled",true)
- })
- $(".shut").click(function(){
- $(this).parents(".ttd").fadeOut();
- $("body").css({height :"100%",overflow:"auto"});
- return false;
- });
- });
- </script>
- <!-- basic scripts -->
- <!--[if !IE]> -->
- <!--<script src="/js/jquery.2.1.1.min.js"></script>-->
- <!-- <![endif]-->
- <!--[if IE]>
- <script src="assets/js/jquery.1.11.1.min.js"></script>
- <![endif]-->
- <!--[if !IE]> -->
- <script type="text/javascript">
- window.jQuery || document.write("<script src='../js/jquery.min.js'>"+"<"+"/script>");
- </script>
- <!-- <![endif]-->
- <!--[if IE]>
- <script type="text/javascript">
- window.jQuery || document.write("<script src='assets/js/jquery1x.min.js'>"+"<"+"/script>");
- </script>
- <![endif]-->
- <script type="text/javascript">
- if('ontouchstart' in document.documentElement) document.write("<script src='../js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
- </script>
- <script src="../js/bootstrap.min.js"></script>
- <!-- page specific plugin scripts -->
- <!-- ace scripts -->
- <script src="../js/ace-elements.min.js"></script>
- <script src="../js/ace.min.js"></script>
- <!-- 学校管理 js -->
- <script src="../js/school.management.js"></script>
- <script src="../js/xsgl.js"></script>
- <!-- inline scripts related to this page -->
- </body>
- </html>
|