Преглед изворни кода

【修改】实训设备管理:加字段验证;图书信息管理:列表时间显示优化、表单审核标志下拉框;

新疆警官学校中职
dyy пре 2 година
родитељ
комит
0a2fcdb4b8
4 измењених фајлова са 22 додато и 8 уклоњено
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookInfo/Form.cshtml
  2. +2
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookInfo/Form.js
  3. +14
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookInfo/Index.js
  4. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TrainEquipmentManage/Form.cshtml

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookInfo/Form.cshtml Прегледај датотеку

@@ -53,7 +53,7 @@
</div>
<div class="col-xs-6 lr-form-item" data-table="Book_info">
<div class="lr-form-item-title">审核标志</div>
<input id="CheckMark" type="text" class="form-control" />
<div id="CheckMark"></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="Book_info">
<div class="lr-form-item-title">备注</div>


+ 2
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookInfo/Form.js Прегледај датотеку

@@ -17,6 +17,8 @@ var bootstrap = function ($, learun) {
bind: function () {
$("#BookType").lrDataSourceSelect({ code: 'BookClass', value: 'id', text: 'typename' });
$("#BookLocation").lrDataSourceSelect({ code: 'BookLocation', value: 'id', text: 'booklocation' });
$('#CheckMark').lrDataItemSelect({ code: 'BookStatus' });

},
initData: function () {
if (!!keyValue) {


+ 14
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookInfo/Index.js Прегледај датотеку

@@ -91,8 +91,20 @@ var bootstrap = function ($, learun) {
{ label: "书籍作者", name: "Author", width: 100, align: "left" },
{ label: "书籍出版社", name: "Publisher", width: 100, align: "left" },
{ label: "书籍编号", name: "BookCode", width: 100, align: "left" },
{ label: "出版时间", name: "PublishTime", width: 100, align: "left" },
{ label: "入库时间", name: "AddTime", width: 100, align: "left" },
{
label: "出版时间", name: "PublishTime", width: 100, align: "left", formatter: function (cellvalue) {
if (cellvalue != null && cellvalue!=undefined && cellvalue!="") {
return cellvalue.slice(0, 10);
}
}
},
{
label: "入库时间", name: "AddTime", width: 100, align: "left", formatter: function (cellvalue) {
if (cellvalue != null && cellvalue != undefined && cellvalue != "") {
return cellvalue.slice(0, 10);
}
}
},
{ label: "书籍价格", name: "Price", width: 100, align: "left" },
{ label: "数量", name: "Amount", width: 100, align: "left" },
{


+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TrainEquipmentManage/Form.cshtml Прегледај датотеку

@@ -21,19 +21,19 @@
</div>
<div class="col-xs-12 lr-form-item" data-table="TrainEquipmentManage" >
<div class="lr-form-item-title">新增</div>
<input id="AddNum" type="text" class="form-control" />
<input id="AddNum" type="number" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="TrainEquipmentManage" >
<div class="lr-form-item-title">损耗</div>
<input id="LossNum" type="text" class="form-control" />
<input id="LossNum" type="number" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="TrainEquipmentManage" >
<div class="lr-form-item-title">现存</div>
<input id="ExistNum" type="text" class="form-control" />
<input id="ExistNum" type="number" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="TrainEquipmentManage" >
<div class="lr-form-item-title">设备金额</div>
<input id="EquipmentMoney" type="text" class="form-control" />
<div class="lr-form-item-title">设备金额<font face="宋体">*</font></div>
<input id="EquipmentMoney" type="number" class="form-control" isvalid="yes" checkexpession="PositiveFloatintZero" />
</div>
</div>
@Html.AppendJsFile("/Areas/EducationalAdministration/Views/TrainEquipmentManage/Form.js")

Loading…
Откажи
Сачувај