chunk-077ec24e.82579faa.js 14 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-077ec24e"],{"0f39":function(t,r,n){"use strict";n.r(r);var e=function(){var t=this,r=t.$createElement,n=t._self._c||r;return n("div",{staticClass:"order-bgc"},t._l(t.orderData,(function(r,e){return n("div",{key:e,staticClass:"putSupplier"},[n("div",{staticClass:"header acea-row row-between-wrapper"},[n("div",{staticClass:"left acea-row row-middle"},[n("div",{staticClass:"picture",attrs:{id:"qrCodeUrl"+e}}),t._v(" "),n("div",{staticClass:"info"},[n("div",[n("span",{staticClass:"name"},[t._v("收货人:")]),t._v(t._s(r.real_name))]),t._v(" "),n("div",[n("span",{staticClass:"name"},[t._v("收货地址:")]),t._v(t._s(r.user_address))]),t._v(" "),n("div",[n("span",{staticClass:"name"},[t._v("手机号:")]),n("span",[t._v(t._s(r.user_phone))])])])]),t._v(" "),n("div",{staticClass:"info"},[n("div",[n("span",{staticClass:"name"},[t._v("订单编号:")]),t._v(t._s(r.order_sn))]),t._v(" "),n("div",[n("span",{staticClass:"name"},[t._v("支付时间:")]),t._v(t._s(r.pay_time))]),t._v(" "),n("div",[n("span",{staticClass:"name"},[t._v("支付方式:")]),t._v(t._s(t._f("orderPayType")(r.pay_type)))])])]),t._v(" "),n("div",{staticClass:"mt20"},[n("el-table",{attrs:{border:"",size:"small",data:r.orderProduct,"disabled-hover":!0}},[n("el-table-column",{attrs:{label:"商品编号",align:"center"},scopedSlots:t._u([{key:"default",fn:function(r){return[n("span",{staticClass:"nickname"},[t._v(t._s(r.$index+1)+" ")])]}}],null,!0)}),t._v(" "),n("el-table-column",{attrs:{label:"商品名称"},scopedSlots:t._u([{key:"default",fn:function(r){return[n("span",{staticClass:"nickname line2"},[t._v(t._s(r.row.cart_info&&r.row.cart_info.product.store_name)+" ")])]}}],null,!0)}),t._v(" "),n("el-table-column",{attrs:{label:"商品规格"},scopedSlots:t._u([{key:"default",fn:function(r){return[n("span",{staticClass:"nickname"},[t._v(t._s(r.row.cart_info.productAttr.sku)+" ")])]}}],null,!0)}),t._v(" "),n("el-table-column",{attrs:{label:"规格编码"},scopedSlots:t._u([{key:"default",fn:function(r){return[n("span",{staticClass:"nickname"},[t._v(t._s(r.row.cart_info&&r.row.cart_info.productAttr.bar_code)+" ")])]}}],null,!0)}),t._v(" "),n("el-table-column",{attrs:{label:"条形码"},scopedSlots:t._u([{key:"default",fn:function(r){return[n("span",{staticClass:"nickname"},[t._v(t._s(r.row.cart_info&&r.row.cart_info.productAttr.bar_code_number))])]}}],null,!0)}),t._v(" "),n("el-table-column",{attrs:{label:"数量"},scopedSlots:t._u([{key:"default",fn:function(r){return[n("span",{staticClass:"nickname"},[t._v(t._s(r.row.product_num)+" ")])]}}],null,!0)}),t._v(" "),n("el-table-column",{attrs:{label:"金额"},scopedSlots:t._u([{key:"default",fn:function(r){return[n("span",{staticClass:"nickname"},[t._v(t._s(r.row.total_price))])]}}],null,!0)})],1)],1),t._v(" "),n("div",{staticClass:"bottom acea-row row-between-wrapper"},[n("div",{staticClass:"acea-row row-middle"},[n("div",{staticClass:"item"},[n("span",{staticClass:"name"},[t._v("运费:")]),t._v(t._s(r.pay_postage))]),t._v(" "),n("div",{staticClass:"item"},[n("span",{staticClass:"name"},[t._v("平台优惠:")]),t._v(t._s(r.platform_coupon_price))]),t._v(" "),n("div",{staticClass:"item"},[n("span",{staticClass:"name"},[t._v("商户优惠:")]),t._v(t._s(r.coupon_price))]),t._v(" "),n("div",{staticClass:"item"},[n("span",{staticClass:"name"},[t._v("付费会员优惠:")]),t._v(t._s(r.svip_discount))]),t._v(" "),n("div",{staticClass:"item"},[n("span",{staticClass:"name"},[t._v("积分抵扣:")]),t._v(t._s(r.integral_price))])]),t._v(" "),n("div",[n("div",{staticClass:"pricePay"},[t._v("合计应付:"+t._s((Number(r.total_price)+Number(r.pay_postage)).toFixed(2)))]),t._v(" "),n("div",{staticClass:"pricePay"},[t._v("合计优惠:-"+t._s((parseFloat(r.platform_coupon_price)+parseFloat(r.coupon_price)+parseFloat(r.integral_price)+parseFloat(r.svip_discount)).toFixed(2)))]),t._v(" "),n("div",{staticClass:"pricePay"},[t._v("实付金额:"+t._s(r.pay_price))])])]),t._v(" "),n("div",{staticClass:"bottom acea-row"},[n("div",{staticClass:"name"},[t._v("\n 用户备注:"),n("span",{staticClass:"con"},[t._v(t._s(r.mark||"-"))])])]),t._v(" "),n("div",{staticClass:"bottom acea-row row-center-wrapper"},[n("div",[t._v("\n 店铺名称:"),n("span",{staticClass:"con"},[t._v(t._s(r.merchant.mer_name||"-"))])]),t._v(" "),n("div",{staticClass:"ml20"},[t._v("\n 地址:"),n("span",{staticClass:"con"},[t._v(t._s(r.merchant.mer_address||"-"))])]),t._v(" "),n("div",{staticClass:"ml20"},[t._v("\n 联系方式:"),n("span",{staticClass:"con"},[t._v(t._s(r.merchant.mer_phone||"-"))])])])])})),0)},o=[],a=(n("ac6a"),n("f8b7")),u=n("d044"),c=n.n(u),s=n("bbcc"),i={data:function(){return{orderData:[],BaseURL:s["a"].httpUrl||"http://localhost:8080",newArrayData:[]}},created:function(){this.getDistribution()},mounted:function(){},methods:{creatQrCode:function(){var t=this;this.orderData.forEach((function(r,n){var e=document.getElementById("qrCodeUrl"+n);new c.a(e,{text:t.BaseURL+"/pages/store/home/index?id="+r.mer_id,width:90,height:90,colorDark:"#000000",colorLight:"#ffffff",correctLevel:c.a.CorrectLevel.H})}))},getDistribution:function(){var t=this,r=this.$route.query.id;Object(a["m"])({ids:r}).then((function(r){t.orderData=r.data,setTimeout((function(){t.creatQrCode()}),200)})).catch((function(r){t.$message.error(r.message)}))}}},d=i,f=(n("db95"),n("2877")),l=Object(f["a"])(d,e,o,!1,null,"5b9f9c44",null);r["default"]=l.exports},db95:function(t,r,n){"use strict";n("e5c0")},e5c0:function(t,r,n){},f8b7:function(t,r,n){"use strict";n.d(r,"hb",(function(){return o})),n.d(r,"d",(function(){return a})),n.d(r,"c",(function(){return u})),n.d(r,"rb",(function(){return c})),n.d(r,"db",(function(){return s})),n.d(r,"eb",(function(){return i})),n.d(r,"fb",(function(){return d})),n.d(r,"sb",(function(){return f})),n.d(r,"pb",(function(){return l})),n.d(r,"qb",(function(){return p})),n.d(r,"tb",(function(){return _})),n.d(r,"v",(function(){return v})),n.d(r,"ib",(function(){return b})),n.d(r,"ob",(function(){return m})),n.d(r,"cb",(function(){return g})),n.d(r,"mb",(function(){return h})),n.d(r,"Ab",(function(){return C})),n.d(r,"yb",(function(){return y})),n.d(r,"Db",(function(){return w})),n.d(r,"Cb",(function(){return k})),n.d(r,"Bb",(function(){return x})),n.d(r,"xb",(function(){return D})),n.d(r,"f",(function(){return L})),n.d(r,"z",(function(){return S})),n.d(r,"zb",(function(){return P})),n.d(r,"r",(function(){return A})),n.d(r,"q",(function(){return F})),n.d(r,"p",(function(){return U})),n.d(r,"n",(function(){return B})),n.d(r,"R",(function(){return q})),n.d(r,"H",(function(){return E})),n.d(r,"gb",(function(){return j})),n.d(r,"Hb",(function(){return I})),n.d(r,"Ib",(function(){return J})),n.d(r,"Gb",(function(){return Q})),n.d(r,"L",(function(){return T})),n.d(r,"K",(function(){return $})),n.d(r,"I",(function(){return z})),n.d(r,"J",(function(){return H})),n.d(r,"M",(function(){return N})),n.d(r,"l",(function(){return O})),n.d(r,"j",(function(){return R})),n.d(r,"k",(function(){return G})),n.d(r,"wb",(function(){return M})),n.d(r,"t",(function(){return V})),n.d(r,"s",(function(){return K})),n.d(r,"b",(function(){return W})),n.d(r,"y",(function(){return X})),n.d(r,"F",(function(){return Y})),n.d(r,"x",(function(){return Z})),n.d(r,"h",(function(){return tt})),n.d(r,"g",(function(){return rt})),n.d(r,"vb",(function(){return nt})),n.d(r,"ub",(function(){return et})),n.d(r,"E",(function(){return ot})),n.d(r,"D",(function(){return at})),n.d(r,"Eb",(function(){return ut})),n.d(r,"e",(function(){return ct})),n.d(r,"O",(function(){return st})),n.d(r,"i",(function(){return it})),n.d(r,"nb",(function(){return dt})),n.d(r,"N",(function(){return ft})),n.d(r,"m",(function(){return lt})),n.d(r,"w",(function(){return pt})),n.d(r,"Jb",(function(){return _t})),n.d(r,"u",(function(){return vt})),n.d(r,"B",(function(){return bt})),n.d(r,"A",(function(){return mt})),n.d(r,"Fb",(function(){return gt})),n.d(r,"a",(function(){return ht})),n.d(r,"Q",(function(){return Ct})),n.d(r,"P",(function(){return yt})),n.d(r,"W",(function(){return wt})),n.d(r,"S",(function(){return kt})),n.d(r,"T",(function(){return xt})),n.d(r,"V",(function(){return Dt})),n.d(r,"U",(function(){return Lt})),n.d(r,"X",(function(){return St})),n.d(r,"Y",(function(){return Pt})),n.d(r,"ab",(function(){return At})),n.d(r,"kb",(function(){return Ft})),n.d(r,"bb",(function(){return Ut})),n.d(r,"jb",(function(){return Bt})),n.d(r,"lb",(function(){return qt})),n.d(r,"Z",(function(){return Et})),n.d(r,"G",(function(){return jt})),n.d(r,"C",(function(){return It})),n.d(r,"o",(function(){return Jt}));var e=n("0c6d");function o(t){return e["a"].get("store/order/lst",t)}function a(){return e["a"].get("store/order/chart")}function u(t){return e["a"].get("store/order/title",t)}function c(t,r){return e["a"].post("store/order/update/".concat(t),r)}function s(t,r){return e["a"].post("store/order/delivery/".concat(t),r)}function i(t){return e["a"].get("store/order/detail/".concat(t))}function d(t,r){return e["a"].post("store/order/reservation/dispatch/".concat(t),r)}function f(t,r){return e["a"].post("store/order/reservation/updateDispatch/".concat(t),r)}function l(t,r){return e["a"].post("store/order/reservation/reschedule/".concat(t),r)}function p(t){return e["a"].post("store/order/reservation/verify/".concat(t))}function _(t,r){return e["a"].get("store/reservation/product/showMonth/".concat(t),r)}function v(t){return e["a"].get("store/order/children/".concat(t))}function b(t,r){return e["a"].get("store/order/log/".concat(t),r)}function m(t){return e["a"].get("store/order/remark/".concat(t,"/form"))}function g(t){return e["a"].post("store/order/delete/".concat(t))}function h(t){return e["a"].get("store/order/printer/".concat(t))}function C(t){return e["a"].get("store/refundorder/lst",t)}function y(t){return e["a"].get("store/refundorder/detail/".concat(t))}function w(t){return e["a"].get("store/refundorder/status/".concat(t,"/form"))}function k(t){return e["a"].get("store/refundorder/mark/".concat(t,"/form"))}function x(t,r){return e["a"].get("store/refundorder/log/".concat(t),r)}function D(t){return e["a"].get("store/refundorder/delete/".concat(t))}function L(t,r){return e["a"].post("store/refundorder/refund/".concat(t),r)}function S(t){return e["a"].get("store/order/express/".concat(t))}function P(t){return e["a"].get("store/refundorder/express/".concat(t))}function A(t){return e["a"].get("store/order/excel",t)}function F(t){return e["a"].get("store/order/delivery_export",t)}function U(t){return e["a"].get("excel/lst",t)}function B(t){return e["a"].get("excel/download/".concat(t))}function q(t){return e["a"].get("store/order/verify/".concat(t))}function E(t,r){return e["a"].post("store/order/verify/".concat(t),r)}function j(){return e["a"].get("store/order/filtter")}function I(){return e["a"].get("store/order/takechart")}function J(t){return e["a"].get("store/order/takelst",t)}function Q(t){return e["a"].get("store/order/take_title",t)}function T(t){return e["a"].get("store/receipt/lst",t)}function $(t){return e["a"].get("store/receipt/set_recipt",t)}function z(t){return e["a"].post("store/receipt/save_recipt",t)}function H(t){return e["a"].get("store/receipt/detail/".concat(t))}function N(t,r){return e["a"].post("store/receipt/update/".concat(t),r)}function O(t){return e["a"].get("store/import/lst",t)}function R(t,r){return e["a"].get("store/import/detail/".concat(t),r)}function G(t,r){return e["a"].get("store/import/excel/".concat(t),r)}function M(t){return e["a"].get("store/refundorder/excel",t)}function V(){return e["a"].get("expr/options")}function K(t){return e["a"].get("expr/temps",t)}function W(t){return e["a"].post("store/order/delivery_batch",t)}function X(){return e["a"].get("serve/config")}function Y(){return e["a"].get("delivery/station/select")}function Z(){return e["a"].get("delivery/station/options")}function tt(t){return e["a"].get("delivery/order/lst",t)}function rt(t){return e["a"].get("delivery/order/cancel/".concat(t,"/form"))}function nt(t){return e["a"].get("delivery/station/payLst",t)}function et(t){return e["a"].get("delivery/station/code",t)}function ot(t){return e["a"].get("store/refundorder/check/".concat(t))}function at(){return e["a"].get("store/refundorder/refund_message")}function ut(t){return e["a"].post("store/refundorder/create",t)}function ct(t){return e["a"].post("store/refundorder/compute",t)}function st(t){return e["a"].post("/store/order/offline/".concat(t))}function it(){return e["a"].get("delivery/service/options")}function dt(t){return e["a"].post("store/order/repeat_dump/".concat(t))}function ft(t){return e["a"].get("store/order/collectCargo/".concat(t,"/form"))}function lt(t){return e["a"].get("store/order/note",t)}function pt(t){return e["a"].get("v2/system/city/lst/".concat(t))}function _t(t){return e["a"].post("store/behalf/orderVerify",t)}function vt(){return e["a"].get("store/behalf/productCategory")}function bt(t){return e["a"].get("store/behalf/productList",t)}function mt(t){return e["a"].get("store/behalf/productDetail/".concat(t))}function gt(t){return e["a"].get("store/behalf/userQuery",t)}function ht(t){return e["a"].post("store/behalf/userCreate",t)}function Ct(t){return e["a"].get("store/behalf/userAddressList",t)}function yt(t){return e["a"].post("store/behalf/userAddressCreate",t)}function wt(t){return e["a"].get("store/behalf/cartList",t)}function kt(t){return e["a"].post("store/behalf/cartCreate",t)}function xt(t,r){return e["a"].post("store/behalf/cartChange/".concat(t),r)}function Dt(t){return e["a"].delete("store/behalf/cartDelete/".concat(t))}function Lt(t){return e["a"].post("store/behalf/cartClear",t)}function St(t){return e["a"].get("store/behalf/cartCount",t)}function Pt(t,r){return e["a"].post("store/behalf/cartUpdatePrice/".concat(t),r)}function At(t){return e["a"].post("store/behalf/orderCheck",t)}function Ft(t){return e["a"].post("store/behalf/payConfig",t)}function Ut(t){return e["a"].post("store/behalf/orderCreate",t)}function Bt(t,r){return e["a"].post("store/behalf/orderPay/".concat(t),r)}function qt(t,r){return e["a"].post("store/behalf/payStatus/".concat(t),r)}function Et(t){return e["a"].post("store/behalf/cartBatchUpdatePrice",t)}function jt(t){return e["a"].get("store/behalf/userInfo",t)}function It(t){return e["a"].get("reservation/service/list",t)}function Jt(t,r){return e["a"].post("store/order/reservation/reservationTime/".concat(t),r)}}}]);