1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2845a654"],{4027:function(t,e,r){"use strict";var n=r("cbe51");r.n(n).a},a6b9:function(t,e,r){"use strict";r.d(e,"J",(function(){return a})),r.d(e,"n",(function(){return i})),r.d(e,"a",(function(){return u})),r.d(e,"y",(function(){return s})),r.d(e,"z",(function(){return c})),r.d(e,"o",(function(){return o})),r.d(e,"h",(function(){return d})),r.d(e,"b",(function(){return p})),r.d(e,"v",(function(){return l})),r.d(e,"c",(function(){return f})),r.d(e,"B",(function(){return _})),r.d(e,"j",(function(){return m})),r.d(e,"l",(function(){return h})),r.d(e,"w",(function(){return v})),r.d(e,"r",(function(){return g})),r.d(e,"s",(function(){return b})),r.d(e,"u",(function(){return w})),r.d(e,"x",(function(){return j})),r.d(e,"K",(function(){return O})),r.d(e,"t",(function(){return C})),r.d(e,"k",(function(){return y})),r.d(e,"m",(function(){return k})),r.d(e,"q",(function(){return x})),r.d(e,"A",(function(){return L})),r.d(e,"g",(function(){return D})),r.d(e,"f",(function(){return E})),r.d(e,"p",(function(){return q})),r.d(e,"i",(function(){return A})),r.d(e,"F",(function(){return B})),r.d(e,"G",(function(){return U})),r.d(e,"I",(function(){return $})),r.d(e,"d",(function(){return R})),r.d(e,"H",(function(){return J})),r.d(e,"e",(function(){return P})),r.d(e,"C",(function(){return T})),r.d(e,"E",(function(){return W})),r.d(e,"L",(function(){return H})),r.d(e,"D",(function(){return I}));var n=r("b6bd");function a(t){return Object(n.a)({url:"supplier/supplier",method:"get",params:t})}function i(t){return Object(n.a)({url:"/supplier/supplier/".concat(t),method:"get"})}function u(t){return Object(n.a)({url:"supplier/supplier",method:"post",data:t})}function s(t,e){return Object(n.a)({url:"supplier/supplier/".concat(t),method:"put",data:e})}function c(t,e){return Object(n.a)({url:"/supplier/supplier/set_status/".concat(t,"/").concat(e),method:"put"})}function o(t){return Object(n.a)({url:"/supplier/list",method:"get",params:t})}function d(t){return Object(n.a)({url:"/supplier/order/list",method:"get",params:t})}function p(t){return Object(n.a)({url:"/supplier/order/deliver_remind/".concat(t.supplier_id,"/").concat(t.id),method:"put"})}function l(t){return Object(n.a)({url:"/supplier/order/info/".concat(t),method:"get"})}function f(t){return Object(n.a)({url:"/supplier/order/distribution_info",method:"get",params:{ids:t}})}function _(t,e){return Object(n.a)({url:"/supplier/order/split_order/"+t,method:"get",params:e})}function m(t){return Object(n.a)({url:"/supplier/order/status/".concat(t.id),method:"get",params:t.datas})}function h(t){return Object(n.a)({url:"/supplier/order/refund/".concat(t),method:"get"})}function v(t){return Object(n.a)({url:"/supplier/refund/list",method:"get",params:t})}function g(t){return Object(n.a)({url:"/supplier/home/header",method:"get",params:t})}function b(t){return Object(n.a)({url:"/supplier/home/order",method:"get",params:t})}function w(t){return Object(n.a)({url:"/supplier/home/order_channel",method:"get",params:t})}function j(t){return Object(n.a)({url:"/supplier/home/order_type",method:"get",params:t})}function O(t){return Object(n.a)({url:"/supplier/supplier/login/".concat(t),method:"get"})}function C(t){return Object(n.a)({url:"/supplier/home/supplier",method:"get",params:t})}function y(t){return Object(n.a)({url:"/supplier/refund/detail/".concat(t),method:"get"})}function k(t){return Object(n.a)({url:"/supplier/refund/refund/".concat(t),method:"get"})}function x(t){return Object(n.a)({url:"/supplier/order/no_refund/".concat(t),method:"get"})}function L(t){return Object(n.a)({url:"/supplier/order/refund_integral/".concat(t),method:"get"})}function D(t){return Object(n.a)({url:"/supplier/order/distribution/".concat(t),method:"get"})}function E(t){return Object(n.a)({url:"/supplier/apply/list",method:"get",params:t})}function q(t){return Object(n.a)({url:"/supplier/apply/verify/form/".concat(t),method:"get"})}function A(t){return Object(n.a)({url:"/supplier/apply/mark/form/".concat(t),method:"get"})}function B(t){return Object(n.a)({url:"/supplier/flowing_water/fund_record_info",method:"get",params:t})}function U(t){return Object(n.a)({url:"/supplier/flowing_water/list",method:"get",params:t})}function $(t,e){return Object(n.a)({url:"/supplier/flowing_water/mark/".concat(t),method:"put",params:e})}function R(t){return Object(n.a)({url:"/export/supplierWaterExport",method:"get",params:t})}function J(t){return Object(n.a)({url:"/supplier/flowing_water/fund_record",method:"get",params:t})}function P(t){return Object(n.a)({url:"/export/supplierWaterRecord",method:"get",params:t})}function T(t){return Object(n.a)({url:"/supplier/extract/list",method:"get",params:t})}function W(t,e){return Object(n.a)({url:"/supplier/extract/verify/".concat(t),method:"post",data:e})}function H(t){return Object(n.a)({url:"/supplier/extract/transfer/".concat(t),method:"get"})}function I(t,e){return Object(n.a)({url:"/supplier/extract/mark/".concat(t),method:"post",data:e})}},be20:function(t,e,r){"use strict";r.r(e);var n=r("a6b9"),a=r("f8b7"),i=r("d044"),u=r.n(i),s=r("d708"),c={data:function(){return{columns:[{title:"商品编号",key:"index",align:"center",width:60},{title:"商品名称",slot:"store_name",align:"center",minWidth: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:s.a.apiBaseURL.replace(/adminapi/,""),newArrayData:[],site_name:"",refund_phone:"",refund_address:""}},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 u.a(n,{text:t,width:90,height:90,colorDark:"#000000",colorLight:"#ffffff",correctLevel:u.a.CorrectLevel.H})}))},getDistribution:function(){var t=this;(1==this.$route.query.status?n.c:a.d)(this.$route.query.id).then((function(e){t.data=e.data,t.goods=e.data.list;var r=e.data,n=[];t.site_name=r.site_name,t.refund_phone=r.refund_phone,t.refund_address=r.refund_address,r.list.forEach((function(t,e){for(var r=[],a=t.list,i=Math.ceil(a.length/6),u=0;u<i;u++){var s=a.slice(6*u,6*u+6);s.length&&r.push(s)}var c=6-r[r.length-1].length;if(c)for(var o=0;o<c;o++)r[r.length-1].push({cart_num:"",index:"",store_name:"",subtotal:"",suk:"",truePrice:""});r.forEach((function(e){n.push({real_name:t.real_name,user_address:t.user_address,user_phone:t.user_phone,freight_price:t.freight_price,coupon_price:t.coupon_price,vip_true_price:t.vip_true_price,deduction_price:t.deduction_price,use_integral:t.use_integral,pay_price:t.pay_price,mark:t.mark,order_id:t.order_id,pay_time:t.pay_time,pay_type_name:t.pay_type_name,goodsList:e})}))})),t.newArrayData=n})).catch((function(e){t.$Message.error(e.msg)}))}}},o=(r("4027"),r("2877")),d=Object(o.a)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"order-bgc"},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.site_name||t.refund_address||t.refund_phone?r("div",{staticClass:"delivery"},[t.site_name?r("div",[t._v("店铺信息:"+t._s(t.site_name))]):t._e(),t.refund_address?r("div",[t._v("地址:"+t._s(t.refund_address))]):t._e(),t.refund_phone?r("div",[t._v("联系方式:"+t._s(t.refund_phone))]):t._e()]):t._e()])])})),0)}),[],!1,null,"32b920c6",null);e.default=d.exports},cbe51:function(t,e,r){}}]);
|