From 8b09fbc19a96b57bf1d0e4d7c79b51a76aeca554 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期五, 28 三月 2025 19:57:56 +0800
Subject: [PATCH] 修改bug

---
 ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/platform/water.js |   34 +++++++++++++++++++---------------
 1 files changed, 19 insertions(+), 15 deletions(-)

diff --git a/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/platform/water.js b/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/platform/water.js
index 33879c8..7674fe9 100644
--- a/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/platform/water.js
+++ b/ManagementIGOTravel/guns-admin/src/main/webapp/static/modular/system/platform/water.js
@@ -21,10 +21,10 @@
 TUser.initColumn = function () {
     return [
         {field: 'selectItem', radio: true},
-        {title: '付款时间', field: 'insertTime', visible: true, align: 'center', valign: 'middle'},
+        {title: '交易时间', field: 'insertTime', visible: true, align: 'center', valign: 'middle'},
         {title: '订单号', field: 'code', visible: true, align: 'center', valign: 'middle'},
-        {title: '支付方', field: 'name', visible: true, align: 'center', valign: 'middle'},
-        {title: '支付方手机号', field: 'phone', visible: true, align: 'center', valign: 'middle',
+        {title: '交易方', field: 'name', visible: true, align: 'center', valign: 'middle'},
+        {title: '交易手机号', field: 'phone', visible: true, align: 'center', valign: 'middle',
         },
         {title: '支付金额', field: 'money', visible: true, align: 'center', valign: 'middle',
             formatter: function (value, row) {
@@ -194,6 +194,7 @@
     ajax.set("time",1);
     ajax.set("insertTime",null);
     ajax.set("state",null);
+    ajax.set("code",null);
     ajax.start();
 }
 // 点击搜索
@@ -214,6 +215,7 @@
     ajax.set("insertTime",$("#insertTime").val());
     ajax.set("type",$("#type").val());
     ajax.set("payType",$("#payType").val());
+    ajax.set("code",$("#code").val());
     ajax.start();
 }
 /**
@@ -225,14 +227,16 @@
     queryData['insertTime'] = $("#insertTime").val();
     queryData['type'] = $("#type").val();
     queryData['payType'] = $("#payType").val();
+    queryData['code'] = $("#code").val();
     TUser.table.refresh({query: queryData});
     TUser.getCount();
 };
 TUser.resetSearch = function () {
-    $("#time").val("");
+    $("#time").val("1");
     $("#insertTime").val("");
     $("#type").val("");
     $("#payType").val("");
+    $("#code").val("");
     TUser.search();
 };
 
@@ -245,12 +249,12 @@
     TUser.table = table.init();
 });
 
-TUser.sendAjaxRequest = function(url,type,data){
+TUser.sendAjaxRequest = function(url,type,data){
     $.ajax({
-        url : url,
-        type : type,
-        data : data,
-        success : function(result) {
+        url : url,
+        type : type,
+        data : data,
+        success : function(result) {
             if(result.code==500) {
                 Feng.info(result.message);
             }else {
@@ -258,18 +262,18 @@
             }
             TUser.table.refresh();
         },
-        error : function() {
+        error : function() {
             Feng.error("excel上传失败!");
         },
-        cache : false,
-        contentType : false,
-        processData : false
+        cache : false,
+        contentType : false,
+        processData : false
     });
 };
 
-var agreement;
+var agreement;
 $(function(){
-    agreement = new agreement();
+    agreement = new agreement();
     agreement.init();
 });
 

--
Gitblit v1.7.1