From 4f47865c3b8132f097cc32fe9bd8e0fa12469786 Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期四, 09 十一月 2023 10:08:48 +0800
Subject: [PATCH] 后台bug修改

---
 cloud-server-management/src/main/webapp/static/modular/system/tCompetition/tCompetition_info.js |   24 ++++++++++++++++++++++--
 1 files changed, 22 insertions(+), 2 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 b7ed7aa..726d69e 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
@@ -105,7 +105,14 @@
 TCarInfoDlg.oneChange9 = function (e) {
     console.log(111)
     var oneId=$(e).val();
-    var operatorId = $("#operator").val()
+    var elementById = document.getElementById("pt");
+    var operatorId;
+    if (elementById.checked){
+        operatorId = 0
+    }else{
+        operatorId =  $("#account").val()
+    }
+
     var ajax = new $ax(Feng.ctxPath + "/tShop/getCityYys", function(data){
         if(data!=null){
             if(language==1){
@@ -618,7 +625,20 @@
 };
 
 
-
+TCarInfoDlg.oneChange3 = function (e) {
+    var operatorId=$(e).val();
+    var ajax = new $ax(Feng.ctxPath + "/tShop/getProvinceYys", function(data){
+        if(data!=null){
+            var content='<option value="">选择市</option>';
+            $.each(data, function(k,v) {
+                content += "<option value='"+v.code+"'>"+v.name+"</option>";
+            });
+            $("#pCode").empty().append(content);
+        }
+    });
+    ajax.set("operatorId",operatorId);
+    ajax.start();
+};
 TCarInfoDlg.oneChange1 = function (e) {
     console.log(111)
     var oneId=$(e).val();

--
Gitblit v1.7.1