| | |
| | | onLoad(val) { |
| | | this.routerVal = val; |
| | | this.actionParam.pageParams = JSON.stringify(val) |
| | | console.log('获取解密的参数',JSON.stringify(val),decodeURIComponent(this.routerVal.template)) |
| | | //初始化参数 |
| | | // #ifdef APP-PLUS |
| | | this.paymentType = "APP"; |
| | |
| | | parms.sn = this.sn; |
| | | parms.orderType = this.orderType; |
| | | parms.clientType = this.paymentType; |
| | | |
| | | if(!this.routerVal.template){ |
| | | const template = decodeURIComponent(this.routerVal.template) |
| | | parms.templateId = template.templateId; |
| | | parms.templateName = template.templateName; |
| | | parms.chooseImage = template.chooseImage; |
| | | parms.templateForm = template.templateForm; |
| | | } |
| | | API_Trade.getCashierData(parms).then((res) => { |
| | | |
| | | if(res.data.success){ |
| | | this.cashierParams = res.data.result; |
| | | |
| | | console.log('获取订单信息------------------>',this.cashierParams.orderSns) |
| | | // #ifdef MP-WEIXIN |
| | | this.payList = res.data.result.support.filter((item) => { |
| | | return item != "ALIPAY"; |