Browse Source

通知公告附件不显示

西昌缴费二期
zhichao lei 4 years ago
parent
commit
ee7ef8775c
5 changed files with 18 additions and 2 deletions
  1. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_PurchaseApply/Index.js
  2. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.cshtml
  3. +5
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.js
  4. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/Ass_AssetsInfoApply/Ass_AssetsInfoApplyService.cs
  5. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/Ass_PurchaseApply/Ass_PurchaseApplyEntity.cs

+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_PurchaseApply/Index.js View File

@@ -250,6 +250,7 @@ var bootstrap = function ($, learun) {
}
}
},
{ label: "是否入库", name: "PIsInStorage", width: 130, align: "left" },
],
mainId: 'PAId',
isPage: true,


+ 2
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.cshtml View File

@@ -1,7 +1,7 @@

@{
ViewBag.Title = "ListContentIndex";
Layout = "~/Views/Shared/_Index.cshtml";
Layout = "~/Views/Shared/_Form.cshtml";
}
<link rel="stylesheet" type="text/css" href="~/Content/news/css/common.css">
<link rel="stylesheet" type="text/css" href="~/Content/news/css/style.css">
@@ -26,6 +26,7 @@
<div class="listDotBox" id="F_NewsContent">
</div>
<div id="F_NewsImage"></div>
</div>
</div>
<div class="list_sec2s list_sec">


+ 5
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.js View File

@@ -11,9 +11,10 @@ var bootstrap = function ($, learun) {

var page = {
init: function () {
$('#F_NewsImage').lrUploader({ isUpload:false});
$('.warpper').lrscroll();
var item = top['dtlist' + id];
if (!!item) {
if(false){// (!!item) {
$("#F_FullHead").text(item.f_title);
$("#F_CreateDate").text(item.f_createdate);
$("#F_CreateUserName").text(item.f_createusername);
@@ -26,6 +27,7 @@ var bootstrap = function ($, learun) {
$("#F_CreateUserName").text(data.F_CreateUserName);
$("#F_Category").text(data.F_Category);
$("#F_NewsContent").html($('<div></div>').html(data.F_NewsContent));
$('#F_NewsImage').lrUploaderSet(data.F_NewsImage);
});
}
//阅读
@@ -43,6 +45,8 @@ var bootstrap = function ($, learun) {
$('#readlist').html(html);
}
});


}
};
page.init();

+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/Ass_AssetsInfoApply/Ass_AssetsInfoApplyService.cs View File

@@ -277,6 +277,10 @@ namespace Learun.Application.TwoDevelopment.AssetManagementSystem
//读入库申请记录
var assinfoapp = db.FindEntity<Ass_AssetsInfoApplyEntity>(m => m.AAProcessId == processId);
var assPurchase = db.FindEntity<Ass_PurchaseEntity>(a => a.PId == assinfoapp.PId);
//通知申请人
var purchaseApplyEntity = db.FindEntity<Ass_PurchaseApplyEntity>(a => a.PAId = assPurchase.PAId);
purchaseApplyEntity.PIsInStorage = "已入库";
db.Update(purchaseApplyEntity);
if (null != assPurchase)
{
assPurchase.PStoregeStatus = 2;


+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/AssetManagementSystem/Ass_PurchaseApply/Ass_PurchaseApplyEntity.cs View File

@@ -84,6 +84,12 @@ namespace Learun.Application.TwoDevelopment.AssetManagementSystem
/// </summary>
[Column("POPINION")]
public string POpinion { get; set; }

/// <summary>
/// 是否入库
/// </summary>
[Column("PISINSTORAGE")]
public string PIsInStorage { get; set; }
#endregion

#region 扩展操作


Loading…
Cancel
Save