mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-01-24 20:18:11 +00:00
1 line
7.6 KiB
JavaScript
1 line
7.6 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-83d2a766"],{3958:function(e,t,s){"use strict";var a=s("496e");s.n(a).a},"496e":function(e,t,s){},afa3:function(e,t,s){e.exports=s.p+"img/line.05bf1c84.jpg"},f23d:function(e,t,s){"use strict";s.r(t);var a=[function(){var e=this.$createElement;e=this._self._c||e;return e("div",{staticClass:"line"},[e("img",{attrs:{src:s("afa3")}})])}],r=s("8c8a"),o=s("b311"),i=s.n(o),n=s("42e3");s("61f7"),s("69ae"),o={name:"AdminOrder",components:{PriceChange:r.a},props:{},data:function(){return{order:!1,change:!1,orderId:"",orderInfo:{},status:0,title:"",payType:"",types:""}},watch:{"$route.params.id":function(e){null!=e&&(this.orderId=e,this.getIndex())}},mounted:function(){this.getIndex(),this.$nextTick((function(){var e=this,t=document.getElementsByClassName("copy-data");new i.a(t).on("success",(function(){e.$dialog.success("复制成功")}))}))},methods:{more:function(){this.order=!this.order},modify:function(e){this.change=!0,this.status=e},changeclose:function(e){this.change=e,this.getIndex()},closeChange:function(e){this.change=e},getIndex:function(){var e=this,t=this;Object(n.u)(this.$route.params.id).then((function(s){t.orderInfo=s.data.orderInfo,t.types=s.data.orderInfo._status._type,t.title=s.data.orderInfo._status._title,e.$nextTick((function(){var e=this,t=document.getElementsByClassName("copy-data");new i.a(t).on("success",(function(){e.$dialog.success("复制成功")}))}))}),(function(e){t.$dialog.error(e.msg)}))},offlinePay:function(){var e=this;setOfflinePay({orderId:this.orderInfo.orderId}).then((function(t){e.$dialog.success(t.msg),e.getIndex()}),(function(t){e.$dialog.error(t.msg)}))}}},s("3958"),r=s("2877"),r=Object(r.a)(o,(function(){var e=this,t=e.$createElement,s=e._self._c||t;return e.orderInfo?s("div",{staticClass:"order-details pos-order-details"},[s("div",{staticClass:"header acea-row row-middle"},[s("div",{staticClass:"state"},[e._v(e._s(e.title))]),s("div",{staticClass:"data"},[s("div",{staticClass:"order-num"},[e._v("订单:"+e._s(e.orderInfo.order_id))]),s("div",[s("span",{staticClass:"time"},[e._v(e._s(e.orderInfo._add_time))])])])]),"looks"!=e.$route.params.goname?s("div",{staticClass:"remarks acea-row"},[s("span",{staticClass:"iconfontYI icon-zhinengkefu- mr10"}),s("span",{staticClass:"line1",staticStyle:{"text-align":"left"},domProps:{textContent:e._s(e.orderInfo.remark||"订单未备注,点击添加备注信息")},on:{click:function(t){return e.modify(1)}}})]):e._e(),s("div",{staticClass:"orderingUser acea-row row-middle"},[s("span",{staticClass:"iconfontYI icon-yonghu2"}),e._v(e._s(e.orderInfo.real_name)+"\n ")]),s("div",{staticClass:"address"},[s("div",{staticClass:"name"},[e._v("\n "+e._s(e.orderInfo.real_name)),s("span",{staticClass:"phone"},[e._v(e._s(e.orderInfo.user_phone))])]),s("div",[e._v(e._s(e.orderInfo.user_address))])]),e._m(0),s("div",{staticClass:"pos-order-goods"},e._l(e.orderInfo.cartInfo,(function(t,a){return s("div",{key:a,staticClass:"goods acea-row row-between-wrapper"},[s("div",{staticClass:"picTxt acea-row row-between-wrapper"},[s("div",{staticClass:"pictrue"},[s("img",{attrs:{src:t.productInfo.image}})]),s("div",{staticClass:"text"},[s("div",{staticClass:"info line2"},[e._v("\n "+e._s(t.productInfo.store_name)+"\n ")]),s("div",{staticClass:"attr"},[e._v(e._s(t.productInfo.attrInfo.suk))])])]),s("div",{staticClass:"money"},[s("div",{staticClass:"x-money"},[e._v("¥"+e._s(t.productInfo.attrInfo.price))]),s("div",{staticClass:"num"},[e._v("x"+e._s(t.cart_num))]),s("div",{staticClass:"y-money"},[e._v("¥"+e._s(t.productInfo.ot_price))])])])})),0),s("div",{staticClass:"public-total"},[e._v("\n 共"+e._s(e.orderInfo.cart_num)+"件商品,应支付 "),s("span",{staticClass:"money"},[e._v("¥"+e._s(e.orderInfo.pay_price))]),e._v(" ( 邮费 ¥"+e._s(e.orderInfo.pay_postage)+"\n )\n ")]),s("div",{staticClass:"wrapper"},[s("div",{staticClass:"item acea-row row-between"},[s("div",[e._v("订单编号:")]),s("div",{staticClass:"conter acea-row row-middle row-right"},[e._v("\n "+e._s(e.orderInfo.order_id)+"\n "),s("span",{staticClass:"copy copy-data",attrs:{"data-clipboard-text":e.orderInfo.order_id}},[e._v("复制")])])]),s("div",{staticClass:"item acea-row row-between"},[s("div",[e._v("支付时间:")]),s("div",{staticClass:"conter"},[e._v(e._s(e.orderInfo._pay_time))])]),s("div",{staticClass:"item acea-row row-between"},[s("div",[e._v("支付状态:")]),s("div",{staticClass:"conter"},[e._v("\n "+e._s(e.title)+"\n ")])]),s("div",{staticClass:"item acea-row row-between"},[s("div",[e._v("支付方式:")]),s("div",{staticClass:"conter"},[e._v("\n "+e._s(e.orderInfo._status?e.orderInfo._status._payType:"")+"\n ")])]),s("div",{staticClass:"item acea-row row-between"},[s("div",[e._v("买家留言:")]),s("div",{staticClass:"conter"},[e._v(e._s(e.orderInfo.mark))])])]),s("div",{staticClass:"wrapper"},[s("div",{staticClass:"item acea-row row-between"},[s("div",[e._v("支付金额:")]),s("div",{staticClass:"conter"},[e._v("¥"+e._s(e.orderInfo.total_price))])]),s("div",{staticClass:"item acea-row row-between"},[s("div",[e._v("优惠券抵扣:")]),s("div",{staticClass:"conter"},[e._v("-¥"+e._s(e.orderInfo.coupon_price))])]),s("div",{staticClass:"item acea-row row-between"},[s("div",[e._v("运费:")]),s("div",{staticClass:"conter"},[e._v("¥"+e._s(e.orderInfo.total_postage))])]),s("div",{staticClass:"actualPay acea-row row-right"},[e._v("\n 实付款:"),s("span",{staticClass:"money font-color-red"},[e._v("¥"+e._s(e.orderInfo.pay_price))])])]),"express"===e.orderInfo.deliveryType?s("div",{staticClass:"wrapper"},[s("div",{staticClass:"item acea-row row-between"},[s("div",[e._v("配送方式:")]),"express"===e.orderInfo.delivery_type?s("div",{staticClass:"conter"},[e._v("快递")]):e._e(),"send"===e.orderInfo.delivery_type?s("div",{staticClass:"conter"},[e._v("送货")]):e._e()]),s("div",{staticClass:"item acea-row row-between"},["express"===e.orderInfo.delivery_type?s("div",[e._v("快递公司:")]):e._e(),"send"===e.orderInfo.delivery_type?s("div",[e._v("送货人:")]):e._e(),s("div",{staticClass:"conter"},[e._v(e._s(e.orderInfo.deliveryName))])]),s("div",{staticClass:"item acea-row row-between"},["express"===e.orderInfo.delivery_type?s("div",[e._v("快递单号:")]):e._e(),"send"===e.orderInfo.delivery_type?s("div",[e._v("送货人电话:")]):e._e(),s("div",{staticClass:"conter"},[e._v("\n "+e._s(e.orderInfo.delivery_id)),s("span",{staticClass:"copy copy-data",attrs:{"data-clipboard-text":e.orderInfo.delivery_id}},[e._v("复制")])])])]):e._e(),s("div",{staticStyle:{height:"1.2rem"}}),"looks"!=e.$route.params.goname?s("div",{staticClass:"footer acea-row row-right row-middle"},[s("div",{staticClass:"more"}),0===e.types?s("div",{staticClass:"bnt cancel",on:{click:function(t){return e.modify(0)}}},[e._v("一键改价")]):e._e(),-1===e.types?s("div",{staticClass:"bnt cancel",on:{click:function(t){return e.modify(0)}}},[e._v("立即退款")]):e._e(),s("div",{staticClass:"bnt cancel",on:{click:function(t){return e.modify(1)}}},[e._v("订单备注")]),"offline"===e.orderInfo.pay_type&&0===e.orderInfo.paid?s("div",{staticClass:"bnt cancel",on:{click:e.offlinePay}},[e._v("\n 确认付款\n ")]):e._e(),1===e.types&&2!==e.orderInfo.shipping_type?s("router-link",{staticClass:"bnt delivery",attrs:{to:"/kefu/orderDelivery/"+e.orderInfo.id+"/"+e.orderInfo.order_id}},[e._v("去发货\n ")]):e._e()],1):e._e(),s("PriceChange",{attrs:{change:e.change,orderInfo:e.orderInfo,status:e.status},on:{closechange:function(t){return e.changeclose(t)},closeChange:function(t){return e.closeChange(t)}}})],1):e._e()}),a,!1,null,"8261ba98",null);t.default=r.exports}}]); |