You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
information-system/destination/views/index/add_suborder_item.php

119 lines
6.8 KiB
PHTML

<!--
<script src="/min?f=/js/jquery.min.js,/js/bootstrap.min.js,/js/lyydate/jquery.lyydate.min.js,/js/destination.js"></script>
-->
<div role="tabpanel" class="tab-pane fade active in" id="suborderinfo_<?php echo $k+1; ?>" aria-labelledby="home-tab">
<div class="col-xs-24 nopadding">
<div class="row orderinfobox">
<input type="hidden" name="sub_order_sn_<?php echo $k;?>" value="<?php echo $occ_sn; ?>">
<div class="col-sm-6" style="padding-bottom:10px;"><span>产品代号: </span>
<input type="text" id="ordercolno_<?php echo $k;?>" name="ordercolno_<?php echo $k;?>" class="form-control input-sm" value="">
</div>
<div class="col-sm-6" style="padding-bottom:10px;"><span>出发日期: </span>
<input type="text" id="startdate_<?php echo $k;?>" name="startdate_<?php echo $k;?>" class="form-control input-sm lyydatepicker" value="<?php echo empty($order->occ_startdate)?'待告':date('Y-m-d',strtotime($order->occ_startdate)); ?>" autocomplete="off">
</div>
<div class="col-sm-6" style="padding-bottom:10px;"><span>订单天数:</span>
<select id="orderdays_<?php echo $k;?>" name="orderdays_<?php echo $k;?>" class="form-control input-sm" style="width: 150px;">
<option value="-1">未设置</option>
<?php for ($i=1; $i < 21; $i++) { ?>
<option value="<?php echo $i; ?>"><?php echo $i; ?></option>
<?php } ?>
</select>
</div>
<div class="col-sm-6" style="padding-bottom:10px;"><span>订单报价:</span>
<input type="hidden" name="old_price_<?php echo $k;?>" value="$0">
<input type="hidden" name="old_occ_edited_price_<?php echo $k;?>" value="1">
<input type="text" id="orderprice_<?php echo $k;?>" name="orderprice_<?php echo $k;?>" class="form-control input-sm input-orderprice" value="$0" style="cursor:text;border-bottom:1px solid red;" >
</div>
<div class="col-sm-6" style="padding-bottom:10px;">
<span>成人数量:</span>
<select id="adultcount_<?php echo $k;?>" name="adultcount_<?php echo $k;?>" class="form-control input-sm" style="width: 150px;">
<?php for ($i=0; $i < 21; $i++) { ?>
<option value="<?php echo $i; ?>" ><?php echo $i; ?></option>
<?php } ?>
</select>
</div>
<div class="col-sm-6" style="padding-bottom:10px;">
<span>小孩数量:</span>
<select id="childrencount_<?php echo $k;?>" name="childrencount_<?php echo $k;?>" class="form-control input-sm" style="width: 150px;">
<?php for ($i=0; $i < 21; $i++) { ?>
<option value="<?php echo $i; ?>" ><?php echo $i; ?></option>
<?php } ?>
</select>
</div>
<div class="col-sm-6" style="padding-bottom:10px;"><span>婴儿数量:</span>
<select id="babycount_<?php echo $k;?>" name="babycount_<?php echo $k;?>" class="form-control input-sm" style="width: 150px;">
<?php for ($i=0; $i < 21; $i++) { ?>
<option value="<?php echo $i; ?>" ><?php echo $i; ?></option>
<?php } ?>
</select>
</div>
<div class="">
<button type="button" class="btn btn-primary hidden" onclick="order_to_rmb(<?php echo $k;?>);">根据产品信息计算价格</button>
</div>
</div>
<div class="col-xs-24 btn-sm"></div>
<div class="col-xs-24 btn-lg"></div>
</div><!--产品信息END-->
<div class="col-xs-24 nopadding">
<legend style="border-bottom:none;">
客人列表
<a href="javascript:void(0);" class="small btn-add-guset-line">[添加一行]</a>
</legend>
<table class="table table-bordered guest_list_td_add">
<tbody>
<tr class="table-title" style="background:#eee;">
<th>FirstName</th>
<th>MiddleName</th>
<th>LastName</th>
<th>国籍</th>
<th>性别</th>
<th>护照</th>
<th>护照有效期</th>
<th class="hidden">邮箱</th>
<th width="60"></th>
</tr>
<tr class="gust_input_tr">
<td><input type="text" name="FirstName_<?php echo $k;?>[]" class="guest_td_input"></td>
<td><input type="text" name="MiddleName_<?php echo $k;?>[]" class="guest_td_input"></td>
<td><input type="text" name="LastName_<?php echo $k;?>[]" class="guest_td_input"></td>
<td>
<select name="Nationality_<?php echo $k;?>[]" class="guest_td_input">
<?php foreach ($country as $key => $na) { ?>
<option value="<?php echo $key; ?>"><?php echo $na; ?></option>
<?php } ?>
</select>
</td>
<td>
<select name="sex_<?php echo $k;?>[]" class="guest_td_input">
<?php foreach ($sex as $key => $s) { ?>
<option value="<?php echo $key; ?>"><?php echo $s; ?></option>
<?php } ?>
</select>
</td>
<td><input type="text" name="passport_<?php echo $k;?>[]" class="guest_td_input"></td>
<td><input type="text" name="PassportValidDate_<?php echo $k;?>[]" class="guest_td_input lyydatepicker" autocomplete="off"></td>
<td class="hidden"><input type="text" name="Email_<?php echo $k;?>[]" class="guest_td_input"></td>
<td></td>
</tr>
</tbody>
</table>
<div class="col-xs-24 btn-lg"></div>
<div class="col-xs-24 btn-lg"></div>
</div>
<div class="col-sm-24 nopadding">
<legend style="border-bottom:none;">客人Special Request</legend>
<div class="row">
<div class="col-xs-24 text-center">
<textarea name="DetailText_<?php echo $k;?>" class="form-control" rows="10" style="width:100%;"></textarea>
<div class="col-xs-24 btn-lg"></div>
</div>
</div>
</div>
</div>