|
|
@@ -0,0 +1,110 @@
|
|
|
+<include file="public@header"/>
|
|
|
+<style type="text/css">
|
|
|
+ .pic-list li {
|
|
|
+ margin-bottom: 5px;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+</style>
|
|
|
+
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+<div class="wrap js-check-wrap">
|
|
|
+
|
|
|
+ <form action="" method="post" class="form-horizontal js-ajax-form margin-top-10">
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-md-9">
|
|
|
+
|
|
|
+ <div class="col-sm-offset-2 col-sm-10">
|
|
|
+ 奖励金额:
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="col-sm-offset-2 col-sm-10" style=" margin-top: 3px;margin-bottom: 10px;">
|
|
|
+ <input type="text" name="alert_time1" id="alert_time1" value="" placeholder="输入额外奖励金额" class="form-control">
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="col-sm-offset-2 col-sm-10">
|
|
|
+ 奖励备注:
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="col-sm-offset-2 col-sm-10" style=" margin-top: 3px;">
|
|
|
+ <textarea class="form-control" name="noremark" id="noremark" style="height: 60px;"
|
|
|
+ placeholder="请输入奖励的原因!" ></textarea>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <div class="form-group">
|
|
|
+ <div class="col-sm-offset-2 col-sm-10" style="text-align: center; margin-top: 10px;">
|
|
|
+
|
|
|
+ <a onclick="closeAllOpen1()" class="btn btn-primary js-ajax-submit" >确定</a>
|
|
|
+
|
|
|
+
|
|
|
+ <a class="btn btn-default" onclick="closeAllOpen2()" style="border-color:#FF0080;background-color:#EC0076;color: #fff" >取消</a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+</div>
|
|
|
+<script src="__STATIC__/js/layer/layer.js"></script>
|
|
|
+ <script >
|
|
|
+
|
|
|
+ function closeAllOpen1(){
|
|
|
+
|
|
|
+ $.ajax({
|
|
|
+
|
|
|
+ url: "{:url('Market/doconfrom',array('id'=>$id,'yes'=>1))}",
|
|
|
+
|
|
|
+ success: function(data){
|
|
|
+
|
|
|
+ if(data==1){
|
|
|
+ alert('审核通过成功!');
|
|
|
+ }else{
|
|
|
+ alert('审核通过失败!');
|
|
|
+ }
|
|
|
+
|
|
|
+ var index = parent.layer.getFrameIndex(window.name);
|
|
|
+ parent.layer.close(index);
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ function closeAllOpen2(){
|
|
|
+
|
|
|
+ if($('#noremark').val()=="" || $('#noremark').val()==null){
|
|
|
+ alert('审核不通过的原因需要进行填入!');
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if(!confirm('是否已经退款并确认审核失败!')){return false;}
|
|
|
+
|
|
|
+ var data1={'no':0,'noremark':$('#noremark').val()};
|
|
|
+
|
|
|
+ $.ajax({
|
|
|
+
|
|
|
+
|
|
|
+ url: "{:url('Market/doconfrom',array('id'=>$id))}",
|
|
|
+ data:data1,
|
|
|
+ success: function(data){
|
|
|
+
|
|
|
+ if(data==1){
|
|
|
+
|
|
|
+ alert('审核不通过成功!');
|
|
|
+
|
|
|
+ }else{
|
|
|
+ alert('审核不通过失败!');
|
|
|
+ }
|
|
|
+ var index = parent.layer.getFrameIndex(window.name);
|
|
|
+ parent.layer.close(index);
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ });
|
|
|
+ }
|
|
|
+ </script>
|
|
|
+
|
|
|
+</body>
|
|
|
+</html>
|