From dc0579496b9c858806a606523397cd43ee6217ba Mon Sep 17 00:00:00 2001
From: wzp <2040239371@qq.com>
Date: 星期二, 06 五月 2025 11:42:42 +0800
Subject: [PATCH] feat: 新增回调记录表和优化订单记录表

---
 ruoyi-ui/src/views/system/payInfoTest/index.vue |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/ruoyi-ui/src/views/system/payInfoTest/index.vue b/ruoyi-ui/src/views/system/payInfoTest/index.vue
index 8bbcb4d..1ff528c 100644
--- a/ruoyi-ui/src/views/system/payInfoTest/index.vue
+++ b/ruoyi-ui/src/views/system/payInfoTest/index.vue
@@ -23,6 +23,9 @@
           <el-descriptions-item label="浜ゆ槗娴佹按鍙�">
             {{ transactionNo }}
           </el-descriptions-item>
+          <el-descriptions-item label="鏀粯鏂瑰紡">
+            {{ payType }}
+          </el-descriptions-item>
         </el-descriptions>
       </el-card>
     </div>
@@ -38,7 +41,8 @@
       errorMessage: '',
       payAmount: '',
       orderNo: '',
-      transactionNo: ''
+      transactionNo: '',
+      payType: ''
     }
   },
   created() {
@@ -48,20 +52,16 @@
     initData() {
       // 浠嶶RL鍙傛暟涓幏鍙栨暟鎹�
       const query = this.$route.query;
-      if (!query.payAmount || !query.orderNo || !query.transactionNo) {
-        this.errorMessage = '缂哄皯蹇呰鐨勫弬鏁颁俊鎭�';
-        return;
-      }
-
-      // 璁剧疆鏁版嵁
-      this.payAmount = query.payAmount;
-      this.orderNo = query.orderNo;
-      this.transactionNo = query.transactionNo;
-
-      // 妯℃嫙鍔犺浇寤惰繜
-      setTimeout(() => {
-        this.validated = true;
-      }, 500);
+      
+      // 璁剧疆鏁版嵁锛屼娇鐢ㄧ┖瀛楃涓蹭綔涓洪粯璁ゅ��
+      this.payAmount = query.PayMoney || '0';
+      this.orderNo = query.ServiceOrdID || '--';
+      this.transactionNo = query.DispatchOrdID || '--';
+      this.payType = query.payType === '寰俊' ? '寰俊' : 
+                     query.payType === '鏀粯瀹�' ? '鏀粯瀹�' : '--';
+      
+      // 鐩存帴鏄剧ず鏁版嵁锛屼笉鍋氬繀濉牎楠�
+      this.validated = true;
     }
   }
 }

--
Gitblit v1.9.1