徐总多门店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
45 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-65e591b0"],{"060a":function(t,e,n){t.exports=n.p+"view_admin/img/no_tk.401d40f4.png"},"1d0a":function(t,e,n){"use strict";n("8644")},"468b":function(t,e,n){t.exports=n.p+"view_admin/img/no_all.174e30c0.png"},"5f70":function(t,e,n){t.exports=n.p+"view_admin/img/no_fh.977a0fb8.png"},"6db4":function(t,e,n){!function(t,e){"use strict";function n(t,e,n){document.addEventListener?t.addEventListener(e,n):t.attachEvent("on"+e,n)}function i(t,e,n){document.addEventListener?t.removeEventListener(e,n):t.detachEvent("on"+e,n)}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){return t(e={exports:{}},e.exports),e.exports}function a(){var t={},e=0,n=0,i=0;return{add:function(r,o){o||(o=r,r=0),r>n?n=r:r<i&&(i=r),t[r]||(t[r]=[]),t[r].push(o),e++},process:function(){for(var e=i;e<=n;e++)for(var r=t[e],o=0;o<r.length;o++)(0,r[o])()},size:function(){return e}}}function s(t){return t[y]}function c(t){return Array.isArray(t)||void 0!==t.length}function l(t){if(Array.isArray(t))return t;var e=[];return x(t,(function(t){e.push(t)})),e}function u(t){return t&&1===t.nodeType}function d(t,e,n){var i=t[e];return void 0!==i&&null!==i||void 0===n?i:n}e=e&&e.hasOwnProperty("default")?e.default:e;var h=function(t){var e=Date.now();return function(n){if(n-e>(t||14))return e=n,!0}},f={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"stripContainer",staticClass:"happy-scroll-strip",class:[t.horizontal?"happy-scroll-strip--horizontal":"happy-scroll-strip--vertical"],style:[t.initLocation],on:{"!wheel":function(e){return e.stopPropagation(),t.handlerWheel(e)}}},[n("div",{ref:"strip",staticClass:"happy-scroll-bar",style:[t.translate,r({},t.config.sizeAttr,t.length+"px"),t.initSize,{background:t.color},{opacity:t.isOpacity}],on:{mousedown:function(e){return e.stopPropagation(),t.handlerMouseDown(e)}}})])},staticRenderFns:[],name:"happy-scroll-strip",props:{horizontal:Boolean,left:Boolean,top:Boolean,move:{type:Number,default:0},size:{type:[Number,String],default:4},minLengthV:{type:Number,default:40},minLengthH:{type:Number,default:40},color:{type:String,default:"rgba(51,51,51,0.2)"},throttle:{type:Number,default:14}},data:function(){return{config:{},startMove:!1,binded:!1,length:0,percentage:0,maxOffset:0,currentOffset:0,moveThrottle:h(this.throttle)}},watch:{currentOffset:function(t){0===t?this.emitLocationEvent("start",0):t===this.maxOffset&&this.emitLocationEvent("end",t/this.percentage)}},computed:{initSize:function(){return r({},this.horizontal?"height":"width",this.size+"px")},isOpacity:function(){return this.percentage<1?1:0},translate:function(){var t=this.move*this.percentage;if(this.$refs.stripContainer)return t<0&&(t=0),t>this.maxOffset&&(t=this.maxOffset),this.currentOffset=t,{transform:this.config.translate+"("+t+"px)"}},initLocation:function(){return this.horizontal?this.top?{top:0,bottom:"auto"}:"":this.left?{left:0,right:"auto"}:""}},methods:{emitLocationEvent:function(t,e){var n=this.horizontal?"horizontal":"vertical";this.$emit(n+"-"+t,e)},computeStrip:function(t,e){var n=this.$refs.stripContainer[this.config.client];this.length=n*(e/t);var i=this.horizontal?this.minLengthH:this.minLengthV;i<1&&(i*=n),this.length=this.length<i?i:this.length;var r=this.maxOffset=n-this.length;this.percentage=r/(t-e)},bindEvents:function(){this.binded||(n(document,"mouseup",this.handlerMouseUp),n(document,"mousemove",this.handlerMove),this.binded=!0)},handlerMouseDown:function(t){if(0===t.button)return t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),this.startMove=!0,this.axis=t[this.config.clientAxis],this.bindEvents(),!1},handlerMouseUp:function(){this.startMove=!1},handlerMove:function(t){if(this.startMove&&this.moveThrottle(Date.now())){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation();var e=this.$refs.stripContainer.getBoundingClientRect(),n=this.$refs.strip.getBoundingClientRect()[this.config.direction]-e[this.config.direction],i=t[this.config.clientAxis]-this.axis+n;this.axis=t[this.config.clientAxis],this.changeOffset(i)}},handlerWheel:function(t){var e=this.$refs.stripContainer.getBoundingClientRect(),n=this.$refs.strip.getBoundingClientRect()[this.config.direction]-e[this.config.direction]+t[this.config.wheelDelta];this.changeOffset(n,t)},changeOffset:function(t,e){t<0&&(t=0),t>this.maxOffset&&(t=this.maxOffset),e&&t>0&&t<this.maxOffset&&(e.preventDefault(),e.stopImmediatePropagation()),this.currentOffset=t,this.$refs.strip.style.transform=this.config.translate+"("+t+"px)",this.$emit("change",t/this.percentage)}},created:function(){var t={h:{sizeAttr:"width",client:"clientWidth",clientAxis:"clientX",translate:"translateX",direction:"left",wheelDelta:"deltaX"},v:{sizeAttr:"height",client:"clientHeight",clientAxis:"clientY",translate:"translateY",direction:"top",wheelDelta:"deltaY"}};this.config=this.horizontal?t.h:t.v},destroyed:function(){i(document,"mouseup",this.handlerClickUp),i(document,"mousemove",this.handlerMove)}},p=o((function(t){(t.exports={}).forEach=function(t,e){for(var n=0;n<t.length;n++){var i=e(t[n]);if(i)return i}}})),v=o((function(t){var e=t.exports={};e.isIE=function(t){return!(!function(){var t=navigator.userAgent.toLowerCase();return-1!==t.indexOf("msie")||-1!==t.indexOf("trident")||-1!==t.indexOf(" edge/")}()||t&&t!==function(){var t=3,e=document.createElement("div"),n=e.getElementsByTagName("i");do{e.innerHTML="\x3c!--[if gt IE "+ ++t+"]><i></i><![endif]--\x3e"}while(n[0]);return t>4?t:void 0}())},e.isLegacyOpera=function(){return!!window.opera}})),g=o((function(t){(t.exports={}).getOption=function(t,e,n){var i=t[e];return void 0!==i&&null!==i||void 0===n?i:n}})),m=function(t){function e(){for(l=!0;c.size();){var t=c;c=a(),t.process()}l=!1}function n(){s=function(t){return setTimeout(t,0)}(e)}var i=(t=t||{}).reporter,r=g.getOption(t,"async",!0),o=g.getOption(t,"auto",!0);o&&!r&&(i&&i.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),r=!0);var s,c=a(),l=!1;return{add:function(t,e){!l&&o&&r&&0===c.size()&&n(),c.add(t,e)},force:function(t){l||(void 0===t&&(t=r),s&&(function(t){clearTimeout(t)}(s),s=null),t?n():e())}}},y="_erd",b={initState:function(t){return t[y]={},s(t)},getState:s,cleanState:function(t){delete t[y]}},w=p.forEach,S=function(t){function e(t,e,n){if(t.addEventListener)t.addEventListener(e,n);else{if(!t.attachEvent)return o.error("[scroll] Don't know how to add event listeners.");t.attachEvent("on"+e,n)}}function n(t,e,n){if(t.removeEventListener)t.removeEventListener(e,n);else{if(!t.detachEvent)return o.error("[scroll] Don't know how to remove event listeners.");t.detachEvent("on"+e,n)}}function i(t){return s(t).container.childNodes[0].childNodes[0].childNodes[0]}function r(t){return s(t).container.childNodes[0].childNodes[0].childNodes[1]}var o=(t=t||{}).reporter,a=t.batchProcessor,s=t.stateHandler.getState,c=t.idHandler;if(!a)throw new Error("Missing required dependency: batchProcessor");if(!o)throw new Error("Missing required dependency: reporter.");var l=function(){var t=document.createElement("div");t.style.cssText="position: absolute; width: 1000px; height: 1000px; visibility: hidden; margin: 0; padding: 0;";var e=document.createElement("div");e.style.cssText="position: absolute; width: 500px; height: 500px; overflow: scroll; visibility: none; top: -1500px; left: -1500px; visibility: hidden; margin: 0; padding: 0;",e.appendChild(t),document.body.insertBefore(e,document.body.firstChild);var n=500-e.clientWidth,i=500-e.clientHeight;return document.body.removeChild(e),{width:n,height:i}}(),u="erd_scroll_detection_container";return function(t,e){if(!document.getElementById(t)){var n=e+"_animation",i="/* Created by the element-resize-detector library. */\n";i+="."+e+" > div::-webkit-scrollbar { display: none; }\n\n",i+="."+e+"_animation_active { -webkit-animation-duration: 0.1s; animation-duration: 0.1s; -webkit-animation-name: "+n+"; animation-name: "+n+"; }\n",i+="@-webkit-keyframes "+n+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n",function(e,n){n=n||function(t){document.head.appendChild(t)};var i=document.createElement("style");i.innerHTML=e,i.id=t,n(i)}(i+="@keyframes "+n+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }")}}("erd_scroll_detection_scrollbar_style",u),{makeDetectable:function(t,n,d){function h(){if(t.debug){var e=Array.prototype.slice.call(arguments);if(e.unshift(c.get(n),"Scroll: "),o.log.apply)o.log.apply(null,e);else for(var i=0;i<e.length;i++)o.log(e[i])}}function f(t){var e=s(t).container.childNodes[0],n=getComputedStyle(e);return!n.width||-1===n.width.indexOf("px")}function p(){var t=getComputedStyle(n),e={};return e.position=t.position,e.width=n.offsetWidth,e.height=n.offsetHeight,e.top=t.top,e.right=t.right,e.bottom=t.bottom,e.left=t.left,e.widthCSS=t.width,e.heightCSS=t.height,e}function v(){if(h("storeStyle invoked."),s(n)){var t=p();s(n).style=t}else h("Aborting because element has been uninstalled")}function g(t,e,n){s(t).lastWidth=e,s(t).lastHeight=n}function m(t){return i(t).childNodes[0]}function y(){return 2*l.width+1}function b(){return 2*l.height+1}function S(t){return t+10+y()}function x(t){return t+10+b()}function _(t,e,n){var o=i(t),a=r(t),s=S(e),c=x(n),l=function(t){return 2*t+y()}(e),u=function(t){return 2*t+b()}(n);o.scrollLeft=s,o.scrollTop=c,a.scrollLeft=l,a.scrollTop=u}function C(){var t=s(n).container;if(!t){(t=document.createElement("div")).className=u,t.style.cssText="visibility: hidden; display: inline; width: 0px; height: 0px; z-index: -1; overflow: hidden; margin: 0; padding: 0;",s(n).container=t,function(t){t.className+=" "+u+"_animation_active"}(t),n.appendChild(t);var i=function(){s(n).onRendered&&s(n).onRendered()};e(t,"animationstart",i),s(n).onAnimationStart=i}return t}function E(){function t(){s(n).onExpand&&s(n).onExpand()}function i(){s(n).onShrink&&s(n).onShrink()}if(h("Injecting elements"),s(n)){!function(){var t=s(n).style;if("static"===t.position){n.style.position="relative";var e=function(t,e,n,i){var r=n[i];"auto"!==r&&"0"!==function(t){return t.replace(/[^-\d\.]/g,"")}(r)&&(t.warn("An element that is positioned static has style."+i+"="+r+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+i+" will be set to 0. Element: ",e),e.style[i]=0)};e(o,n,t,"top"),e(o,n,t,"right"),e(o,n,t,"bottom"),e(o,n,t,"left")}}();var r=s(n).container;r||(r=C());var a=l.width,c=l.height,d="position: absolute; flex: none; overflow: hidden; z-index: -1; visibility: hidden; "+function(t,e,n,i){return t=t?t+"px":"0",e=e?e+"px":"0",n=n?n+"px":"0","left: "+t+"; top: "+e+"; right: "+(i=i?i+"px":"0")+"; bottom: "+n+";"}(-(1+a),-(1+c),-c,-a),f=document.createElement("div"),p=document.createElement("div"),v=document.createElement("div"),g=document.createElement("div"),m=document.createElement("div"),y=document.createElement("div");f.dir="ltr",f.style.cssText="position: absolute; flex: none; overflow: hidden; z-index: -1; visibility: hidden; width: 100%; height: 100%; left: 0px; top: 0px;",f.className=u,p.className=u,p.style.cssText=d,v.style.cssText="position: absolute; flex: none; overflow: scroll; z-index: -1; visibility: hidden; width: 100%; height: 100%;",g.style.cssText="position: absolute; left: 0; top: 0;",m.style.cssText="position: absolute; flex: none; overflow: scroll; z-index: -1; visibility: hidden; width: 100%; height: 100%;",y.style.cssText="position: absolute; width: 200%; height: 200%;",v.appendChild(g),m.appendChild(y),p.appendChild(v),p.appendChild(m),f.appendChild(p),r.appendChild(f),e(v,"scroll",t),e(m,"scroll",i),s(n).onExpandScroll=t,s(n).onShrinkScroll=i}else h("Aborting because element has been uninstalled")}function L(){function e(t,e,n){var i=m(t),r=S(e),o=x(n);i.style.width=r+"px",i.style.height=o+"px"}function l(i){var r=n.offsetWidth,l=n.offsetHeight;h("Storing current size",r,l),g(n,r,l),a.add(0,(function(){if(s(n))if(u()){if(t.debug){var i=n.offsetWidth,a=n.offsetHeight;i===r&&a===l||o.warn(c.get(n),"Scroll: Size changed before updating detector elements.")}e(n,r,l)}else h("Aborting because element container has not been initialized");else h("Aborting because element has been uninstalled")})),a.add(1,(function(){s(n)?u()?_(n,r,l):h("Aborting because element container has not been initialized"):h("Aborting because element has been uninstalled")})),i&&a.add(2,(function(){s(n)?u()?i():h("Aborting because element container has not been initialized"):h("Aborting because element has been uninstalled")}))}function u(){return!!s(n).container}function d(){h("notifyListenersIfNeeded invoked");var t=s(n);return void 0===s(n).lastNotifiedWidth&&t.lastWidth===t.startSize.width&&t.lastHeight===t.startSize.height?h("Not notifying: Size is the same as the start size, and there has been no notification yet."):t.lastWidth===t.lastNotifiedWidth&&t.lastHeight===t.lastNotifiedHeight?h("Not notifying: Size already notified"):(h("Current size not notified, notifying..."),t.lastNotifiedWidth=t.lastWidth,t.lastNotifiedHeight=t.lastHeight,void w(s(n).listeners,(function(t){t(n)})))}function p(){if(h("Scroll detected."),f(n))h("Scroll event fired while unrendered. Ignoring...");else{var t=n.offsetWidth,e=n.offsetHeight;t!==n.lastWidth||e!==n.lastHeight?(h("Element size changed."),l(d)):h("Element size has not changed ("+t+"x"+e+").")}}if(h("registerListenersAndPositionElements invoked."),s(n)){s(n).onRendered=function(){if(h("startanimation triggered."),f(n))h("Ignoring since element is still unrendered...");else{h("Element rendered.");var t=i(n),e=r(n);0!==t.scrollLeft&&0!==t.scrollTop&&0!==e.scrollLeft&&0!==e.scrollTop||(h("Scrollbars out of sync. Updating detector elements..."),l(d))}},s(n).onExpand=p,s(n).onShrink=p;var v=s(n).style;e(n,v.width,v.height)}else h("Aborting because element has been uninstalled")}function k(){if(h("finalizeDomMutation invoked."),s(n)){var t=s(n).style;g(n,t.width,t.height),_(n,t.width,t.height)}else h("Aborting because element has been uninstalled")}function z(){d(n)}function $(){var t;h("Installing..."),s(n).listeners=[],t=p(),s(n).startSize={width:t.width,height:t.height},h("Element start size",s(n).startSize),a.add(0,v),a.add(1,E),a.add(2,L),a.add(3,k),a.add(4,z)}d||(d=n,n=t,t=null),t=t||{},h("Making detectable..."),function(t){return!function(t){return t===t.ownerDocument.body||t.ownerDocument.body.contains(t)}(t)||null===getComputedStyle(t)}(n)?(h("Element is detached"),C(),h("Waiting until element is attached..."),s(n).onRendered=function(){h("Element is now attached"),$()}):$()},addListener:function(t,e){if(!s(t).listeners.push)throw new Error("Cannot add listener to an element that is not detectable.");s(t).listeners.push(e)},uninstall:function(t){var e=s(t);e&&(e.onExpandScroll&&n(i(t),"scroll",e.onExpandScroll),e.onShrinkScroll&&n(r(t),"scroll",e.onShrinkScroll),e.onAnimationStart&&n(e.container,"animationstart",e.onAnimationStart),e.container&&t.removeChild(e.container))}}},x=p.forEach,_=function(t){var e;if((t=t||{}).idHandler)e={get:function(e){return t.idHandler.get(e,!0)},set:t.idHandler.set};else{var n=function(){var t=1;return{generate:function(){return t++}}}(),i=function(t){var e=t.idGenerator,n=t.stateHandler.getState;return{get:function(t){var e=n(t);return e&&void 0!==e.id?e.id:null},set:function(t){var i=n(t);if(!i)throw new Error("setId required the element to have a resize detection state.");var r=e.generate();return i.id=r,r}}}({idGenerator:n,stateHandler:b});e=i}var r=t.reporter;r||(r=function(t){function e(){}var n={log:e,warn:e,error:e};if(!t&&window.console){var i=function(t,e){t[e]=function(){var t=console[e];if(t.apply)t.apply(console,arguments);else for(var n=0;n<arguments.length;n++)t(arguments[n])}};i(n,"log"),i(n,"warn"),i(n,"error")}return n}(!1===r));var o=d(t,"batchProcessor",m({reporter:r})),a={};a.callOnAdd=!!d(t,"callOnAdd",!0),a.debug=!!d(t,"debug",!1);var s,h=function(t){function e(e){var i=t.get(e);return void 0===i?[]:n[i]||[]}var n={};return{get:e,add:function(e,i){var r=t.get(e);n[r]||(n[r]=[]),n[r].push(i)},removeListener:function(t,n){for(var i=e(t),r=0,o=i.length;r<o;++r)if(i[r]===n){i.splice(r,1);break}},removeAllListeners:function(t){var n=e(t);n&&(n.length=0)}}}(e),f=function(t){var e=t.stateHandler.getState;return{isDetectable:function(t){var n=e(t);return n&&!!n.isDetectable},markAsDetectable:function(t){e(t).isDetectable=!0},isBusy:function(t){return!!e(t).busy},markBusy:function(t,n){e(t).busy=!!n}}}({stateHandler:b}),p=d(t,"strategy","object"),g={reporter:r,batchProcessor:o,stateHandler:b,idHandler:e};if("scroll"===p&&(v.isLegacyOpera()?(r.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),p="object"):v.isIE(9)&&(r.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),p="object")),"scroll"===p)s=S(g);else{if("object"!==p)throw new Error("Invalid strategy name: "+p);s=function(t){function e(t){return r(t).object}var n=(t=t||{}).reporter,i=t.batchProcessor,r=t.stateHandler.getState;if(!n)throw new Error("Missing required dependency: reporter.");return{makeDetectable:function(t,e,o){o||(o=e,e=t,t=null),t=t||{},v.isIE(8)?o(e):function(t,e){function o(){function i(){if("static"===c.position){t.style.position="relative";var e=function(t,e,n,i){var r=n[i];"auto"!==r&&"0"!==function(t){return t.replace(/[^-\d\.]/g,"")}(r)&&(t.warn("An element that is positioned static has style."+i+"="+r+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+i+" will be set to 0. Element: ",e),e.style[i]=0)};e(n,t,c,"top"),e(n,t,c,"right"),e(n,t,c,"bottom"),e(n,t,c,"left")}}""!==c.position&&(i(),s=!0);var o=document.createElement("object");o.style.cssText=a,o.tabIndex=-1,o.type="text/html",o.onload=function(){s||i(),function t(e,n){e.contentDocument?n(e.contentDocument):setTimeout((function(){t(e,n)}),100)}(this,(function(n){e(t)}))},v.isIE()||(o.data="about:blank"),t.appendChild(o),r(t).object=o,v.isIE()&&(o.data="about:blank")}var a="display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; padding: 0; margin: 0; opacity: 0; z-index: -1000; pointer-events: none;",s=!1,c=window.getComputedStyle(t),l=t.offsetWidth,u=t.offsetHeight;r(t).startSize={width:l,height:u},i?i.add(o):o()}(e,o)},addListener:function(t,n){function i(){n(t)}if(!e(t))throw new Error("Element is not detectable by this strategy.");v.isIE(8)?(r(t).object={proxy:i},t.attachEvent("onresize",i)):e(t).contentDocument.defaultView.addEventListener("resize",i)},uninstall:function(t){v.isIE(8)?t.detachEvent("onresize",r(t).object.proxy):t.removeChild(e(t)),delete r(t).object}}}(g)}var y={};return{listenTo:function(t,n,i){function o(t){var e=h.get(t);x(e,(function(e){e(t)}))}function p(t,e,n){h.add(e,n),t&&n(e)}if(i||(i=n,n=t,t={}),!n)throw new Error("At least one element required.");if(!i)throw new Error("Listener required.");if(u(n))n=[n];else{if(!c(n))return r.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");n=l(n)}var v=0,g=d(t,"callOnAdd",a.callOnAdd),m=d(t,"onReady",(function(){})),w=d(t,"debug",a.debug);x(n,(function(t){b.getState(t)||(b.initState(t),e.set(t));var a=e.get(t);if(w&&r.log("Attaching listener to element",a,t),!f.isDetectable(t))return w&&r.log(a,"Not detectable."),f.isBusy(t)?(w&&r.log(a,"System busy making it detectable"),p(g,t,i),y[a]=y[a]||[],void y[a].push((function(){++v===n.length&&m()}))):(w&&r.log(a,"Making detectable..."),f.markBusy(t,!0),s.makeDetectable({debug:w},t,(function(t){if(w&&r.log(a,"onElementDetectable"),b.getState(t)){f.markAsDetectable(t),f.markBusy(t,!1),s.addListener(t,o),p(g,t,i);var e=b.getState(t);if(e&&e.startSize){var c=t.offsetWidth,l=t.offsetHeight;e.startSize.width===c&&e.startSize.height===l||o(t)}y[a]&&x(y[a],(function(t){t()}))}else w&&r.log(a,"Element uninstalled before being detectable.");delete y[a],++v===n.length&&m()})));w&&r.log(a,"Already detecable, adding listener."),p(g,t,i),v++})),v===n.length&&m()},removeListener:h.removeListener,removeAllListeners:h.removeAllListeners,uninstall:function(t){if(!t)return r.error("At least one element is required.");if(u(t))t=[t];else{if(!c(t))return r.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");t=l(t)}x(t,(function(t){h.removeAllListeners(t),s.uninstall(t),b.cleanState(t)}))}}},C=e;"undefined"!=typeof window&&window.Vue&&(C=window.Vue);var E={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"happy-scroll",staticClass:"happy-scroll"},[n("div",{ref:"container",staticClass:"happy-scroll-container",style:[t.initSize],on:{scroll:function(e){return e.stopPropagation(),t.onScroll(e)}}},[n("div",{ref:"content",staticClass:"happy-scroll-content",style:[t.contentBorderStyle]},[t._t("default")],2)]),t.hideVertical?t._e():n("happy-scroll-strip",t._g(t._b({ref:"stripY",attrs:{throttle:t.throttle,move:t.moveY},on:{change:t.slideYChange}},"happy-scroll-strip",t.$attrs,!1),t.$listeners)),t.hideHorizontal?t._e():n("happy-scroll-strip",t._g(t._b({ref:"stripX",attrs:{horizontal:"",throttle:t.throttle,move:t.moveX},on:{change:t.slideXChange}},"happy-scroll-strip",t.$attrs,!1),t.$listeners))],1)},staticRenderFns:[],name:"happy-scroll",inheritAttrs:!1,components:{HappyScrollStrip:f},props:{scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},hideVertical:Boolean,hideHorizontal:Boolean,throttle:{type:Number,default:14},resize:Boolean,smallerMoveH:{type:String,default:""},smallerMoveV:{type:String,default:""},biggerMoveH:{type:String,default:""},biggerMoveV:{type:String,default:""}},data:function(){return{initSize:{},moveX:+this.scrollLeft,moveY:+this.scrollTop,scrollThrottle:h(this.throttle),browserHSize:0,browserVSize:0,isScrollNotUseSpace:void 0}},watch:{scrollTop:function(t){this.$refs.container.scrollTop=this.moveY=+t},scrollLeft:function(t){this.$refs.container.scrollLeft=this.moveX=+t},hideVertical:function(t){t||this.$nextTick(this.computeStripY)},hideHorizontal:function(t){t||this.$nextTick(this.computeStripX)}},computed:{contentBorderStyle:function(){return void 0===this.isScrollNotUseSpace?{}:{"border-right":20-this.browserHSize+"px solid transparent","border-bottom":20-this.browserVSize+"px solid transparent"}}},methods:{slideYChange:function(t){this.$refs.container.scrollTop=t,this.$emit("update:scrollTop",this.$refs.container.scrollTop)},slideXChange:function(t){this.$refs.container.scrollLeft=t,this.$emit("update:scrollLeft",this.$refs.container.scrollLeft)},onScroll:function(t){if(!this.scrollThrottle(Date.now()))return!1;this.moveY=t.target.scrollTop,this.moveX=t.target.scrollLeft,this.updateSyncScroll()},initBrowserSize:function(){void 0!==this.isScrollNotUseSpace&&(!0===this.isScrollNotUseSpace?(this.browserHSize=0,this.browserVSize=0):(this.browserHSize=this.$refs.container.offsetWidth-this.$refs.container.clientWidth,this.browserVSize=this.$refs.container.offsetHeight-this.$refs.container.clientHeight))},computeStripX:function(){if(!this.hideHorizontal){var t=this.$refs["happy-scroll"],e=this.$slots.default[0].elm;this.$refs.stripX.computeStrip(e.scrollWidth,t.clientWidth)}},computeStripY:function(){if(!this.hideVertical){var t=this.$refs["happy-scroll"],e=this.$slots.default[0].elm;this.$refs.stripY.computeStrip(e.scrollHeight,t.clientHeight)}},resizeListener:function(){var t=this;if(this.resize){var e=_({strategy:"scroll",callOnAdd:!1}),n=this.$slots.default[0].elm,i=n.clientHeight,r=n.clientWidth;e.listenTo(n,(function(e){t.computeStripX(),t.computeStripY(),t.initBrowserSize();var n=void 0;e.clientHeight<i&&(n=t.smallerMoveH.toLocaleLowerCase()),e.clientHeight>i&&(n=t.biggerMoveH.toLocaleLowerCase()),"start"===n&&(t.moveY=0,t.slideYChange(t.moveY)),"end"===n&&(t.moveY=e.clientHeight,t.slideYChange(t.moveY)),i=e.clientHeight,n="",e.clientWidth<r&&(n=t.smallerMoveV.toLocaleLowerCase()),e.clientWidth>r&&(n=t.biggerMoveV.toLocaleLowerCase()),"start"===n&&(t.moveX=0,t.slideXChange(t.moveX)),"end"===n&&(t.moveX=e.clientWidth,t.slideXChange(t.moveX)),r=e.clientWidth}))}},setContainerSize:function(){this.initSize={width:this.$refs["happy-scroll"].clientWidth+20+"px",height:this.$refs["happy-scroll"].clientHeight+20+"px"}},checkScrollMode:function(){if(void 0===C._happyJS._isScrollNotUseSpace){var t=this.$slots.default[0].elm,e=this.$refs.container;(t.offsetHeight>e.clientHeight||t.offsetWidth>e.clientWidth)&&(e.offsetWidth>e.clientWidth||e.offsetHeight>e.clientHeight?C._happyJS._isScrollNotUseSpace=!1:C._happyJS._isScrollNotUseSpace=!0,this.isScrollNotUseSpace=C._happyJS._isScrollNotUseSpace)}}},beforeCreate:function(){var t=C._happyJS=C._happyJS||{};this.isScrollNotUseSpace=t._isScrollNotUseSpace},created:function(){var t,e,n,i,r,o,a,s,c;this.updateSyncScroll=(t=function(){this.$emit("update:scrollTop",this.moveY),this.$emit("update:scrollLeft",this.moveX)},e=this.throttle,c=function c(){var l=(new Date).getTime()-a;l<e&&l>=0?i=setTimeout(c,e-l):(i=null,n||(s=t.apply(o,r),i||(o=r=null)))},function(){o=this,r=arguments,a=(new Date).getTime();var l=n&&!i;return i||(i=setTimeout(c,e)),l&&(s=t.apply(o,r),o=r=null),s})},mounted:function(){var t=this;this.setContainerSize(),this.$nextTick((function(){t.computeStripX(),t.computeStripY(),t.checkScrollMode(),t.initBrowserSize(),t.$nextTick((function(){t.scrollTop&&(t.$refs.container.scrollTop=+t.scrollTop),t.scrollLeft&&(t.$refs.container.scrollLeft=+t.scrollLeft)}))})),this.resizeListener(),this.$watch("browserHSize",this.setContainerSize),this.$watch("browserVSize",this.setContainerSize)}};"undefined"!=typeof window&&window.Vue&&Vue.component("happy-scroll",E);var L={install:function(t){t.component("happy-scroll",E)},version:"2.1.1"};t.default=L,t.HappyScroll=E,t.version="2.1.1",Object.defineProperty(t,"__esModule",{value:!0})}(e,n("a026"))},"7a1a":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("b6bd");function r(){return Object(i.a)({url:"service/info",method:"get",kefu:!0})}},8644:function(t,e,n){},"87bc":function(t,e,n){"use strict";n.r(e);var i=n("8c8a"),r={name:"Loading",props:{loaded:Boolean,loading:Boolean},created:function(){}},o=n("2877"),a=Object(o.a)(r,(function(){var t=this._self._c;return this.loading&&!this.loaded?t("div",{staticClass:"Loads acea-row row-center-wrapper",staticStyle:{"margin-top":".2rem","font-size":"12px"}},[this.loading?[t("div",{staticClass:"iconfontYI icon-jiazai loading acea-row row-center-wrapper"}),this._v("\n 正在加载中\n ")]:[this._v("\n 上拉加载更多\n ")]],2):this._e()}),[],!1,null,null,null).exports,s=n("42e3"),c=n("0fc4"),l=n("61f7"),u=n("69ae"),d=n("d708"),h={name:"WriteOff",props:{iShidden:{type:Boolean,default:!0},orderInfo:{type:Object,default:null}},data:function(){return{roterPre:d.a.roterPre}},methods:{toDetail:function(t){this.$router.push({path:d.a.routePreKF+"/orderDetail/"+t.id+"/looks"})},cancel:function(){this.$emit("cancel",!1)},confirm:function(){this.$emit("confirm",!1)}}},f=(n("ba20"),Object(o.a)(h,(function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"show",rawName:"v-show",value:t.iShidden,expression:"iShidden"}]},[e("div",{staticClass:"WriteOff"},[e("div",{staticClass:"pictrue"},[e("img",{attrs:{src:t.orderInfo.cartInfo[0].productInfo.image}})]),e("div",{staticClass:"num acea-row row-center-wrapper"},[t._v("\n "+t._s(t.orderInfo.order_id)+"\n "),e("div",{staticClass:"views",on:{click:function(e){return t.toDetail(t.orderInfo)}}},[t._v("\n 查看"),e("span",{staticClass:"iconfont icon-jiantou views-jian"})])]),e("div",{staticClass:"tip"},[t._v("确定要核销此订单吗?")]),e("div",{staticClass:"sure",on:{click:t.confirm}},[t._v("确定核销")]),e("div",{staticClass:"sure cancel",on:{click:t.cancel}},[t._v("取消")])]),e("div",{staticClass:"maskModel",on:{touchmove:function(t){t.preventDefault()}}})])}),[],!1,null,"ac398d4e",null).exports),p=n("6db4"),v=n("7a1a");function g(t){return(g="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 m(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */m=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function u(t,e,n,i){var o=e&&e.prototype instanceof b?e:b,a=Object.create(o.prototype),s=new H(i||[]);return r(a,"_invoke",{value:z(t,n,s)}),a}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var h="suspendedStart",f="suspendedYield",p="executing",v="completed",y={};function b(){}function w(){}function S(){}var x={};l(x,a,(function(){return this}));var _=Object.getPrototypeOf,C=_&&_(_(T([])));C&&C!==n&&i.call(C,a)&&(x=C);var E=S.prototype=b.prototype=Object.create(x);function L(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function n(r,o,a,s){var c=d(t[r],t,o);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==g(u)&&i.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(u).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var o;r(this,"_invoke",{value:function(t,i){function r(){return new e((function(e,r){n(t,i,e,r)}))}return o=o?o.then(r,r):r()}})}function z(e,n,i){var r=h;return function(o,a){if(r===p)throw Error("Generator is already running");if(r===v){if("throw"===o)throw a;return{value:t,done:!0}}for(i.method=o,i.arg=a;;){var s=i.delegate;if(s){var c=$(s,i);if(c){if(c===y)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===h)throw r=v,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=p;var l=d(e,n,i);if("normal"===l.type){if(r=i.done?v:f,l.arg===y)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(r=v,i.method="throw",i.arg=l.arg)}}}function $(e,n){var i=n.method,r=e.iterator[i];if(r===t)return n.delegate=null,"throw"===i&&e.iterator.return&&(n.method="return",n.arg=t,$(e,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),y;var o=d(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function H(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function n(){for(;++r<e.length;)if(i.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(g(e)+" is not iterable")}return w.prototype=S,r(E,"constructor",{value:S,configurable:!0}),r(S,"constructor",{value:w,configurable:!0}),w.displayName=l(S,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,S):(t.__proto__=S,l(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},e.awrap=function(t){return{__await:t}},L(k.prototype),l(k.prototype,s,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,i,r,o){void 0===o&&(o=Promise);var a=new k(u(t,n,i,r),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},L(E),l(E,c,"Generator"),l(E,a,(function(){return this})),l(E,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var i in e)n.push(i);return n.reverse(),function t(){for(;n.length;){var i=n.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},e.values=T,H.prototype={constructor:H,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(I),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(i,r){return s.type="throw",s.arg=e,n.next=i,r&&(n.method="next",n.arg=t),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),I(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;I(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:T(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),y}},e}function y(t,e,n,i,r,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(i,r)}var b={name:"AdminOrderList",components:{WriteOff:f,PriceChange:i.a,Loading:a,HappyScroll:p.HappyScroll},props:{},data:function(){return{roterPre:d.a.roterPre,routePreKF:d.a.routePreKF,openErp:!1,current:"",change:!1,types:0,where:{page:1,limit:15,search:"",type:""},list:[],loaded:!1,loading:!1,orderInfo:{},status:null,iShidden:!1,ops:{vuescroll:{mode:"slide",enable:!1,tips:{deactive:"Push to Load",active:"Release to Load",start:"Loading...",beforeDeactive:"Load Successfully!"},auto:!1,autoLoadDistance:0,pullRefresh:{enable:!1},pushLoad:{enable:!0,auto:!0,autoLoadDistance:10}},bar:{background:"#393232",opacity:".5",size:"2px"}}}},watch:{"$route.params.type":function(t){void 0!=t&&(this.where.type=t,this.init())},types:function(){this.getIndex()}},created:function(){this.getErpConfig(),Object(v.a)().then((function(t){window.document.title="".concat(t.data.site_name," - 订单列表")}))},mounted:function(){var t=this;this.current="",this.getIndex(),this.$scroll(this.$refs.container,(function(){!t.loading&&t.getIndex()}))},methods:{getErpConfig:function(){var t=this;Object(c.a)().then((function(e){t.openErp=e.data.open_erp})).catch((function(e){t.$Message.error(e.msg)}))},bindSearch:function(){this.init()},storeCancellation:function(t){openErp||(this.orderInfo=t,this.iShidden=!0)},cancel:function(t){this.iShidden=t},confirm:function(){var t=this;Object(s.z)(this.orderInfo.id).then((function(e){t.iShidden=!1,t.init(),t.$dialog.success(e.msg)})).catch((function(e){t.$dialog.error(e.msg)}))},more:function(t){this.current===t?this.current="":this.current=t},modify:function(t,e){0==e&&openErp||(this.change=!0,this.orderInfo=t,this.status=e)},closeChange:function(t){this.change=t},changeclose:function(t){this.change=t,this.init()},getRefuse:function(t){orderRefuseApi(data).then((function(){that.change=!1,that.$dialog.success("已拒绝退款"),that.init()})).catch((function(t){that.$dialog.error(t.message)}))},savePrice:function(){var t,e=(t=m().mark((function t(e){var n,i,r,o,a,s;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=this,i={},r=e.price,o=e.refundPrice,a=n.orderInfo.refundStatus,s=e.remark,0!=n.status||0!==a){t.next=15;break}return t.prev=2,t.next=5,this.$validator({price:[Object(l.c)(l.c.message("金额"))]}).validate({price:r});case 5:t.next=10;break;case 7:return t.prev=7,t.t0=t.catch(2),t.abrupt("return",Object(u.b)(t.t0));case 10:i.price=r,i.orderId=e.orderId,editPriceApi(i).then((function(){n.change=!1,n.$dialog.success("改价成功"),n.init()})).catch((function(t){n.$dialog.error(t.message)})),t.next=41;break;case 15:if(0!=n.status||1!==a){t.next=30;break}return t.prev=16,t.next=19,this.$validator({refundPrice:[Object(l.c)(l.c.message("金额")),Object(l.b)(l.b.message("金额"))]}).validate({refundPrice:o});case 19:t.next=24;break;case 21:return t.prev=21,t.t1=t.catch(16),t.abrupt("return",Object(u.b)(t.t1));case 24:i.amount=o,i.type=e.type,i.orderId=e.orderId,orderRefundApi(i).then((function(t){n.change=!1,n.$dialog.success("退款成功"),n.init()}),(function(t){n.change=!1,n.$dialog.error(t.message)})),t.next=41;break;case 30:return t.prev=30,t.next=33,this.$validator({remark:[Object(l.c)(l.c.message("备注"))]}).validate({remark:s});case 33:t.next=38;break;case 35:return t.prev=35,t.t2=t.catch(30),t.abrupt("return",Object(u.b)(t.t2));case 38:i.mark=s,i.id=e.id,orderMarkApi(i).then((function(t){n.change=!1,n.$dialog.success("提交成功"),n.init()}),(function(t){n.change=!1,n.$dialog.error(t.msg)}));case 41:case"end":return t.stop()}}),t,this,[[2,7],[16,21],[30,35]])})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){y(o,i,r,a,s,"next",t)}function s(t){y(o,i,r,a,s,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),init:function(){this.list=[],this.where.page=1,this.loaded=!1,this.loading=!1,this.getIndex(),this.current=""},getIndex:function(){var t=this;this.loading||this.loaded||(this.loading=!0,Object(s.o)(this.$route.params.toUid,this.where).then((function(e){t.loading=!1,t.loaded=e.data.length<t.where.limit,t.list.push.apply(t.list,e.data||[]),t.where.page=t.where.page+1,t.$nextTick((function(){t.list.length>0&&t.$refs.scrollBox.refresh()}))}),(function(e){t.$dialog.error(e.msg)})))},changeStatus:function(t){this.where.type!==t&&(this.where.type=t,this.init())},toDetail:function(t){this.$router.push({path:d.a.routePreKF+"/orderDetail/"+t.id})},offlinePay:function(t){},handleWordsScroll:function(t,e,n){this.getIndex(),n()}}},w=(n("1d0a"),Object(o.a)(b,(function(){var t=this,e=t._self._c;return e("div",{ref:"container",staticClass:"pos-order-list"},[e("div",{staticClass:"head-box"},[e("div",{staticClass:"nav acea-row row-around row-middle"},[e("div",{staticClass:"item",class:""===t.where.type?"on":"",on:{click:function(e){return t.changeStatus("")}}},[t._v("\n 全部\n ")]),e("div",{staticClass:"item",class:0===t.where.type?"on":"",on:{click:function(e){return t.changeStatus(0)}}},[t._v("\n 未支付\n ")]),e("div",{staticClass:"item",class:2===t.where.type?"on":"",on:{click:function(e){return t.changeStatus(2)}}},[t._v("\n 未收货\n ")]),e("div",{staticClass:"item",class:-1===t.where.type?"on":"",on:{click:function(e){return t.changeStatus(-1)}}},[t._v("\n 退款中\n ")])]),e("div",{staticClass:"input-box"},[e("Input",{attrs:{placeholder:"搜索订单编号"},on:{"on-enter":t.bindSearch},model:{value:t.where.search,callback:function(e){t.$set(t.where,"search",e)},expression:"where.search"}})],1)]),e("div",{staticClass:"list"},[e("vue-scroll",{ref:"scrollBox",staticStyle:{height:"100%"},attrs:{ops:t.ops},on:{"load-before-deactivate":t.handleWordsScroll}},[e("div",{staticClass:"slot-load",attrs:{slot:"load-deactive"},slot:"load-deactive"}),e("div",{staticClass:"slot-load",attrs:{slot:"load-beforeDeactive"},slot:"load-beforeDeactive"}),e("div",{staticClass:"slot-load",attrs:{slot:"load-active"},slot:"load-active"},[t._v("下滑加载更多")]),t.list.length>0?t._l(t.list,(function(n,i){return e("div",{key:i,staticClass:"item"},[e("div",{staticClass:"order-num acea-row row-middle",on:{click:function(e){return t.toDetail(n)}}},[e("div",[e("div",[t._v("订单号:"+t._s(n.order_id))]),e("span",{staticClass:"time"},[t._v("下单时间:"+t._s(n._add_time))])])]),t._l(n.cartInfo,(function(i,r){return e("div",{key:r,staticClass:"pos-order-goods"},[e("div",{staticClass:"goods acea-row row-between-wrapper",on:{click:function(e){return t.toDetail(n)}}},[e("div",{staticClass:"picTxt acea-row row-between-wrapper"},[e("div",{staticClass:"pictrue"},[e("img",{attrs:{src:i.productInfo.image}})]),e("div",{staticClass:"text"},[e("div",{staticClass:"info line2"},[1==i.is_gift?e("span",{staticClass:"label"},[t._v("[赠品]")]):t._e(),t._v("\n "+t._s(i.productInfo.store_name)+"\n ")]),i.productInfo.attrInfo.suk?e("div",{staticClass:"attr line1"},[t._v("\n "+t._s(i.productInfo.attrInfo.suk)+"\n ")]):t._e()])]),e("div",{staticClass:"money"},[e("div",{staticClass:"x-money"},[t._v("¥"+t._s(i.productInfo.attrInfo.price))]),e("div",{staticClass:"num"},[t._v("x"+t._s(i.cart_num))]),e("div",{staticClass:"y-money"})])])])})),e("div",{staticClass:"public-total"},[t._v("\n 共"+t._s(n.total_num)+"件商品,应支付\n "),e("span",{staticClass:"money"},[t._v("¥"+t._s(n.pay_price))]),t._v(" ( 邮费 ¥"+t._s(n.pay_postage)+"\n )\n ")]),e("div",{staticClass:"operation acea-row row-between-wrapper"},[e("div",{staticClass:"more"}),e("div",{staticClass:"acea-row row-middle"},[0===n.paid?e("div",{staticClass:"bnt",class:t.openErp?"on":"",on:{click:function(e){return t.modify(n,0)}}},[t._v("\n 一键改价\n ")]):t._e(),e("div",{staticClass:"bnt",on:{click:function(e){return t.modify(n,1)}}},[t._v("订单备注")]),-1===n._status._type&&1===n.refund_status?e("div",{staticClass:"bnt",class:t.openErp?"on":"",on:{click:function(e){return t.modify(n,0)}}},[t._v("\n 立即退款\n ")]):t._e(),"offline"===n.pay_type&&0===n.paid?e("div",{staticClass:"bnt cancel",class:t.openErp?"on":"",on:{click:function(e){return t.offlinePay(n)}}},[t._v("\n 确认付款\n ")]):t._e(),1!==n._status._type||2===n.shipping_type||null!==n.pinkStatus&&2!==n.pinkStatus?t._e():e("router-link",{staticClass:"bnt",class:t.openErp?"on":"",attrs:{disabled:t.openErp,to:{path:"".concat(t.routePreKF,"/orderDelivery/").concat(n.id,"/").concat(n.order_id),query:{productType:n.product_type}}}},[t._v("去发货\n ")]),1===n._status._type&&2===n.shipping_type?e("div",{staticClass:"bnt cancel",class:t.openErp?"on":"",on:{click:function(e){return t.storeCancellation(n)}}},[t._v("\n 去核销\n ")]):t._e()],1)])],2)})):t._e(),t.loading||0!==t.list.length||""!==t.where.type?t._e():[e("div",{staticStyle:{"text-align":"center"}},[e("img",{staticClass:"width-rem",attrs:{src:n("468b"),alt:""}}),e("p",{staticStyle:{color:"#9F9F9F"}},[t._v("亲,该客户暂无订单~")])])],t.loading||0!==t.list.length||0!==t.where.type?t._e():[e("div",{staticStyle:{"text-align":"center"}},[e("img",{staticClass:"width-rem",attrs:{src:n("ea87"),alt:""}}),e("p",{staticStyle:{color:"#9F9F9F"}},[t._v("暂无未支付订单~")])])],t.loading||0!==t.list.length||2!==t.where.type?t._e():[e("div",{staticStyle:{"text-align":"center"}},[e("img",{staticClass:"width-rem",attrs:{src:n("5f70"),alt:""}}),e("p",{staticStyle:{color:"#9F9F9F"}},[t._v("暂无未收货订单~")])])],t.loading||0!==t.list.length||-1!==t.where.type?t._e():[e("div",{staticStyle:{"text-align":"center"}},[e("img",{staticClass:"width-rem",attrs:{src:n("060a"),alt:""}}),e("p",{staticStyle:{color:"#9F9F9F"}},[t._v("暂无退款订单~")])])]],2)],1),t.orderInfo?e("PriceChange",{attrs:{change:t.change,orderInfo:t.orderInfo,status:t.status},on:{closechange:function(e){return t.changeclose(e)},closeChange:function(e){return t.closeChange(e)}}}):t._e(),t.iShidden?e("write-off",{attrs:{iShidden:t.iShidden,orderInfo:t.orderInfo},on:{cancel:t.cancel,confirm:t.confirm}}):t._e()],1)}),[],!1,null,"74570995",null));e.default=w.exports},ba20:function(t,e,n){"use strict";n("f10f")},ea87:function(t,e,n){t.exports=n.p+"view_admin/img/no_zf.e61fe9b5.png"},f10f:function(t,e,n){}}]);