Ver a proveniência

lr_form修改,满足日期时间修改显示功能

临城职教中职
liangkun há 2 anos
ascendente
cometimento
0f5bc5442b
2 ficheiros alterados com 3 adições e 3 eliminações
  1. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookBorrow/Form.cshtml
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-form.js

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookBorrow/Form.cshtml Ver ficheiro

@@ -5,11 +5,11 @@
<div class="lr-form-wrap">
<div class="col-xs-6 lr-form-item" data-table="Book_borrowinfo">
<div class="lr-form-item-title">借书时间</div>
<input id="BorrowTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm:ss',onpicked: function () { $('#BorrowTime').trigger('change'); } })" />
<input id="BorrowTime" type="text" class="form-control lr-input-wdatepicker" data-dateFmt="yyyy-MM-dd HH:mm:ss" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm:ss',onpicked: function () { $('#BorrowTime').trigger('change'); } })" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Book_borrowinfo">
<div class="lr-form-item-title">还书时间</div>
<input id="ReturnTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm:ss',onpicked: function () { $('#ReturnTime').trigger('change'); } })" />
<input id="ReturnTime" type="text" class="form-control lr-input-wdatepicker" data-dateFmt="yyyy-MM-dd HH:mm:ss" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm:ss',onpicked: function () { $('#ReturnTime').trigger('change'); } })" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Book_borrowinfo" >
<div class="lr-form-item-title">借书证</div>


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-form.js Ver ficheiro

@@ -130,7 +130,7 @@
break;
case "datepicker":
var _dateFmt = $obj.attr('data-dateFmt') || 'yyyy-MM-dd';
$obj.val(learun.formatDate(value, _dateFmt));
$obj.val(learun.formatDate(value, _dateFmt.replace('HH','hh')));
break;
case "lr-Uploader":
$obj.lrUploaderSet(value);


Carregando…
Cancelar
Guardar