chunk-fb910906.463e46ce.js 7.4 KB

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