From 07811c07c6e23f179d284fc2fde13cc9218d967b Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期三, 15 十一月 2023 16:06:14 +0800 Subject: [PATCH] 后台bug修改 --- cloud-server-management/src/main/webapp/static/modular/system/tCompetition/tCompetition_info.js | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tCompetition/tCompetition_info.js b/cloud-server-management/src/main/webapp/static/modular/system/tCompetition/tCompetition_info.js index 726d69e..8b2f8d7 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/tCompetition/tCompetition_info.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/tCompetition/tCompetition_info.js @@ -106,12 +106,18 @@ console.log(111) var oneId=$(e).val(); var elementById = document.getElementById("pt"); + var operatorId; - if (elementById.checked){ - operatorId = 0 - }else{ + if (elementById !== null) { + console.log(elementById) operatorId = $("#account").val() + if (elementById.checked){ + operatorId = 0 + }else{ + operatorId = $("#account").val() + } } + var ajax = new $ax(Feng.ctxPath + "/tShop/getCityYys", function(data){ if(data!=null){ @@ -211,9 +217,6 @@ if(!this.validate()){ return ; } - - - var pCode = $("#pCode").val(); if(pCode==""){ Feng.info("请选择省"); -- Gitblit v1.7.1