1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4198],{55133:function(e,s,n){"use strict";n.r(s),n.d(s,{default:function(){return p}});var d=n(50029),r=n(87794),i=n.n(r),t=n(11163),l=n.n(t),c=n(34033),a=n(67294),o=n(68511),x=n(55819),h=n(85893);function p(){var e=(0,t.useRouter)(),s=(0,c.V)()._handleGet,n=(0,a.useState)(),r=n[0],p=n[1],u=(0,a.useState)(!1),j=u[0],m=u[1],f=(0,a.useState)(!1),y=f[0],g=f[1];return(0,a.useEffect)((function(){var n=function(){var n=(0,d.Z)(i().mark((function n(){var d;return i().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,m(!0),void 0==e.query.id){n.next=7;break}return n.next=5,s("/order/member/"+e.query.id);case 5:"200"===(null===(d=n.sent)||void 0===d?void 0:d.serverCode)&&(p(d.results),g(!0));case 7:n.next=12;break;case 9:n.prev=9,n.t0=n.catch(0),console.log("\ub370\uc774\ud130 \uc5c6\uc74c");case 12:case"end":return n.stop()}}),n,null,[[0,9]])})));return function(){return n.apply(this,arguments)}}();n().then((function(){return m(!1)}))}),[e.query.id]),y&&(0,h.jsxs)("section",{id:"order",className:"c_ty01",children:[(0,h.jsx)("div",{className:"back",children:(0,h.jsx)("a",{onClick:function(){return l().back()},children:"\ub4a4\ub85c\uac00\uae30"})}),(0,h.jsx)("h3",{className:"line",children:"\uc8fc\ubb38\uc0c1\uc138"}),(0,h.jsxs)("div",{className:"view",children:[(0,h.jsxs)("div",{className:"number",children:[(0,h.jsx)("span",{children:e.query.date}),(0,h.jsxs)("div",{className:"title",children:["\uc8fc\ubb38\ubc88\ud638 ",e.query.id]}),(0,h.jsx)("div",{style:{color:"#333",fontSize:"14px",fontWeight:"400",marginTop:"8px"},children:r.statusName})]}),(0,h.jsxs)("div",{className:"ty_list_01",children:[(0,h.jsx)("div",{className:"title",children:"\uc8fc\ubb38 \uc0c1\ud488"}),(0,h.jsx)("ul",{children:r.items.map((function(s,n){return(0,h.jsxs)("li",{children:[(0,h.jsx)("div",{className:"img_box",onClick:function(){return e.push("/products/".concat(s.productInfo.productId))},style:{cursor:"pointer"},children:(0,h.jsx)("img",{src:s.productInfo.thumbnailImageUrl})}),(0,h.jsxs)("div",{className:"detail_box",children:[(0,h.jsxs)("div",{className:"type",children:[s.productInfo.categoryDepth1Name," \xb7"," ",s.productInfo.wineTypeName]}),(0,h.jsx)("div",{className:"name",children:s.productInfo.name}),(0,h.jsx)("div",{className:"price_wrap",children:(0,h.jsxs)("div",{className:"price",children:[(0,x.gO)(s.salePrice),"\uc6d0",(0,h.jsxs)("span",{className:"qty",children:[s.quantity,"\uac1c"]})]})})]})]},n)}))})]}),"01"==r.orderTypeCode&&(0,h.jsxs)("div",{className:"delivery",children:[(0,h.jsx)("div",{className:"title",children:"\ubc30\uc1a1\uc9c0 \uc815\ubcf4"}),(0,h.jsxs)("dl",{className:"mt",children:[(0,h.jsx)("dt",{children:"\ubc1b\ub294\ubd84"}),(0,h.jsx)("dd",{children:r.name})]}),(0,h.jsxs)("dl",{children:[(0,h.jsx)("dt",{children:"\uc5f0\ub77d\ucc98"}),(0,h.jsx)("dd",{children:r.phone})]}),(0,h.jsxs)("dl",{children:[(0,h.jsx)("dt",{children:"\uc8fc\uc18c"}),(0,h.jsx)("dd",{children:r.address1})]}),(0,h.jsx)("dl",{children:(0,h.jsx)("dd",{style:{marginLeft:"100px"},children:r.address2})}),(0,h.jsxs)("dl",{children:[(0,h.jsx)("dt",{children:"\ubc30\uc1a1\uba54\ubaa8"}),(0,h.jsx)("dd",{children:void 0===r.request||""===r.request?"-":r.request})]})]}),"02"==r.orderTypeCode&&(0,h.jsxs)("div",{className:"delivery",children:[(0,h.jsx)("div",{className:"title",children:"\ud53d\uc5c5 \uc815\ubcf4"}),(0,h.jsxs)("dl",{className:"mt",children:[(0,h.jsx)("dt",{children:"\uc218\ub839\uc778"}),(0,h.jsx)("dd",{children:r.name})]}),(0,h.jsxs)("dl",{children:[(0,h.jsx)("dt",{children:"\ud53d\uc5c5\ub9e4\uc7a5"}),(0,h.jsx)("dd",{style:{textDecorationLine:"underline",color:"#7F24C5",cursor:"pointer"},onClick:function(){return e.push({pathname:"/storeInfo",query:{storeId:r.pickupLocationId}}).then()},children:r.pickupLocationName})]}),(0,h.jsxs)("dl",{children:[(0,h.jsx)("dt",{children:"\ud53d\uc5c5\ub0a0\uc9dc"}),(0,h.jsxs)("dd",{children:[r.pickupDate," \uae4c\uc9c0"]})]})]}),(0,h.jsxs)("div",{className:"payment",children:[(0,h.jsx)("div",{className:"title",children:"\uc8fc\ubb38 \uc815\ubcf4"}),(0,h.jsxs)("dl",{className:"mt",children:[(0,h.jsx)("dt",{style:{color:"#333333"},children:"\ucd1d \uc0c1\ud488\uae08\uc561"}),(0,h.jsxs)("dd",{children:[(0,x.gO)(r.orgTotalPrice),"\uc6d0"]})]}),r.orgTotalPrice-r.totalPayment!=0&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("dl",{style:{marginTop:"10px"},children:[(0,h.jsx)("dt",{style:{color:"#333333"},children:"\ud560\uc778\uae08\uc561"}),(0,h.jsx)("dd",{children:"-".concat((0,x.gO)(r.orgTotalPrice-r.totalPayment),"\uc6d0")})]}),(0,h.jsxs)("dl",{style:{marginTop:"10px"},children:[(0,h.jsx)("dt",{style:{marginLeft:"5px"},children:" \u3134 \uc0c1\ud488 \ud560\uc778"}),(0,h.jsxs)("dd",{style:{fontWeight:"400"},children:[(0,x.gO)(r.discountPrice),"\uc6d0"]})]}),(0,h.jsxs)("dl",{style:{marginTop:"10px"},children:[(0,h.jsx)("dt",{style:{marginLeft:"5px"},children:" \u3134 \ucfe0\ud3f0"}),(0,h.jsxs)("dd",{style:{fontWeight:"400"},children:[(0,x.gO)(r.couponUse),"\uc6d0"]})]}),(0,h.jsxs)("dl",{style:{marginTop:"10px"},children:[(0,h.jsx)("dt",{style:{marginLeft:"5px"},children:" \u3134 \ud3ec\uc778\ud2b8"}),(0,h.jsxs)("dd",{style:{fontWeight:"400"},children:[(0,x.gO)(r.pointUse),"\uc6d0"]})]})]}),"01"==r.orderTypeCode&&(0,h.jsxs)("dl",{style:{marginTop:"10px"},children:[(0,h.jsx)("dt",{style:{color:"#333333"},children:"\ubc30\uc1a1\ube44"}),(0,h.jsx)("dd",{children:"0"==r.shippingPrice?"\ubb34\ub8cc":(0,x.gO)(r.shippingPrice)+"\uc6d0"})]}),(0,h.jsxs)("dl",{style:{marginTop:"35px"},children:[(0,h.jsx)("dt",{style:{fontWeight:"700px",fontSize:"16px",color:"#333"},children:"\ucd1d \uc8fc\ubb38\uae08\uc561"}),(0,h.jsxs)("dd",{style:{fontWeight:"700px",fontSize:"16px",color:"#FF0045"},children:[(0,x.gO)(r.totalPayment),"\uc6d0"]})]})]}),(0,h.jsx)("div",{style:{padding:"25px 15px"},children:(0,h.jsxs)("dl",{className:"mt",children:[(0,h.jsx)("dt",{style:{fontWeight:"500px",fontSize:"14px",color:"#7F7F7F",float:"left"},children:"\uc8fc\ubb38\ubc29\ubc95"}),(0,h.jsx)("dd",{style:{fontWeight:"500px",fontSize:"14px",color:"#333333",float:"right"},children:"04"==r.paymentTypeCode?"\uc628\ub77c\uc778 \uacb0\uc81c \uc218\ub2e8":"\uc815\uae30\uad6c\ub3c5 \uacb0\uc81c \uc218\ub2e8"})]})})]}),j?(0,h.jsx)(o.default,{}):null]})}},17963:function(e,s,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mypage/orders/[id]",function(){return n(55133)}])}},function(e){e.O(0,[296,8511,9774,2888,179],(function(){return s=17963,e(e.s=s);var s}));var s=e.O();_N_E=s}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.