Bladeren bron

机具押金显示调整

DuGuYang 3 jaren geleden
bovenliggende
commit
56aa4a033f

+ 11 - 0
Areas/Admin/Controllers/MainServer/PosMachinesTwoController.cs

@@ -190,6 +190,17 @@ namespace MySystem.Areas.Admin.Controllers
                     dic["RecycStartDate"] = RecycStartDate;
                     dic["RecycStartDate"] = RecycStartDate;
                 }
                 }
 
 
+                //实际押金
+                string SeoKeyword = dic["SeoKeyword"].ToString();
+                if (SeoKeyword.Length > 2)
+                {
+                    SeoKeyword = (decimal.Parse(SeoKeyword) / 100).ToString();
+                }
+                dic["SeoKeyword"] = SeoKeyword;
+
+                //设置押金
+                string PrizeParams = dic["PrizeParams"].ToString();
+                dic["PrizeParams"] = PrizeParams;
 
 
             }
             }
             Dictionary<string, object> other = new Dictionary<string, object>();
             Dictionary<string, object> other = new Dictionary<string, object>();

+ 2 - 1
wwwroot/layuiadmin/modules_main/PosMachinesTwo_Admin.js

@@ -146,7 +146,8 @@ layui.config({
             , { field: 'RecycEndDate', width: 200, title: '循环截止时间', sort: true }
             , { field: 'RecycEndDate', width: 200, title: '循环截止时间', sort: true }
             , { field: 'UserInfo', width: 200, title: '大盟主券标记', sort: true }
             , { field: 'UserInfo', width: 200, title: '大盟主券标记', sort: true }
             , { field: 'IsFirst', width: 200, title: '是否第一台机具', sort: true }
             , { field: 'IsFirst', width: 200, title: '是否第一台机具', sort: true }
-            , { field: 'SeoKeyword', width: 200, title: '押金金额', sort: true }
+            , { field: 'SeoKeyword', width: 200, title: '实际押金金额', sort: true }
+            , { field: 'PrizeParams', width: 200, title: '设置押金金额', sort: true }
             , { title: '操作', width: 100, align: 'center', fixed: 'right', toolbar: '#table-list-tools' }
             , { title: '操作', width: 100, align: 'center', fixed: 'right', toolbar: '#table-list-tools' }
         ]]
         ]]
         , where: {
         , where: {