修改回单详情中的日期样式

dev
曾超新 5 years ago
parent 710295d7a5
commit 7d37714c5f
  1. 12
      frontend/views/finance/receipt-info.php

@ -54,7 +54,7 @@ use \common\libs\MyLib;
</div> </div>
<label class="col-sm-2 control-label">回款日期</label> <label class="col-sm-2 control-label">回款日期</label>
<div class="col-sm-3"> <div class="col-sm-3">
<input type="text" name="r_date" id="r_date" value="<?=$caiwu_info->r_date?>" class="form-control" autocomplete="off"> <input type="text" name="r_date" id="r_date" value="<?=$caiwu_info->r_date?>" class="form-control date" autocomplete="off">
</div> </div>
</div> </div>
<div> <div>
@ -74,12 +74,14 @@ use \common\libs\MyLib;
</div> </div>
<?php $this->beginBlock('footer_js'); ?> <?php $this->beginBlock('footer_js'); ?>
<script src="/assets/js/plugins/layer/laydate/laydate.js"></script>
<script type="text/javascript" language="javascript"> <script type="text/javascript" language="javascript">
$(function () { $(function () {
laydate({ $('.date').datepicker({
elem:'#r_date', todayBtn: "linked",
format: 'YYYY-MM-DD' keyboardNavigation: false,
forceParse: false,
calendarWeeks: true,
autoclose: true
}); });
//提交按钮 //提交按钮
$(".btn-save").click(function(){ $(".btn-save").click(function(){

Loading…
Cancel
Save