From 98afb786a3a36a6cbf6b20aaa0571354fc40437c Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期二, 14 一月 2025 20:28:24 +0800
Subject: [PATCH] 管理后台bug修改 修改司机余额 新增交易明细记录

---
 ManagementOKTravel/guns-admin/src/main/webapp/WEB-INF/view/system/tCompany/tCompany_add.html  |   20 ++++++++++----------
 ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tCompany/tCompany_info.js |    4 ++--
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/ManagementOKTravel/guns-admin/src/main/webapp/WEB-INF/view/system/tCompany/tCompany_add.html b/ManagementOKTravel/guns-admin/src/main/webapp/WEB-INF/view/system/tCompany/tCompany_add.html
index e397dff..0619f33 100644
--- a/ManagementOKTravel/guns-admin/src/main/webapp/WEB-INF/view/system/tCompany/tCompany_add.html
+++ b/ManagementOKTravel/guns-admin/src/main/webapp/WEB-INF/view/system/tCompany/tCompany_add.html
@@ -233,7 +233,7 @@
                         <label class="col-sm-2 control-label">起步价设置:</label>
                         <div class="col-sm-10">
                             起步价为&nbsp;<input type="text" onblur="checkIsYuan(this)" name="num1" id="num1" class="form-control newWidth" placeholder="最多3位数"/>&nbsp;元,
-                            起步包含&nbsp;<input type="text" onblur="checkIsGongLi(this, 'exclusivePriceSettings')" name="num2" id="num2"  class="form-control newWidth" placeholder="最多3位数"/>&nbsp;公里,
+                            起步包含&nbsp;<input type="text" onblur="checkIsGongLi(this, 'content')" name="num2" id="num2"  class="form-control newWidth" placeholder="最多3位数"/>&nbsp;公里,
                             &nbsp;<input type="text" onblur="checkIsMinute(this)" name="num3" id="num3"  class="form-control newWidth" placeholder="最多3位数"/>&nbsp;分钟
                             <br/>
                         </div>
@@ -267,17 +267,17 @@
                     <div class="form-group">
                         <label class="col-sm-2 control-label">远途费设置:</label>
                         <div class="col-sm-10">
-                            总里程超过&nbsp;<input type="text" onblur="checkIsGongLi(this, 'exclusivePriceSettings')" name="num6" id="num6"  class="form-control newWidth" placeholder="最多3位数"/>&nbsp;公里
-                            不足&nbsp;<input type="text" onblur="checkIsGongLi(this, 'exclusivePriceSettings')" name="num7" id="num7" class="form-control newWidth" placeholder="最多3位数"/>&nbsp;公里,
-                            超出部分每公里加收&nbsp;<input type="text" onblur="checkIsYuan(this, 'exclusivePriceSettings')" name="num8" id="num8" class="form-control newWidth" placeholder="最多3位数"/>&nbsp;元
+                            总里程超过&nbsp;<input type="text" onblur="checkIsGongLi(this, 'content')" name="num6" id="num6"  class="form-control newWidth" placeholder="最多3位数"/>&nbsp;公里
+                            不足&nbsp;<input type="text" onblur="checkIsGongLi(this, 'content')" name="num7" id="num7" class="form-control newWidth" placeholder="最多3位数"/>&nbsp;公里,
+                            超出部分每公里加收&nbsp;<input type="text" onblur="checkIsYuan(this, 'content')" name="num8" id="num8" class="form-control newWidth" placeholder="最多3位数"/>&nbsp;元
                             <br>
                             <br>
-                            超过&nbsp;<input type="text" disabled onblur="checkIsGongLi(this, 'exclusivePriceSettings')" name="num9" id="num9" class="form-control newWidth" placeholder="最多3位数"/>&nbsp;公里
-                            不足&nbsp;<input type="text" onblur="checkIsGongLi(this, 'exclusivePriceSettings')" name="num10" id="num10" class="form-control newWidth" placeholder="最多3位数"/>&nbsp;公里时,
+                            超过&nbsp;<input type="text" disabled onblur="checkIsGongLi(this, 'content')" name="num9" id="num9" class="form-control newWidth" placeholder="最多3位数"/>&nbsp;公里
+                            不足&nbsp;<input type="text" onblur="checkIsGongLi(this, 'content')" name="num10" id="num10" class="form-control newWidth" placeholder="最多3位数"/>&nbsp;公里时,
                             超出部分每公里加收&nbsp;<input type="text" onblur="checkIsYuan(this)" name="num11" id="num11" class="form-control newWidth" placeholder="最多3位数"/>&nbsp;元
                             <br/>
                             <br>
-                            超过&nbsp;<input type="text" disabled onblur="checkIsGongLi(this, 'exclusivePriceSettings')" name="num12" id="num12" class="form-control newWidth" placeholder="最多3位数"/>&nbsp;公里以后,
+                            超过&nbsp;<input type="text" disabled onblur="checkIsGongLi(this, 'content')" name="num12" id="num12" class="form-control newWidth" placeholder="最多3位数"/>&nbsp;公里以后,
                             超出部分每公里加收&nbsp;<input type="text" onblur="checkIsYuan(this)" name="num13" id="num13" class="form-control newWidth" placeholder="最多3位数"/>&nbsp;元
                             <br/>
                         </div>
@@ -484,19 +484,19 @@
     });
 
     laydate.render({
-        elem: '.onePriceSetting #num14'
+        elem: '.content #num14'
         ,type: 'time'
         ,range: '-'
         ,format: 'HH:mm'
     });
     laydate.render({
-        elem: '.onePriceSetting #num21'
+        elem: '.content #num21'
         ,type: 'time'
         ,range: '-'
         ,format: 'HH:mm'
     });
     laydate.render({
-        elem: '.onePriceSetting #num22'
+        elem: '.content #num22'
         ,type: 'time'
         ,range: '-'
         ,format: 'HH:mm'
diff --git a/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tCompany/tCompany_info.js b/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tCompany/tCompany_info.js
index eacb3e8..0a4f36c 100644
--- a/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tCompany/tCompany_info.js
+++ b/ManagementOKTravel/guns-admin/src/main/webapp/static/modular/system/tCompany/tCompany_info.js
@@ -186,7 +186,7 @@
     let driverRestriction = $('#driverRestriction').val();
     regexp(driverRestriction, "司机接单限制")
 
-
+    var b = false;
     var content = '{';
     //拼接数据
     $(".content input[type='text']").each(function(){
@@ -269,7 +269,7 @@
     let driverRestriction = $('#driverRestriction').val();
     regexp(driverRestriction, "司机接单限制")
 
-
+    var b = false;
     var content = '{';
     //拼接数据
     $(".content input[type='text']").each(function(){

--
Gitblit v1.7.1