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