"use strict";var e=require("../common/vendor.js"),s=require("../api/storeOrder.js");require("../common/request.js");const r={data:()=>({orderId:null,deliverySn:null,express:{},expressList:[]}),onLoad(e){this.orderId=e.orderId,this.getExpress()},methods:{getExpress(){var r={orderId:this.orderId};s.getExpress(r).then((s=>{200==s.code?(this.express=s.express,this.expressList=s.data,this.deliverySn=s.deliverySn):e.index.showToast({icon:"none",title:"请求失败"})}))},back(){e.index.navigateBack()},copyOrderSn(s){e.index.setClipboardData({data:s,success:()=>{e.index.showToast({title:"内容已成功复制到剪切板",icon:"none"})}})},callPhone(s){e.index.makePhoneCall({phoneNumber:s})}}};var t=e._export_sfc(r,[["render",function(s,r,t,n,i,o){return e.e({a:e.t(i.deliverySn),b:e.o((e=>o.copyOrderSn(i.deliverySn))),c:e.t(i.express.name),d:null!=i.expressList},null!=i.expressList?e.e({e:null!=i.expressList.Traces},null!=i.expressList.Traces?{f:e.f(i.expressList.Traces,((s,r,t)=>({a:e.t(s.AcceptStation),b:e.t(s.AcceptTime),c:r})))}:{}):{})}]]);wx.createPage(t);
