|
- <?php
-
- /**
- *
- * ============================================================================
- * * 版权所有 蜘蛛出行 * *
- * 网站地址: http://www.zzcx
- * ----------------------------------------------------------------------------
- * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和
- * 使用;不允许对程序代码以任何形式任何目的的再发布。
- * ============================================================================
- * Author By:
- * PhpStorm fill-order.php
- * Create By 2017/3/23 17:28 $
- */
-
- use backend\modules\zzcs\assets\ZzcsAsset;
- use yii\widgets\Pjax;
- ZzcsAsset::addCss($this, '/plug/comboSelect/combo.select.css');
- ZzcsAsset::addCss($this, '/plug/My97DatePicker/skin/WdatePicker.css');
- ZzcsAsset::addScript($this, '/plug/My97DatePicker/WdatePicker.js');
- ZzcsAsset::addScript($this, '/plug/comboSelect/jquery.combo.select.js');
- ZzcsAsset::addCss($this, '/prod/css/fill_order.css');
- ZzcsAsset::addScript($this, '/plug/layer/layer.js');
- ZzcsAsset::addScript($this, '/prod/js/fill_order.js');
-
- ?>
- <div id="" class="iframe_box">
-
- <div class="ticket_top">
- <div class="reserve_date">选择门票</div>
-
- <div class="prod_date_box">
- <span class="change_date1">门 票: </span>
- <select id="prod_list" class="select_style" onchange="change_product()">
- <option value="-1">请选择</option>
- <?php foreach ($prod_list as $k => $v) { ?>
- <option value="<?php echo $v['prod_id'] ?>"><?php echo $v['prod_name'] ?></option>
- <?php } ?>
- </select>
-
- </div>
-
- <!--填购票信息-->
- <!-- 渠道号 -->
- <div class="form-group">
- <div class="reserve_date">渠道信息</div>
- <div class="reserve_date_box">
- <span class="">订单渠道:</span>
- <select id="channel" class="select_style">
- <option value="-1">请选择</option>
- <?php foreach ($supplier_list as $k => $v) { ?>
- <option value="<?php echo $v['id'] ?>"><?php echo $v['supplier_name'] ?></option>
- <?php } ?>
- </select>
- <span><input type="text" placeholder="渠道订单号" id="channel_no" value=""/></span>
- </div>
- </div>
- </div>
- <!--门票-->
- <div id="ticket1" class="reserve_center">
- <div class="reserve_center_box1">
- <div class="reserve_date">出行日期</div>
- <div class="reserve_date_box">
- <div class="change_date1"> 日 期 :</div>
- <div style="display: inline-block">
-
- <input id="run_date" class="Wdate ng-pristine ng-valid ng-not-empty ng-touched"
- value="<?php echo date('Y-m-d') ?>"
- type="text" onclick="WdatePicker({isShowClear:false,doubleCalendar:true,readOnly:false,onpicked:function(){select_date();}})">
- </div>
- </div>
- </div>
- <?php Pjax::begin(['id' => 'main_table', 'timeout' => 30000000]) ?>
- <div class="reserve_center_box2">
-
- <div class="reserve_date_box">
-
- <?php if (empty($prod_arr)) { ?>
- <div class="ticket_box">
- <div><?php echo (!isset($_GET['prod_id'])||!$_GET['prod_id'])?'请选择票种':'该日无可售票种'?></div>
- </div>
- <?php } else {foreach ($prod_arr as $k => $v) { ?>
- <div class="ticket_box" id="ticket_<?php echo $k;?>" cus_price="<?php echo $v['cus_price']?>" prod_name="<?php echo $v['prod_name']?>" prod_id="<?php echo $v['prod_id']?>" buy_num="0" stock="<?php echo $v['count']?>">
- <span class="ticket_box_span1"><?php echo $v['prod_name']?></span>
- <span style="margin-left:10px;size: 12px;color:green">余票<?php echo $v['count']?></span>
- <span style="line-height: 20px;" class="ticket_box_span2 add" onclick="add_num(this)">+</span>
- <input class="ticket_box_span3" type="text" id="book_num" readonly="true" id="" value="0"
- class="aticket"/>
- <span style="line-height: 20px;" class="ticket_box_span4 cut" onclick="cut_num(this)">-</span>
- <span id="prices1" class="ticket_box_span5"><?php echo $v['cus_price']?>元</span>
- </div>
- <?php }} ?>
-
-
- </div>
- </div>
- <?php Pjax::end() ?>
- <div class="reserve_center_box3">
- <div class="reserve_date">联系人信息</div>
- <div class="reserve_date_box">
- <span class="change_date1">姓<span style="color: #fff;">名</span>名:</span>
- <span><input type="text" placeholder="请输入姓名" id="customer_name" value=""/></span>
- </div>
- <div class="reserve_date_box">
- <span class="change_date1">手机号:</span>
- <span><input type="text" placeholder="请输入手机号" id="customer_phone" value=""/></span>
- </div>
- <div class="reserve_date_box">
- <span class="customer_id_type"> 证件号: </span>
- <select id="customer_id_type">
- <option value="150">身份证号</option>
- <option value="153">护照</option>
- </select>
- <span><input type="text" placeholder="请输入证件号" name="" id="customer_id_card" value=""/></span>
- </div>
- </div>
- </div>
-
- <div class="sub btn-primary" id="submit" onclick="submit()">提交</div>
- <input type="hidden" id="new_url" value="<?php echo 'http://'.CS_DOMAIN;?>"/>
- </div>
-
- <!--</div>-->
-
-
-
-
|