(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-3f997e93","chunk-494f1fd6"],{"0584":function(t,e,r){},"0bce":function(t,e,r){},"0de1":function(t,e,r){"use strict";r("1da3")},"1da3":function(t,e,r){},"28a4":function(t,e,r){"use strict";r("86b2")},"28c3":function(t,e,r){},"31b4":function(t,e,r){"use strict";var n=r("9860"),a=r.n(n),i=r("b6bd"),o=r("2f62");function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var d={name:"edit",components:{formCreate:a.a.$form()},computed:function(t){for(var e=1;e=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;L(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}function v(t,e,r,n,a,i,o){try{var s=t[i](o),l=s.value}catch(t){return void r(t)}s.done?e(l):Promise.resolve(l).then(n,a)}function h(t){return function(){var e=this,r=arguments;return new Promise((function(n,a){var i=t.apply(e,r);function o(t){v(i,n,a,o,s,"next",t)}function s(t){v(i,n,a,o,s,"throw",t)}o(void 0)}))}}function _(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function y(t){for(var e=1;e您选择的的订单存在用户未删除的订单,无法删除用户未删除的订单!
"})},getOrderData:function(t){var e=this;Object(a.k)(t).then(function(){var t=h(m().mark((function t(r){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!1!==r.data.status){t.next=2;break}return t.abrupt("return",e.$authLapse(r.data));case 2:e.$authLapse(r.data),e.FromData=r.data,e.$refs.edits.modals=!0;case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))},getData:function(t){var e=this;Object(a.g)(t).then(function(){var t=h(m().mark((function t(r){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.$refs.detailss.modals=!0,e.orderDatalist=r.data,e.orderDatalist.orderInfo.refund_reason_wap_img)try{e.orderDatalist.orderInfo.refund_reason_wap_img=JSON.parse(e.orderDatalist.orderInfo.refund_reason_wap_img)}catch(t){e.orderDatalist.orderInfo.refund_reason_wap_img=[]}case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))},submitFail:function(){this.status=0,this.getList()},getOnlyRefundData:function(t,e){var r=this;this.$modalForm(Object(a.o)(t)).then((function(){r.getList(),r.$emit("changeGetTabs")}))},getRefundData:function(t,e){var r=this;this.$route.query.orderChartType,this.delfromData={title:"是否立即退货退款",url:"/refund/agree/".concat(t),method:"get"},this.$modalSure(this.delfromData).then((function(t){r.$Message.success(t.msg),r.getList(),r.$emit("changeGetTabs")})).catch((function(t){r.$Message.error(t.msg)}))},getRefundIntegral:function(t){var e=this;Object(a.P)(t).then(function(){var t=h(m().mark((function t(r){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.FromData=r.data,e.$refs.edits.modals=!0;case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))},getNoRefundData:function(t){var e=this;this.$modalForm(Object(a.q)(t)).then((function(){e.getList(),e.$emit("changeGetTabs")}))},sendOrder:function(t){var e=this;this.$refs.send.modals=!0,this.orderId=t.id,this.status=t._status,this.$refs.send.getList(),this.$refs.send.getDeliveryList(),this.$nextTick((function(r){e.$refs.send.getCartInfo(t._status,t.id)}))},delivery:function(t){var e=this;Object(a.h)(t.id).then(function(){var t=h(m().mark((function t(r){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.FromData=r.data,e.$refs.edits.modals=!0;case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))},change:function(t){},exportData:function(){this.$refs.table.exportCsv({filename:"商品列表"})},bindWrite:function(t){var e=this;this.$Modal.confirm({title:"提示",content:"确定要核销该订单吗?",cancelText:"取消",closable:!0,maskClosable:!0,onOk:function(){Object(a.Y)(t.order_id).then((function(t){e.$Message.success(t.msg),e.getList()}))},onCancel:function(){}})},onSelectCancel:function(t,e){}})},w=(r("28a4"),r("2877")),I=Object(w.a)(b,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"i-layout-page-header"},[e("PageHeader",{staticClass:"product_tabs",attrs:{title:"子订单列表","hidden-breadcrumb":""}})],1),e("Table",{ref:"table",staticClass:"orderData mt25",attrs:{columns:t.columns,data:t.orderList,loading:t.loading,"highlight-row":"","no-data-text":"暂无数据","no-filtered-data-text":"暂无筛选结果"},on:{"on-selection-change":t.onSelectTab,"on-select-all":t.selectAll,"on-select-all-cancel":t.selectAll,"on-select-cancel":t.onSelectCancel},scopedSlots:t._u([{key:"order_id",fn:function(r){var n=r.row;return r.index,[e("span",{staticStyle:{display:"block"},domProps:{textContent:t._s(n.order_id)}}),e("span",{directives:[{name:"show",rawName:"v-show",value:1===n.is_del,expression:"row.is_del === 1"}],staticClass:"span-del"},[t._v("用户已删除")])]}},{key:"nickname",fn:function(r){var n=r.row;return r.index,[e("a",{on:{click:function(e){return t.showUserInfo(n)}}},[t._v(t._s(n.nickname))])]}},{key:"info",fn:function(r){var n=r.row;return r.index,t._l(n._info,(function(r,n){return e("div",{key:n,staticClass:"tabBox"},[e("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:r.cart_info.productInfo.attrInfo?r.cart_info.productInfo.attrInfo.image:r.cart_info.productInfo.image,expression:"\n val.cart_info.productInfo.attrInfo\n ? val.cart_info.productInfo.attrInfo.image\n : val.cart_info.productInfo.image\n "}]})]),e("span",{staticClass:"tabBox_tit"},[t._v("\n "+t._s(r.cart_info.productInfo.store_name+" | ")+t._s(r.cart_info.productInfo.attrInfo?r.cart_info.productInfo.attrInfo.suk:"")+"\n ")]),e("span",{staticClass:"tabBox_pice"},[t._v(t._s("¥"+r.cart_info.truePrice+" x "+r.cart_info.cart_num))])])}))}},{key:"statusName",fn:function(r){var n=r.row;return r.index,[e("div",{staticClass:"pt5",domProps:{innerHTML:t._s(n.status_name.status_name)}}),e("div",{staticClass:"pictrue-box"},t._l(n.status_name.pics||[],(function(r,a){return n.status_name.pics?e("div",{directives:[{name:"viewer",rawName:"v-viewer"}],key:a},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:r,expression:"item"}],staticClass:"pictrue mr10",attrs:{src:r}})]):t._e()})),0)]}},{key:"action",fn:function(r){var n=r.row;return r.index,[1===n._status?e("a",{on:{click:function(e){return t.edit(n)}}},[t._v("编辑")]):t._e(),2!==n._status&&8!==n._status||1!==n.shipping_type||null!==n.pinkStatus&&2!==n.pinkStatus?t._e():e("a",{on:{click:function(e){return t.sendOrder(n)}}},[t._v("发送货")]),4===n._status?e("a",{on:{click:function(e){return t.delivery(n)}}},[t._v("配送信息")]):t._e(),2==n.shipping_type&&0==n.status&&1==n.paid&&0===n.refund_status?e("a",{on:{click:function(e){return t.bindWrite(n)}}},[t._v("立即核销")]):t._e(),2===n._status||8===n._status?e("Divider",{attrs:{type:"vertical"}}):t._e(),8===n._status?e("a",{on:{click:function(e){return t.splitOrderDetail(n)}}},[t._v("查看子订单")]):t._e(),1===n._status||(2===n._status||8===n._status)&&(null===n.pinkStatus||2===n.pinkStatus)||4===n._status||2==n.shipping_type&&0==n.status&&1==n.paid&&0===n.refund_status?e("Divider",{attrs:{type:"vertical"}}):t._e(),[e("Dropdown",{on:{"on-click":function(e){return t.changeMenu(n,e)}}},[e("a",{attrs:{href:"javascript:void(0)"}},[t._v("\n 更多\n "),e("Icon",{attrs:{type:"ios-arrow-down"}})],1),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:1===n._status&&0===n.paid&&"offline"===n.pay_type,expression:"\n row._status === 1 &&\n row.paid === 0 &&\n row.pay_type === 'offline'\n "}],ref:"ones",attrs:{name:"1"}},[t._v("立即支付")]),e("DropdownItem",{attrs:{name:"2"}},[t._v("订单详情")]),e("DropdownItem",{attrs:{name:"3"}},[t._v("订单记录")]),e("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:n._status>=3&&n.express_dump,expression:"row._status >= 3 && row.express_dump"}],attrs:{name:"11"}},[t._v("电子面单打印")]),e("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:n._status>=2,expression:"row._status >= 2"}],attrs:{name:"10"}},[t._v("小票打印")]),e("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:1!==n._status||3===n._status&&n.use_integral>0&&n.use_integral>=n.back_integral,expression:"\n row._status !== 1 ||\n (row._status === 3 &&\n row.use_integral > 0 &&\n row.use_integral >= row.back_integral)\n "}],attrs:{name:"4"}},[t._v("订单备注")]),e("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:2!=n.refund_type&&4!=n.refund_type&&6!=n.refund_type&&1==n.paid&&2!==n.refund_status&&parseFloat(n.pay_price)>0,expression:"row.refund_type != 2 && row.refund_type != 4 && row.refund_type != 6 && row.paid==1 && row.refund_status !==2 && parseFloat(row.pay_price) > 0"}],attrs:{name:"5"}},[t._v("立即退款")]),e("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:2==n.refund_type,expression:"row.refund_type == 2"}],attrs:{name:"55"}},[t._v("同意退货")]),e("DropdownItem",{directives:[{name:"show",rawName:"v-show",value:4===n._status,expression:"row._status === 4"}],attrs:{name:"8"}},[t._v("已收货")]),1==n.is_del?e("DropdownItem",{attrs:{name:"9"}},[t._v("删除订单")]):t._e()],1)],1)]]}}])}),e("div",{staticClass:"acea-row row-right page"}),e("edit-from",{ref:"edits",attrs:{FromData:t.FromData},on:{submitFail:t.submitFail}}),e("user-details",{ref:"userDetails"}),e("details-from",{ref:"detailss",attrs:{orderDatalist:t.orderDatalist,orderId:t.orderId}}),e("order-remark",{ref:"remarks",attrs:{orderId:t.orderId},on:{submitFail:t.submitFail}}),e("order-record",{ref:"record"}),e("order-send",{ref:"send",attrs:{orderId:t.orderId,status:t.status},on:{submitFail:t.submitFail}})],1)}),[],!1,null,"3ce73bd8",null);e.default=I.exports},"5d3b":function(t,e,r){"use strict";r("0584")},"86b2":function(t,e,r){},a3fe:function(t,e,r){"use strict";r("0bce")},a461:function(t,e,r){"use strict";r("28c3")},a464:function(t,e,r){"use strict";var n={name:"table-expand",props:{row:Object}},a=(r("0de1"),r("2877")),i=Object(a.a)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tdinfo"},[e("Row",{staticClass:"expand-row"},[e("Col",{attrs:{span:"8"}},[e("span",{staticClass:"expand-key"},[t._v("商品总价:")]),e("span",{staticClass:"expand-value",domProps:{textContent:t._s(t.row.total_price)}})]),e("Col",{attrs:{span:"8"}},[e("span",{staticClass:"expand-key"},[t._v("下单时间:")]),e("span",{staticClass:"expand-value",domProps:{textContent:t._s(t.row.add_time)}})]),e("Col",{attrs:{span:"8"}},[e("span",{staticClass:"expand-key"},[t._v("推广人:")]),e("span",{staticClass:"expand-value",domProps:{textContent:t._s(t.row.spread_nickname?t.row.spread_nickname:"无")}})])],1),e("Row",[e("Col",{attrs:{span:"8"}},[e("span",{staticClass:"expand-key"},[t._v("用户备注:")]),e("span",{staticClass:"expand-value",domProps:{textContent:t._s(t.row.mark?t.row.mark:"无")}})]),e("Col",{attrs:{span:"8"}},[e("span",{staticClass:"expand-key"},[t._v("商家备注:")]),e("span",{staticClass:"expand-value",domProps:{textContent:t._s(t.row.remark?t.row.remark:"无")}})])],1)],1)}),[],!1,null,"b662070e",null);e.a=i.exports},add5:function(t,e,r){var n;window,n=function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)r.d(n,a,function(e){return t[e]}.bind(null,a));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=0)}({"./src/index.js":
/*!**********************!*\
!*** ./src/index.js ***!
\**********************/
/*! exports provided: default */function(t,e,r){"use strict";r.r(e),r(/*! ./sass/index.scss */"./src/sass/index.scss");var n=r(/*! ./js/init */"./src/js/init.js").default.init;"undefined"!=typeof window&&(window.printJS=n),e.default=n},"./src/js/browser.js":
/*!***************************!*\
!*** ./src/js/browser.js ***!
\***************************/
/*! exports provided: default */function(t,e,r){"use strict";r.r(e);var n={isFirefox:function(){return"undefined"!=typeof InstallTrigger},isIE:function(){return-1!==navigator.userAgent.indexOf("MSIE")||!!document.documentMode},isEdge:function(){return!n.isIE()&&!!window.StyleMedia},isChrome:function(){return!!(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).chrome},isSafari:function(){return Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0||-1!==navigator.userAgent.toLowerCase().indexOf("safari")},isIOSChrome:function(){return-1!==navigator.userAgent.toLowerCase().indexOf("crios")}};e.default=n},"./src/js/functions.js":
/*!*****************************!*\
!*** ./src/js/functions.js ***!
\*****************************/
/*! exports provided: addWrapper, capitalizePrint, collectStyles, addHeader, cleanUp, isRawHTML */function(t,e,r){"use strict";r.r(e),r.d(e,"addWrapper",(function(){return o})),r.d(e,"capitalizePrint",(function(){return s})),r.d(e,"collectStyles",(function(){return l})),r.d(e,"addHeader",(function(){return d})),r.d(e,"cleanUp",(function(){return u})),r.d(e,"isRawHTML",(function(){return f}));var n=r(/*! ./modal */"./src/js/modal.js"),a=r(/*! ./browser */"./src/js/browser.js");function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){return''+t+"
"}function s(t){return t.charAt(0).toUpperCase()+t.slice(1)}function l(t,e){for(var r="",n=(document.defaultView||window).getComputedStyle(t,""),a=0;a]*>(.*?)\\1>").test(t)}},"./src/js/html.js":
/*!************************!*\
!*** ./src/js/html.js ***!
\************************/
/*! exports provided: default */function(t,e,r){"use strict";r.r(e);var n=r(/*! ./functions */"./src/js/functions.js"),a=r(/*! ./print */"./src/js/print.js");function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}e.default={print:function(t,e){var r,o="object"===i(r=t.printable)&&r&&(r instanceof HTMLElement||1===r.nodeType)?t.printable:document.getElementById(t.printable);o?(t.printableElement=function t(e,r){for(var a=e.cloneNode(),i=Array.prototype.slice.call(e.childNodes),o=0;o"+t.documentTitle+"",t.css&&(Array.isArray(t.css)||(t.css=[t.css]),t.css.forEach((function(t){p.srcdoc+=''}))),p.srcdoc+="