CRMEB/crmeb/public/admin/system_static/js/chunk-c08b6cfc.1fe283ee.js
2023-09-19 17:39:39 +08:00

1 line
7.5 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-c08b6cfc"],{"9b07":function(e,t,s){"use strict";var a=s("b307");s.n(a).a},afa3:function(e,t,s){e.exports=s.p+"system_static/img/line.05bf1c84.jpg"},b307:function(e,t,s){},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("42e3"),i=(r=(s("61f7"),s("69ae"),{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()},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},copyText:function(e){var t=this;this.$copyText(e).then((function(e){t.$message.success("复制成功")})).catch((function(e){t.$message.error("复制失败")}))},getIndex:function(){var e=this;Object(o.u)(this.$route.params.id).then((function(t){e.orderInfo=t.data.orderInfo,e.types=t.data.orderInfo._status._type,e.title=t.data.orderInfo._status._title}),(function(t){e.$dialog.error(t.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("9b07"),s("2877"));i=Object(i.a)(r,(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",on:{click:function(t){return e.copyText(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",on:{click:function(t){return e.copyText(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,"4a542ff4",null);t.default=i.exports}}]);