From c8579f511f4ca4fe8fac97b3586d3c412f6bdafb Mon Sep 17 00:00:00 2001
From: luofl <1442745593@qq.com>
Date: 星期五, 11 四月 2025 21:31:15 +0800
Subject: [PATCH] 1
---
cloud-server-management/src/main/webapp/static/modular/system/tCoach/tCoach_info.js | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tCoach/tCoach_info.js b/cloud-server-management/src/main/webapp/static/modular/system/tCoach/tCoach_info.js
index 152f2e9..25bb80e 100644
--- a/cloud-server-management/src/main/webapp/static/modular/system/tCoach/tCoach_info.js
+++ b/cloud-server-management/src/main/webapp/static/modular/system/tCoach/tCoach_info.js
@@ -213,6 +213,9 @@
var sm =data.appointmentStartTime.split(':')[1];
var eh =data.appointmentEndTime.split(':')[0];
var em =data.appointmentEndTime.split(':')[1];
+ if($('#platform_account').is(':checked')){
+ data.cityManagerId = $("#platform_account").val()
+ }
if($("#pCode").val()==''){
Feng.info("请选择省")
@@ -222,7 +225,7 @@
Feng.info("请选择市")
return;
}
- if($("#account").val()=='' ){
+ if(data.cityManagerId=='' ){
Feng.info("请选择账号")
return;
}
@@ -390,6 +393,13 @@
carPhoto1.setUploadBarId("progressBar");
carPhoto1.init();
TSiteInfo.getTime()
-
-
+
+ $('#platform_account').on('click', function (){
+ if($('#platform_account').is(':checked')){
+ $('#account').val("");
+ $('#account').attr("disabled", 'disabled');
+ }else{
+ $('#account').removeAttr("disabled");
+ }
+ });
});
--
Gitblit v1.7.1