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