Browse Source

教材信息管理增加购买数量

新疆体育高职分支
北京泉江 1 year ago
parent
commit
2e0bcfe06d
3 changed files with 21 additions and 13 deletions
  1. +14
    -10
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TeachingMaterial/Form.cshtml
  2. +1
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TeachingMaterial/Index.js
  3. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachingMaterial/TeachingMaterialEntity.cs

+ 14
- 10
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TeachingMaterial/Form.cshtml View File

@@ -3,25 +3,29 @@
Layout = "~/Views/Shared/_Form.cshtml";
}
<div class="lr-form-wrap">
<div class="col-xs-12 lr-form-item" data-table="TeachingMaterial" >
<div class="col-xs-12 lr-form-item" data-table="TeachingMaterial">
<div class="lr-form-item-title">教材分类</div>
<input id="Type" type="text" class="form-control" />
<input id="Type" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="TeachingMaterial" >
<div class="col-xs-12 lr-form-item" data-table="TeachingMaterial">
<div class="lr-form-item-title">教材名称</div>
<input id="Name" type="text" class="form-control" />
<input id="Name" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="TeachingMaterial" >
<div class="col-xs-12 lr-form-item" data-table="TeachingMaterial">
<div class="lr-form-item-title">教材来源</div>
<input id="Source" type="text" class="form-control" />
<input id="Source" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="TeachingMaterial" >
<div class="col-xs-12 lr-form-item" data-table="TeachingMaterial">
<div class="lr-form-item-title">价格</div>
<input id="Price" type="text" class="form-control" />
<input id="Price" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="TeachingMaterial" >
<div class="col-xs-12 lr-form-item" data-table="TeachingMaterial">
<div class="lr-form-item-title">购买数量</div>
<input id="BuySum" type="number" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="TeachingMaterial">
<div class="lr-form-item-title">添加时间</div>
<input id="AddTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#AddTime').trigger('change'); } })" />
<input id="AddTime" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#AddTime').trigger('change'); } })" />
</div>
</div>
@Html.AppendJsFile("/Areas/EducationalAdministration/Views/TeachingMaterial/Form.js")

+ 1
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TeachingMaterial/Index.js View File

@@ -77,9 +77,7 @@ var bootstrap = function ($, learun) {
{ label: "教材来源", name: "Source", width: 100, align: "left"},
{ label: "价格", name: "Price", width: 100, align: "left"},
{ label: "添加时间", name: "AddTime", width: 100, align: "left"},
{ label: "需要购买数量", name: "AddTime", width: 100, align: "left", formatter: function(val) {
return '312';
}},
{ label: "购买数量", name: "BuySum", width: 100, align: "left"},
],
mainId:'ID',
isPage: true


+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/TeachingMaterial/TeachingMaterialEntity.cs View File

@@ -44,6 +44,12 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
/// </summary>
[Column("ADDTIME")]
public string AddTime { get; set; }
/// <summary>
/// 购买数量
/// </summary>
[Column("BUYSUM")]
public decimal BuySum { get; set; }

#endregion

#region 扩展操作


Loading…
Cancel
Save