From 4f0503f056dc75a6ff61995465d3b86532b2640e Mon Sep 17 00:00:00 2001
From: nickchange <126672920+nickchange@users.noreply.github.com>
Date: 星期二, 28 十一月 2023 20:21:20 +0800
Subject: [PATCH] 11.27,9
---
cloud-server-management/src/main/webapp/static/modular/system/tDiscountAudit/coursePackageDiscount.js | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tDiscountAudit/coursePackageDiscount.js b/cloud-server-management/src/main/webapp/static/modular/system/tDiscountAudit/coursePackageDiscount.js
index 9f6de19..c97f99c 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/tDiscountAudit/coursePackageDiscount.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/tDiscountAudit/coursePackageDiscount.js
@@ -20,6 +20,11 @@
CoursePackageDiscount.audit = function () {
var id = $("#id").val();
+ var type = $("#type").val();
+ if (type=="未通过"){
+ Feng.error("当前状态不能再次审核!")
+ return ;
+ }
let audit = document.querySelector('input[name="r1"]:checked').value;
let text = $("#text").val()
if(audit==3){
@@ -430,6 +435,9 @@
let index = $('#classHours').find('button[checked]').attr('index');
let obj = CoursePackageDiscount.coursePackagePaymentConfig[index];
+ console.log(obj)
+ console.log("看看obj")
+
$('#payment').text(obj.payment);
$('#cashPayment').text(obj.cashPayment);
@@ -453,6 +461,11 @@
$(function () {
+ var type2 = $('#type2').val();
+ if (type2 == 3){
+ console.log("进入隐藏")
+ $('#classHours').hide();
+ }
CoursePackageDiscount.coursePackagePaymentConfig = JSON.parse($('#coursePackagePaymentConfig').val());
let htmlStr = '';
for (let i = 0; i < CoursePackageDiscount.coursePackagePaymentConfig.length; i++) {
--
Gitblit v1.7.1