From 39518349b9b4b2e2fd0bf153623c8d88301c539e Mon Sep 17 00:00:00 2001
From: lisy <linlangsur163@163.com>
Date: 星期四, 03 八月 2023 21:35:53 +0800
Subject: [PATCH] 修复了开始上课的冗余勋章列表查询bug

---
 cloud-server-management/src/main/webapp/static/modular/system/tCoupon/TCouponInfo.js |   52 ++++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 48 insertions(+), 4 deletions(-)

diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tCoupon/TCouponInfo.js b/cloud-server-management/src/main/webapp/static/modular/system/tCoupon/TCouponInfo.js
index 7d2b80e..e10bcba 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/tCoupon/TCouponInfo.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/tCoupon/TCouponInfo.js
@@ -242,16 +242,60 @@
  */
 couponInfoDlg.addSubmit = function () {
     var userType = $('#userType').val();
+    // 优惠券名称
+    var couponName = $('#name').val;
+    // 优惠券类型
     var prescription = $('#prescription').val();
+    // 说明
     var illustrate = $('#illustrate').val();
+    // 发放方式
     var distributionMethod = $('#distributionMethod').val();
-    var prescription = $('#prescription').val();
+    // 所需积分
+    var requiredPoints = $('#requiredPoints').val();
+    // 用户人群
+    var userGroup = $('#userGroup').val();
+    // 发放数量
+    var quantityIssued = $('#quantityIssued').val();
+    // 限领数量
+    var pickUpQuantity = $('#pickUpQuantity').val();
+    // 有效期
+    var periodOfValidity = $('#periodOfValidity').val();
+
     if (userType === '1'){
+        // 平台管理员
+        var exchangeMethod = $('#exchangeMethod').val;
+        if (exchangeMethod === 1){
+
+        }
+        if (exchangeMethod === 2){
+            var requiredCash = $('#requiredCash').val;
+
+        }
+        if (exchangeMethod === 3){
+
+        }
+        var goodImg = this.goodsCover;
+        var goodImgs = this.goodsPicArray;
+        var company = $('#company').val;
+        if (company === 1){
+
+        }
+        if (company === 2){
+
+        }
+        if (company === 3){
+
+        }
+
 
     }
-    var couponName = $('#name').val;
-    var couponName = $('#name').val;
-    var couponName = $('#name').val;
+    if (userType === '2'){
+        // 城市管理员
+
+
+    }
+
+
     var couponName = $('#name').val;
     var couponName = $('#name').val;
     var couponName = $('#name').val;

--
Gitblit v1.7.1