From aa72a1d1d8c792b322281f5ab01996bc62820b13 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期二, 16 九月 2025 15:31:07 +0800
Subject: [PATCH] 修改bug及数据加密传输

---
 ManagementQYTTravel/guns-admin/src/main/webapp/WEB-INF/view/system/tSystemPrice/taxiSet.html |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/ManagementQYTTravel/guns-admin/src/main/webapp/WEB-INF/view/system/tSystemPrice/taxiSet.html b/ManagementQYTTravel/guns-admin/src/main/webapp/WEB-INF/view/system/tSystemPrice/taxiSet.html
index 4f2f370..5370797 100644
--- a/ManagementQYTTravel/guns-admin/src/main/webapp/WEB-INF/view/system/tSystemPrice/taxiSet.html
+++ b/ManagementQYTTravel/guns-admin/src/main/webapp/WEB-INF/view/system/tSystemPrice/taxiSet.html
@@ -81,9 +81,7 @@
                             <input type="text" name="num6" id="num6" class="form-control newWidth"  value='${json.num6!}' placeholder="选择时间"/>&nbsp;点为夜间行驶时间,
                             起步价变为<input type="text" onblur="checkIsYuan(this)"  value='${json.num7!}' name="num7" id="num7" class="form-control newWidth" placeholder="最多3位数"/>元,
                             起步包含<input type="text" onblur="checkIsGongLi(this)" name="num8"   value='${json.num8!}' id="num8" class="form-control newWidth" placeholder="最多3位数"/>
-                            公里,不足起步公里按起步公里收费
-                            ,超过起步里程后每公里加收<input type="text" onblur="checkIsYuan(this)" name="num9"  value='${json.num9!}' id="num9" class="form-control newWidth" placeholder="最多3位数"/>元
-
+                            公里。
                         </div>
                     </div>
 <!--                    <div class="form-group waitFee">-->
@@ -130,21 +128,23 @@
             waitFee = waitFee + '"'+$(this)[0].name+'":"'+value+'",';
         });
         waitFee = waitFee + '"mileageList":['
-        $('#mileage_div').children('div').each(function (){
-            waitFee = waitFee + "{"
+        if($('#mileage_div').children('div').length > 0){
+            $('#mileage_div').children('div').each(function (){
+                waitFee = waitFee + "{"
                 $(this).children('input').each(function (){
-                var value = $(this).val();
-                if('' == value){
-                    b = true;
-                    Feng.info("请填写完整配置");
-                    return
-                }
-                waitFee = waitFee + '"'+$(this)[0].name+'":"'+value+'",';
+                    var value = $(this).val();
+                    if('' == value){
+                        b = true;
+                        Feng.info("请填写完整配置");
+                        return
+                    }
+                    waitFee = waitFee + '"'+$(this)[0].name+'":"'+value+'",';
+                })
+                waitFee = waitFee.substring(0,waitFee.length-1);
+                waitFee = waitFee + "},"
             })
             waitFee = waitFee.substring(0,waitFee.length-1);
-            waitFee = waitFee + "},"
-        })
-        waitFee = waitFee.substring(0,waitFee.length-1);
+        }
         waitFee += ']}';
         console.log(btoa(waitFee));
 

--
Gitblit v1.7.1