| | |
| | | |
| | | 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){ |
| | |
| | | |
| | | 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); |
| | | |
| | |
| | | |
| | | |
| | | $(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++) { |