From 34044707d97b6396325c7fc4cac8d889fae96f85 Mon Sep 17 00:00:00 2001
From: wanglizhong <wlz>
Date: 星期六, 10 五月 2025 21:34:53 +0800
Subject: [PATCH] fix:修复map加载显示问题

---
 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