From 7fe6d026bcc8f993ce76437d01607e591cc671fe Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期六, 25 十一月 2023 17:20:02 +0800
Subject: [PATCH] 重写课包支付和排课逻辑
---
cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue_info.js | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue_info.js b/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue_info.js
index 4456b15..7bb4003 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue_info.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/ball/yuyue_info.js
@@ -172,7 +172,7 @@
// 去除最后一个逗号
values = values.slice(0, -1);
-
+ console.log("看看预约时间段")
console.log(values);
var times = values;
@@ -650,7 +650,7 @@
htmlStr += '玩湃币支付:<input class="paiCoin" type="number" min="0" placeholder="请输入金额" style="width: 110px;background-color: #FFFFFF;background-image: none;border: 1px solid #e5e6e7;border-radius: 1px;color: inherit;padding: 6px 12px;"> 币 \n';
}
htmlStr += '<button type="button" class="btn btn-info " onclick="CoursePackageInfo.openDia('+i+')" id="ensure">\n' +
- ' <i class="fa fa-check"></i> 优惠卷\n' +
+ ' <i class="fa fa-check"></i> 优惠券\n' +
'</button>';
htmlStr += '</span> <i class="fa fa-trash-o" style="font-size:24px" onclick="removePrice(this)"></i>\n' +
@@ -673,6 +673,10 @@
$(function () {
+
+
+
+
$('#provinceCode').change(function () {
let ajax = new $ax(Feng.ctxPath + "/coursePackage/queryCity", function (data) {
let htmlStr = '';
@@ -699,6 +703,10 @@
$('#storeId').change(function () {
querySite();
})
+ $('#siteId').change(function () {
+ if ($('#time').val()!="")
+ CoursePackageInfo.addTime();
+ })
$('input[name="payType"]').click(function () {
$('input[name="payType"]').each(function (index, e) {
--
Gitblit v1.7.1