"use strict";var e=require("../common/vendor.js"),c=require("../api/storeOrder.js");require("../common/request.js");const p={data(){return{orderId:null,deliverySn:null,express:{},expressList:[]}},onLoad(s){this.orderId=s.orderId,this.getExpress()},methods:{getExpress(){var s={orderId:this.orderId};c.getExpress(s).then(i=>{i.code==200?(this.express=i.express,this.expressList=i.data,this.deliverySn=i.deliverySn):e.index.showToast({icon:"none",title:"\u8BF7\u6C42\u5931\u8D25"})})},back(){e.index.navigateBack()},copyOrderSn(s){e.index.setClipboardData({data:s,success:()=>{e.index.showToast({title:"\u5185\u5BB9\u5DF2\u6210\u529F\u590D\u5236\u5230\u526A\u5207\u677F",icon:"none"})}})},callPhone(s){e.index.makePhoneCall({phoneNumber:s})}}};function l(s,i,a,x,r,t){return e.e({a:e.t(r.deliverySn),b:e.o(n=>t.copyOrderSn(r.deliverySn)),c:r.expressList!=null},r.expressList!=null?{d:e.t(r.expressList.shipperName)}:{},{e:r.expressList!=null},r.expressList!=null?e.e({f:r.expressList.Traces!=null},r.expressList.Traces!=null?{g:e.f(r.expressList.Traces,(n,o,u)=>({a:e.t(n.AcceptStation),b:e.t(n.AcceptTime),c:o}))}:{}):{})}var d=e._export_sfc(p,[["render",l],["__file","E:/Project/2023/\u95EE\u8BCA\u5E73\u53F0/his_user_miniapp/pages_order/storeOrderDelivery.vue"]]);wx.createPage(d);
