chunk-6c5ee98a.30c443a0.js 7.7 KB

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