绿满眶商城微信小程序-uniapp
peng
2025-10-11 f1d0c08bbef3ffef0b9bbd0c181d2047c9866a7f
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 {