From f1d0c08bbef3ffef0b9bbd0c181d2047c9866a7f Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期六, 11 十月 2025 14:42:40 +0800
Subject: [PATCH] 定制模板

---
 pages/order/fillorder.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/pages/order/fillorder.vue b/pages/order/fillorder.vue
index 57c7305..1edb5df 100644
--- a/pages/order/fillorder.vue
+++ b/pages/order/fillorder.vue
@@ -405,6 +405,7 @@
   onLoad: function (val) {
     this.routerVal = val;
 	this.actionParam.pageParams = JSON.stringify(val)
+	console.log('鑾峰彇鐨勫弬鏁�-----------銆�',JSON.stringify(decodeURIComponent(this.routerVal.template)))
   },
   components: {
     invoices,
@@ -545,9 +546,9 @@
   async onShow() {
 	  getSessionId().then(res=>{
 	  	this.pageSessionNo = res.data.data
+		this.actionParam.sessionId = this.pageSessionNo
 	  	if(this.pageSessionNo){
 	  	let	param = Object.assign({}, this.actionParam);
-	  		param.sessionId = this.pageSessionNo
 	  		userAction(param)
 	  	}
 	  })	
@@ -746,7 +747,7 @@
               });
             } else {
               this.navigateTo(
-                `/pages/cart/payment/payOrder?trade_sn=${res.data.result.sn}`
+                `/pages/cart/payment/payOrder?trade_sn=${res.data.result.sn}&template=${this.routerVal.template}`
               );
             }
           } else {

--
Gitblit v1.8.0