DuGuYang 3 лет назад
Родитель
Сommit
b410c77cf9

+ 11 - 0
Areas/Admin/Controllers/SpServer/TradeFluxRecordController.cs

@@ -102,6 +102,17 @@ namespace MySystem.Areas.Admin.Controllers
                 if (BankCardType == "") dic["BankCardType"] = "";
                 //产品类型
                 dic["ProductType"] = RelationClass.GetKqProductBrandList(dic["ProductType"].ToString());
+                //流量费
+                decimal FeeAmount = Convert.ToDecimal(dic["FeeAmount"].ToString());
+                var Brand = Convert.ToInt32(dic["ProductType"].ToString());
+                if (Brand == 1 || Brand == 4 || Brand == 6 || Brand == 8 || Brand == 9)
+                {
+                    dic["FeeAmount"] = FeeAmount / 100;
+                }
+                if (Brand == 2 || Brand == 7)
+                {
+                    dic["FeeAmount"] = FeeAmount;
+                }
                 // //产品类型
                 // string ProductType = dic["ProductType"].ToString();
                 // if (ProductType == "KYSPOS") dic["ProductType"] = "快益刷";

+ 1 - 1
Areas/Admin/Views/SpServer/BindRecord/Index.cshtml

@@ -73,7 +73,7 @@
                         </div>
                     </div>
                     <div class="layui-inline">
-                        <label class="layui-form-label">终端机身号</label>
+                        <label class="layui-form-label">终端机身号</label>
                         <div class="layui-input-inline">
                             <input class="layui-input" type="text" name="MerSnNo" placeholder="" autocomplete="off">
                         </div>

+ 1 - 1
Areas/Admin/Views/SpServer/ChangeBindRecord/Index.cshtml

@@ -73,7 +73,7 @@
                         </div>
                     </div>
                     <div class="layui-inline">
-                        <label class="layui-form-label">终端机身号</label>
+                        <label class="layui-form-label">终端机身号</label>
                         <div class="layui-input-inline">
                             <input class="layui-input" type="text" name="MerSnNo" placeholder="" autocomplete="off">
                         </div>

+ 1 - 1
wwwroot/layuiadmin/modules_sp/BindRecord_Admin.js

@@ -100,7 +100,7 @@ layui.config({
             , { field: 'AgentName', width: 200, title: '机构名称', sort: true }
             , { field: 'MerNo', width: 200, title: '商户编号', sort: true }
             , { field: 'MerName', width: 200, title: '商户名称', sort: true }
-            , { field: 'MerSnNo', width: 200, title: '终端机身号', sort: true }
+            , { field: 'MerSnNo', width: 200, title: '终端机身号', sort: true }
             , { field: 'MerOperateDate', width: 200, title: '操作时间', sort: true }
             // , { field: 'MerOperateType', width: 200, title: '操作类型', sort: true }
             // , { field: 'MerStatus', width: 200, title: '商户状态', sort: true }

+ 1 - 1
wwwroot/layuiadmin/modules_sp/ChangeBindRecord_Admin.js

@@ -98,7 +98,7 @@ layui.config({
             , { field: 'AgentName', width: 200, title: '机构名称', sort: true }
             , { field: 'MerNo', width: 200, title: '商户编号', sort: true }
             , { field: 'MerName', width: 200, title: '商户名称', sort: true }
-            , { field: 'MerSnNo', width: 200, title: '终端机身号', sort: true }
+            , { field: 'MerSnNo', width: 200, title: '终端机身号', sort: true }
             , { field: 'ProductType', width: 200, title: '产品类型', sort: true }
             , { field: 'MerNewSnNo', width: 200, title: '新终端机身号', sort: true }
             , { field: 'ConfirmTime', width: 200, title: '提交时间', sort: true }

+ 1 - 1
wwwroot/layuiadmin/modules_sp/TradeFluxRecord_Admin.js

@@ -80,7 +80,7 @@ layui.config({
             // , { field: 'BankCardType', width: 200, title: '银行卡类型', sort: true }
             // , { field: 'DigAmt', width: 200, title: '挖款金额', sort: true }
             // , { field: 'BankCardNo', width: 200, title: '交易卡号', sort: true }
-            , { field: 'FeeAmount', width: 200, title: '手续费', sort: true }
+            , { field: 'FeeAmount', width: 200, title: '流量费', sort: true }
             , { field: 'KqTradeSeq', width: 200, title: '快钱交易流水号', sort: true }
             , { field: 'ProductType', width: 200, title: '产品类型', sort: true }
             , { field: 'AgentNo', width: 200, title: '代理商编号', sort: true }