(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-335d8090"],{"2d28":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticStyle:{"background-color":"#fff"}},t._l(t.newArrayData,(function(e,n){return r("div",{key:n,staticClass:"putSupplier"},[r("div",{staticClass:"header acea-row row-between-wrapper"},[r("div",{staticClass:"left acea-row row-middle"},[r("div",{staticClass:"pictrue",attrs:{id:"qrCodeUrl"+n}}),r("div",{staticClass:"info"},[r("div",[r("span",{staticClass:"name"},[t._v("收货人:")]),t._v(t._s(e.real_name))]),r("div",[r("span",{staticClass:"name"},[t._v("收货地址:")]),t._v(t._s(e.user_address))]),r("div",[r("span",{staticClass:"name"},[t._v("手机号:")]),r("span",[t._v(t._s(e.user_phone))])])])]),r("div",{staticClass:"info"},[r("div",[r("span",{staticClass:"name"},[t._v("订单编号:")]),t._v(t._s(e.order_id))]),r("div",[r("span",{staticClass:"name"},[t._v("支付时间:")]),t._v(t._s(e.pay_time))]),r("div",[r("span",{staticClass:"name"},[t._v("支付方式:")]),t._v(t._s(e.pay_type_name))])])]),r("div",{staticClass:"mt20"},[r("Table",{attrs:{border:"",columns:t.columns,data:e.goodsList,"disabled-hover":!0},scopedSlots:t._u([{key:"store_name",fn:function(e){var n=e.row;return[r("div",{staticClass:"line1"},[t._v(t._s(n.store_name))])]}},{key:"suk",fn:function(e){var n=e.row;return[r("div",{staticClass:"line1"},[t._v(t._s(n.suk))])]}}],null,!0)})],1),r("div",{staticClass:"bottom acea-row row-between-wrapper"},[r("div",{staticClass:"acea-row row-middle"},[r("div",{staticClass:"item"},[r("span",{staticClass:"name"},[t._v("运费:")]),t._v(t._s(e.freight_price))]),r("div",{staticClass:"item"},[r("span",{staticClass:"name"},[t._v("优惠:")]),t._v(t._s(e.coupon_price))]),r("div",{staticClass:"item"},[r("span",{staticClass:"name"},[t._v("会员折扣:")]),t._v(t._s(e.vip_true_price))]),r("div",{staticClass:"item"},[r("span",{staticClass:"name"},[t._v("积分抵扣:")]),t._v(t._s(e.deduction_price))])]),r("div",{staticClass:"pricePay"},[t._v("实付金额:¥"+t._s(e.pay_price))])]),r("div",{staticClass:"bottom acea-row"},[r("div",{staticClass:"name"},[t._v("用户备注:"),r("span",{staticClass:"con"},[t._v(t._s(e.mark||"-"))])])]),r("div",{staticClass:"h50"},[t.data.site_name||t.data.refund_phone||t.data.refund_address?r("div",{staticClass:"delivery"},[t.data.site_name?r("div",[t._v("店铺信息:"+t._s(t.data.site_name))]):t._e(),t.data.refund_address?r("div",[t._v("地址:"+t._s(t.data.refund_address))]):t._e(),t.data.refund_phone?r("div",[t._v("联系方式:"+t._s(t.data.refund_phone))]):t._e()]):t._e()])])})),0)},a=[],i=r("f8b7"),u=r("d044"),c=r.n(u),o=r("d708"),d={data:function(){return{columns:[{title:"商品编号",key:"index",align:"center",width:60},{title:"商品名称",slot:"store_name",align:"center",width:253},{title:"商品规格",slot:"suk",align:"center",width:219},{title:"单价",key:"truePrice",align:"center",width:100},{title:"数量",key:"cart_num",align:"center",width:60},{title:"金额",key:"subtotal",align:"center",width:100}],data:{},goods:[],BaseURL:o["a"].apiBaseURL.replace(/supplierapi/,""),newArrayData:[]}},created:function(){this.getDistribution()},mounted:function(){this.$nextTick((function(){var t=this;setTimeout((function(){t.creatQrCode()}),200)}))},methods:{creatQrCode:function(){var t=this.BaseURL;this.newArrayData.forEach((function(e,r){var n=document.getElementById("qrCodeUrl"+r);new c.a(n,{text:t,width:90,height:90,colorDark:"#000000",colorLight:"#ffffff",correctLevel:c.a.CorrectLevel.H})}))},getDistribution:function(){var t=this;Object(i["g"])(this.$route.query.id).then((function(e){t.data=e.data,t.goods=e.data.list;var r=e.data,n=[];r.list.forEach((function(t,e){for(var r=[],a=t.list,i=Math.ceil(a.length/6),u=0;u