Pārlūkot izejas kodu

财务申请支出,显示剩余金额

金隅分支
zhangli pirms 3 gadiem
vecāks
revīzija
a0d6c61d0c
4 mainītis faili ar 4950 papildinājumiem un 3722 dzēšanām
  1. +9
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Controllers/FD_PayManageController.cs
  2. +4
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/FD_PayManage/FormPublic.cshtml
  3. +0
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/FD_PayManage/FormPublic.js
  4. +4937
    -3712
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/DBModel/资产系统.PDM

+ 9
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Controllers/FD_PayManageController.cs Parādīt failu

@@ -66,6 +66,15 @@ namespace Learun.Application.Web.Areas.ReceiveSendFeeManagement.Controllers
[HttpGet]
public ActionResult FormPublic()
{
ViewBag.Amount = 0;
ViewBag.Name = "";
var incomlist = fD_IncomeManageIBLL.GetIncomeList("0", "1");
if (incomlist.Count() > 0)
{
var model = incomlist.FirstOrDefault();
ViewBag.Name = model.IName;
ViewBag.Amount = model.ISurplusAmount;
}
return View();
}
#endregion


+ 4
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/FD_PayManage/FormPublic.cshtml Parādīt failu

@@ -47,18 +47,14 @@
<div class="lr-form-item-title">资金支出用途</div>
<textarea id="PPurpose" class="form-control" style="height:80px;"></textarea>
</div>
@*<div class="col-xs-12 lr-form-item" data-table="FD_PayManage">
<div class="lr-form-item-title">资金支出来源</div>
<div id="PTopSource"></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="FD_PayManage">
<div class="lr-form-item-title">财政专项名称</div>
<div id="PIncomeId"></div>
</div>*@
<div class="col-xs-12 lr-form-item" data-table="FD_PayManage">
<div class="lr-form-item-title">报销金额<font face="宋体">*</font></div>
<input id="PAmount" type="text" class="form-control" isvalid="yes" checkexpession="Num" />
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title"></div>
<span style="font-size: 12px; color: red;">@ViewBag.Name 剩余金额:@ViewBag.Amount</span>
</div>
<div class="col-xs-12 lr-form-item" data-table="FD_PayManage">
<div class="lr-form-item-title">附件上传</div>
<div id="PFile"></div>


+ 0
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/ReceiveSendFeeManagement/Views/FD_PayManage/FormPublic.js Parādīt failu

@@ -134,7 +134,6 @@ var bootstrap = function ($, learun) {
};
// 保存数据
save = function (processId, callBack, i) {

if (!$('body').lrValidform()) {
return false;
}
@@ -147,7 +146,6 @@ var bootstrap = function ($, learun) {
postData.strEntity = JSON.stringify(strEntity);

$.lrSaveForm(top.$.rootUrl + '/ReceiveSendFeeManagement/FD_PayManage/SaveForm?keyValue=' + keyValue, postData, function (res) {
console.log('aaaaa');
if (!!processId) {
var res = {};
res.code = 200;


+ 4937
- 3712
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/DBModel/资产系统.PDM
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


Notiek ielāde…
Atcelt
Saglabāt