"use strict";var e=require("../common/vendor.js"),r=require("../api/inquiryOrder.js");require("../common/request.js");const d={data:()=>({order:null}),onLoad(r){e.index.setNavigationBarTitle({title:"支付结果"}),this.orderId=r.orderId,this.getInquiryOrderById()},methods:{getInquiryOrderById(){var d={orderId:this.orderId},o=this;e.index.showLoading(),r.getInquiryOrderById(d).then((r=>{e.index.hideLoading(),200==r.code?o.order=r.data:e.index.showToast({icon:"none",title:r.msg})}),(e=>{}))},copyTest(r){e.index.setClipboardData({data:r,success:()=>{e.index.showToast({title:"内容已成功复制到剪切板",icon:"none"})}})},showOrderDetails(r){e.index.redirectTo({url:"./inquiryOrderDetails?orderId="+r})}}};var o=e._export_sfc(d,[["render",function(r,d,o,t,i,n){return{a:e.o((e=>n.showOrderDetails(i.order.orderId))),b:e.t(i.order.orderSn),c:e.o((e=>n.copyTest(i.order.orderSn))),d:e.t(i.order.money.toFixed(2)),e:e.t(i.order.discountMoney.toFixed(2)),f:e.t(i.order.payMoney.toFixed(2)),g:e.t(i.order.createTime)}}]]);wx.createPage(o);
