From 31ce6be2d56798d9509e6d90335999064351f7f3 Mon Sep 17 00:00:00 2001
From: luodangjia <luodangjia>
Date: 星期二, 10 十二月 2024 16:06:26 +0800
Subject: [PATCH] 12.10

---
 ManagementNTTravel/guns-admin/src/main/webapp/static/modular/system/generalization/sysCouponRecord.js |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/ManagementNTTravel/guns-admin/src/main/webapp/static/modular/system/generalization/sysCouponRecord.js b/ManagementNTTravel/guns-admin/src/main/webapp/static/modular/system/generalization/sysCouponRecord.js
index 65c4df1..67bc323 100644
--- a/ManagementNTTravel/guns-admin/src/main/webapp/static/modular/system/generalization/sysCouponRecord.js
+++ b/ManagementNTTravel/guns-admin/src/main/webapp/static/modular/system/generalization/sysCouponRecord.js
@@ -25,7 +25,7 @@
                     }else if(value==2){
                         return "出租券";
                     }else if(value==3){
-                        return "直通车出行券";
+                        return "跨城出行券";
                     }else if(value==7){
                         return "接送机出行券";
                     }else{
@@ -34,11 +34,11 @@
                 }
             },
             {title: '优惠金额', field: 'money', visible: true, align: 'center', valign: 'middle'},
-            {title: '有效期', field: 'effective', visible: true, align: 'center', valign: 'middle',
-                formatter: function (value, row) {
-                   return value+"天";
-                }
-            },
+            // {title: '有效期', field: 'effective', visible: true, align: 'center', valign: 'middle',
+            //     formatter: function (value, row) {
+            //        return value+"天";
+            //     }
+            // },
             {title: '领取人数', field: 'receive', visible: true, align: 'center', valign: 'middle'},
     ];
 };
@@ -88,6 +88,9 @@
     if ("" == id || null == id || undefined == id){
         Feng.info("请先选中表格中的某一记录!");
         return ;
+    }
+    if ("" == receive || null == receive || undefined == receive){
+        receive = 0;
     }
     var obj = $("#obj").val();
     window.parent.GeneralizationInfoDlg.selectCouponOpt9(id,insertTime,couponUseType,money,effective,receive);
@@ -153,7 +156,7 @@
 };
 $(function () {
     var defaultColunms = SysCouponRecord.initColumn();
-    var table = new BSTable(SysCouponRecord.id, "/sysCouponRecord/list", defaultColunms);
+    var table = new BSTable(SysCouponRecord.id, "/sysCouponRecord/list1", defaultColunms);
     table.setPaginationType("server");
     var queryData = {};
     queryData['couponUseType'] = $("#couponUseType").val();

--
Gitblit v1.7.1