From e809f5955584e600d8612540ea814977c49774c2 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期三, 27 八月 2025 23:51:54 +0800
Subject: [PATCH] 修改bug

---
 ManagementQYTTravel/guns-admin/src/main/webapp/static/modular/system/tOrderPrivateCar/tOrderPrivateCar.js |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/ManagementQYTTravel/guns-admin/src/main/webapp/static/modular/system/tOrderPrivateCar/tOrderPrivateCar.js b/ManagementQYTTravel/guns-admin/src/main/webapp/static/modular/system/tOrderPrivateCar/tOrderPrivateCar.js
index 1af00d7..db9a017 100644
--- a/ManagementQYTTravel/guns-admin/src/main/webapp/static/modular/system/tOrderPrivateCar/tOrderPrivateCar.js
+++ b/ManagementQYTTravel/guns-admin/src/main/webapp/static/modular/system/tOrderPrivateCar/tOrderPrivateCar.js
@@ -226,6 +226,21 @@
                 return btn;
             }
         },
+        {title: '支付方式', field: 'payType', visible: true, align: 'center', valign: 'middle',
+            formatter: function (value, row) {
+                var btn = "";
+                if(row.payType != '' && row.payType != null) {
+                    if (row.payType == 1){
+                        btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="微信" onfocus="TUser.tooltip()">微信</p>']
+                    } else if (row.payType == 3){
+                        btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="余额" onfocus="TUser.tooltip()">余额</p>']
+                    } else if (row.payType == 5){
+                        btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="备付金" onfocus="TUser.tooltip()">备付金</p>']
+                    }
+                }
+                return btn;
+            }
+        },
         {title: '是否异常订单', field: 'abnormal', visible: true, align: 'center', valign: 'middle',
             formatter: function (value, row) {
                 return {1:"否",2:"是"}[value];
@@ -407,6 +422,7 @@
     queryData['promotionUser'] = $("#promotionUser").val();
     queryData['abnormal'] = $("#abnormal").val();
     queryData['promotion'] = $("#promotion").val();
+    queryData['payType'] = $("#payType").val();
     TOrderPrivateCar.table.refresh({query: queryData});
 };
 
@@ -428,6 +444,7 @@
     let promotionUser = $('#promotionUser').val();
     let abnormal = $('#abnormal').val();
     let promotion = $('#promotion').val();
+    let payType = $('#payType').val();
     if(null != insertTime && '' != insertTime){
         p += "insertTime=" + insertTime + "&";
     }
@@ -470,6 +487,9 @@
     if(null != promotion && '' != promotion){
         p += "promotion=" + promotion + "&" ;
     }
+    if(null != payType && '' != payType){
+        p += "payType=" + payType + "&" ;
+    }
     if('' != p){
         p = "?" + p.substring(0, p.length - 1);
     }
@@ -493,6 +513,7 @@
     $("#promotionUser").val("");
     $("#abnormal").val("");
     $("#promotion").val("");
+    $("#payType").val("");
     TOrderPrivateCar.search();
 };
 

--
Gitblit v1.7.1