@@ -136,18 +136,8 @@ var bootstrap = function ($, learun) { | |||||
{ label: '身份证号', name: 'personId', width: 150, align: "left" }, | { label: '身份证号', name: 'personId', width: 150, align: "left" }, | ||||
{ label: '身份名称', name: 'identiName', width: 80, align: "left" }, | { label: '身份名称', name: 'identiName', width: 80, align: "left" }, | ||||
{ label: '流水类型', name: 'flowtype', width: 100, align: "left" }, | { label: '流水类型', name: 'flowtype', width: 100, align: "left" }, | ||||
{ | |||||
label: '交易金额', name: 'flowamount', width: 100, align: "left", | |||||
formatter: function (cellvalue) { | |||||
return cellvalue / 10000; | |||||
} | |||||
}, | |||||
{ | |||||
label: '余额', name: 'balance', width: 100, align: "left", | |||||
formatter: function (cellvalue) { | |||||
return cellvalue / 10000; | |||||
} | |||||
}, | |||||
{ label: '交易金额', name: 'flowamount', width: 100, align: "left" }, | |||||
{ label: '余额', name: 'balance', width: 100, align: "left" }, | |||||
{ label: '卡号', name: 'cardNo', width: 100, align: "left" }, | { label: '卡号', name: 'cardNo', width: 100, align: "left" }, | ||||
{ label: '中心时间', name: 'centralTm', width: 150, align: "left" }, | { label: '中心时间', name: 'centralTm', width: 150, align: "left" }, | ||||
{ label: '中心序号', name: 'centralNo', width: 100, align: "left" }, | { label: '中心序号', name: 'centralNo', width: 100, align: "left" }, | ||||
@@ -1221,13 +1221,13 @@ namespace Learun.Application.Web.Controllers | |||||
var mealCardRunTabList = mealCardRunTabIBLL.GetListByAccount(card).OrderByDescending(x => x.centralTm); | var mealCardRunTabList = mealCardRunTabIBLL.GetListByAccount(card).OrderByDescending(x => x.centralTm); | ||||
if (mealCardRunTabList.Any()) | if (mealCardRunTabList.Any()) | ||||
{ | { | ||||
ViewBag.StuSaveRecordTotalNum = mealCardRunTabList.FirstOrDefault().balance / 10000; | |||||
ViewBag.StuSaveRecordTotalNum = mealCardRunTabList.FirstOrDefault().balance; | |||||
} | } | ||||
var mealCardRunTabListJY = mealCardRunTabIBLL.GetListByAccount(card); | var mealCardRunTabListJY = mealCardRunTabIBLL.GetListByAccount(card); | ||||
if (mealCardRunTabListJY.Any()) | if (mealCardRunTabListJY.Any()) | ||||
{ | { | ||||
ViewBag.StuConsumptionTotalNum = Math.Abs(mealCardRunTabListJY.Select(x => x.flowamount.ToDecimal() / 10000).Sum()); | |||||
ViewBag.StuConsumptionTotalNum = Math.Abs(mealCardRunTabListJY.Select(x => x.flowamount).Sum()); | |||||
} | } | ||||
} | } | ||||
//常用链接 | //常用链接 | ||||
@@ -1560,14 +1560,14 @@ namespace Learun.Application.Web.Controllers | |||||
var mealCardRunTabList = mealCardRunTabIBLL.GetListByAccount(card).OrderByDescending(x => x.centralTm); | var mealCardRunTabList = mealCardRunTabIBLL.GetListByAccount(card).OrderByDescending(x => x.centralTm); | ||||
if (mealCardRunTabList.Any()) | if (mealCardRunTabList.Any()) | ||||
{ | { | ||||
ViewBag.StuSaveRecordTotalNum = mealCardRunTabList.FirstOrDefault().balance / 10000; | |||||
ViewBag.StuSaveRecordTotalNum = mealCardRunTabList.FirstOrDefault().balance; | |||||
} | } | ||||
//红湖付款码余额 | //红湖付款码余额 | ||||
ViewBag.StuConsumptionTotalNum = 0; | ViewBag.StuConsumptionTotalNum = 0; | ||||
var mealCardRunTabListJY = mealCardRunTabIBLL.GetListByAccount(userInfo.IdentityCardNo); | var mealCardRunTabListJY = mealCardRunTabIBLL.GetListByAccount(userInfo.IdentityCardNo); | ||||
if (mealCardRunTabListJY.Any()) | if (mealCardRunTabListJY.Any()) | ||||
{ | { | ||||
ViewBag.StuConsumptionTotalNum = Math.Abs(mealCardRunTabListJY.Select(x => x.flowamount.ToDecimal() / 10000).Sum()); | |||||
ViewBag.StuConsumptionTotalNum = Math.Abs(mealCardRunTabListJY.Select(x => x.flowamount).Sum()); | |||||
} | } | ||||
//常用链接 | //常用链接 | ||||
var userfunctionlist = perm_FunctionIBLL.GetListByUserId(userInfo.userId); | var userfunctionlist = perm_FunctionIBLL.GetListByUserId(userInfo.userId); | ||||