(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pagesA/pages/merge-order/merge-order"],{"2b97":function(e,t,r){"use strict";var n=r("e8c9"),o=r.n(n);o.a},6608:function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r("057a"),o={data:function(){return{order_no:"",orderList:[]}},onLoad:function(e){e.order_no&&(this.order_no=e.order_no,this.getOrder(this.order_no))},methods:{copy:function(t){e.setClipboardData({data:t,success:function(t){e.showToast({title:"复制成功"})},fail:function(){e.showToast({title:"复制失败",icon:"none"})}})},sendGoods:function(){var t=this.orderList,r=[];t.map((function(e){r.push(e.order_no)}));var n=r.join(","),o=this.orderList[0].user_id;e.navigateTo({url:"../delivery-method/delivery-method?order_no="+n+"&user_id="+o})},subNum:function(e){var t=0;return e.sku.map((function(e){t+=e.num})),t},subtotal:function(e){var t=0;return e.sku.map((function(e){t+=e.num*e.price})),t},getOrder:function(t){var r=this;e.showLoading({title:"加载中..."}),(0,n.getNoSendOrder)({order_no:t}).then((function(t){200==t.code?r.orderList=t.data:e.showModal({content:t.data||"获取订单详情失败",showCancel:!1}),e.hideLoading()})).catch((function(t){e.hideLoading()}))}}};t.default=o}).call(this,r("543d")["default"])},"6ec7":function(e,t,r){"use strict";r.r(t);var n=r("b4e9"),o=r("b210");for(var i in o)"default"!==i&&function(e){r.d(t,e,(function(){return o[e]}))}(i);r("2b97");var u,a=r("f0c5"),c=Object(a["a"])(o["default"],n["b"],n["c"],!1,null,"1446306d",null,!1,n["a"],u);t["default"]=c.exports},8261:function(e,t,r){"use strict";(function(e){r("fdf4");n(r("66fd"));var t=n(r("6ec7"));function n(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=r,e(t.default)}).call(this,r("543d")["createPage"])},b210:function(e,t,r){"use strict";r.r(t);var n=r("6608"),o=r.n(n);for(var i in n)"default"!==i&&function(e){r.d(t,e,(function(){return n[e]}))}(i);t["default"]=o.a},b4e9:function(e,t,r){"use strict";var n;r.d(t,"b",(function(){return o})),r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){return n}));var o=function(){var e=this,t=e.$createElement,r=(e._self._c,e.orderList[0]&&e.orderList[0].user?e._f("getName")(e.orderList[0].user.nickname,e.orderList[0].user.phone?10:16):null),n=e.__map(e.orderList,(function(t,r){var n=e.__get_orig(t),o=e.__map(t.goods,(function(t,r){var n=e.__get_orig(t),o=t.sku[0].price!=t.vip_price?Number(t.price)-Number(t.vip_price)||0:null,i=e.subNum(t),u=e.subtotal(t);return{$orig:n,m0:o,m1:i,m2:u}}));return{$orig:n,l0:o}}));e.$mp.data=Object.assign({},{$root:{f0:r,l1:n}})},i=[]},e8c9:function(e,t,r){}},[["8261","common/runtime","common/vendor"]]]);