瀏覽代碼

盟主储蓄金变动明细增加可提现余额

DuGuYang 3 年之前
父節點
當前提交
6144ea7b6c

+ 2 - 0
Areas/Admin/Controllers/MainServer/LeaderReserveRecordController.cs

@@ -82,6 +82,8 @@ namespace MySystem.Areas.Admin.Controllers
                 //创客
                 int UserId = int.Parse(function.CheckInt(dic["UserId"].ToString()));
                 Users userid_Users = db.Users.FirstOrDefault(m => m.Id == UserId) ?? new Users();
+                UserAccount userAccount = db.UserAccount.FirstOrDefault(m => m.Id == UserId) ?? new UserAccount();
+                dic["LeaderBalanceAmount"] = userAccount.LeaderBalanceAmount;
                 dic["UserIdMakerCode"] = userid_Users.MakerCode;
                 dic["UserIdRealName"] = userid_Users.RealName;
                 dic.Remove("UserId");

+ 1 - 0
wwwroot/layuiadmin/modules_main/LeaderReserveRecord_Admin.js

@@ -99,6 +99,7 @@ layui.config({
             , { field: 'SeoKeyword', width: 200, title: '订单编号', sort: true }
             , { field: 'dPosCoupons', width: 200, title: '电签兑换券', sort: true }
             , { field: 'bPosCoupons', width: 200, title: '大POS兑换券', sort: true }
+            , { field: 'LeaderBalanceAmount', width: 200, title: '可提现余额', sort: true }
             , { field: 'ChangeAmt', width: 200, title: '使用额度', sort: true }
             , { field: 'BeforeAmt', width: 200, title: '使用前剩余额度', sort: true }
             , { field: 'AfterAmt', width: 200, title: '使用后剩余额度', sort: true }