|
|
|
@ -197,17 +197,11 @@ use common\models\PriceT; |
|
|
|
|
<tr> |
|
|
|
|
<th class="bg-warning" nowrap>商业起保日期</th> |
|
|
|
|
<td> |
|
|
|
|
<div class="input-group date"> |
|
|
|
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span> |
|
|
|
|
<input type="text" name="insurer1_begin_date" class="form-control" value="<?=$order_info->insurer1_begin_date?>">
|
|
|
|
|
</div> |
|
|
|
|
<input type="text" id="insurer1_begin_date" name="insurer1_begin_date" class="form-control" value="<?=$order_info->insurer1_begin_date?>" autocomplete="off">
|
|
|
|
|
</td> |
|
|
|
|
<th class="bg-warning" nowrap>交强起保日期</th> |
|
|
|
|
<td> |
|
|
|
|
<div class="input-group date"> |
|
|
|
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span> |
|
|
|
|
<input type="text" name="insurer2_begin_date" class="form-control" value="<?=$order_info->insurer2_begin_date?>">
|
|
|
|
|
</div> |
|
|
|
|
<input type="text" id="insurer2_begin_date" name="insurer2_begin_date" class="form-control" value="<?=$order_info->insurer2_begin_date?>" autocomplete="off">
|
|
|
|
|
</td> |
|
|
|
|
<th class="bg-warning">保险公司</th> |
|
|
|
|
<td> |
|
|
|
@ -269,10 +263,7 @@ use common\models\PriceT; |
|
|
|
|
<tr> |
|
|
|
|
<th class="bg-warning" nowrap>送单日期</th> |
|
|
|
|
<td> |
|
|
|
|
<div class="input-group date"> |
|
|
|
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span> |
|
|
|
|
<input type="text" name="send_date" class="form-control" value="<?=$order_info->send_date?>">
|
|
|
|
|
</div> |
|
|
|
|
<input type="text" id="send_date" name="send_date" class="form-control" value="<?=$order_info->send_date?>" autocomplete="off">
|
|
|
|
|
</td> |
|
|
|
|
<th class="bg-warning">送单地址</th> |
|
|
|
|
<td colspan="5" class="form-inline"> |
|
|
|
@ -325,6 +316,7 @@ use common\models\PriceT; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php $this->beginBlock('footer_js'); ?> |
|
|
|
|
<script src="/assets/js/plugins/layer/laydate/laydate.js"></script> |
|
|
|
|
<script> |
|
|
|
|
var o = {}; |
|
|
|
|
//判断是否填写了选项 |
|
|
|
@ -390,13 +382,19 @@ use common\models\PriceT; |
|
|
|
|
$('#total1_real').blur(function(){ |
|
|
|
|
calc(); |
|
|
|
|
}); |
|
|
|
|
$('.date').datepicker({ |
|
|
|
|
todayBtn: "linked", |
|
|
|
|
keyboardNavigation: false, |
|
|
|
|
forceParse: false, |
|
|
|
|
calendarWeeks: true, |
|
|
|
|
autoclose: true |
|
|
|
|
laydate({ |
|
|
|
|
elem:'#send_date', |
|
|
|
|
format: 'YYYY-MM-DD' |
|
|
|
|
}); |
|
|
|
|
laydate({ |
|
|
|
|
elem:'#insurer1_begin_date', |
|
|
|
|
format: 'YYYY-MM-DD' |
|
|
|
|
}); |
|
|
|
|
laydate({ |
|
|
|
|
elem:'#insurer2_begin_date', |
|
|
|
|
format: 'YYYY-MM-DD' |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
//生成短信内容 |
|
|
|
|
$('.sms-make-btn').click(function(){ |
|
|
|
|
var params = $('#orderFrm').serialize(); |
|
|
|
|