123 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-refund-detail","components-newSpecifications-newSpecifications","other-page-ProductsListOnce-ProductsListOnce","other-page-components-ProductSpecNumberBox"],{"027c":function(t,e,n){"use strict";var r=n("d0c5"),a=n.n(r);a.a},"097f":function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("926e"),Object.defineProperty(e,"__esModule",{value:!0});var a=n("6373"),i=function(t){return t&&t.__esModule?t:{default:t}}(a),o=n("e24c");var s=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t+=(0,o.mod11)(t),t+=(0,o.mod10)(t),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(i.default);e.default=s},"0c63":function(t,e,n){"use strict";n.r(e);var r=n("c8255"),a=n("abfc");for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("c47e");var o=n("828b"),s=Object(o["a"])(a["default"],r["b"],r["c"],!1,null,"30732f0a",null,!1,r["a"],void 0);e["default"]=s.exports},"0d41":function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("926e"),n("5c47"),n("af8f"),n("fd3c"),n("2c10"),Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n("8c6c"),o=n("822a"),s=function(t){return t&&t.__esModule?t:{default:t}}(o);function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}var l=function(t){function e(){return u(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"valid",value:function(){return-1!==this.data.search(/^([0-9]{2})+$/)}},{key:"encode",value:function(){var t=this,e=this.data.match(/.{2}/g).map((function(e){return t.encodePair(e)})).join("");return{data:i.START_BIN+e+i.END_BIN,text:this.text}}},{key:"encodePair",value:function(t){var e=i.BINARIES[t[1]];return i.BINARIES[t[0]].split("").map((function(t,n){return("1"===t?"111":"1")+("1"===e[n]?"000":"0")})).join("")}}]),e}(s.default);e.default=l},"0f6d":function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("926e"),n("fd3c"),n("5c47"),n("0506"),n("3efd"),n("a1c1"),n("bf0f"),n("ab80"),Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n("822a"),o=function(t){return t&&t.__esModule?t:{default:t}}(i),s=n("b802");var u=function(t){function e(t,n){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t.substring(1),n));return a.bytes=t.split("").map((function(t){return t.charCodeAt(0)})),a}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var t=this.bytes,n=t.shift()-105,r=s.SET_BY_CODE[n];if(void 0===r)throw new RangeError("The encoding does not start with a start character.");!0===this.shouldEncodeAsEan128()&&t.unshift(s.FNC1);var a=e.next(t,1,r);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:e.getBar(n)+a.result+e.getBar((a.checksum+n)%s.MODULO)+e.getBar(s.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var t=this.options.ean128||!1;return"string"===typeof t&&(t="true"===t.toLowerCase()),t}}],[{key:"getBar",value:function(t){return s.BARS[t]?s.BARS[t].toString():""}},{key:"correctIndex",value:function(t,e){if(e===s.SET_A){var n=t.shift();return n<32?n+64:n-32}return e===s.SET_B?t.shift()-32:10*(t.shift()-48)+t.shift()-48}},{key:"next",value:function(t,n,r){if(!t.length)return{result:"",checksum:0};var a=void 0,i=void 0;if(t[0]>=200){i=t.shift()-105;var o=s.SWAP[i];void 0!==o?a=e.next(t,n+1,o):(r!==s.SET_A&&r!==s.SET_B||i!==s.SHIFT||(t[0]=r===s.SET_A?t[0]>95?t[0]-96:t[0]:t[0]<32?t[0]+96:t[0]),a=e.next(t,n+1,r))}else i=e.correctIndex(t,r),a=e.next(t,n+1,r);var u=e.getBar(i),c=i*n;return{result:u+a.result,checksum:c+a.checksum}}}]),e}(o.default);e.default=u},"10dd":function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("926e"),Object.defineProperty(e,"__esModule",{value:!0}),e.GenericBarcode=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n("822a"),o=function(t){return t&&t.__esModule?t:{default:t}}(i);var s=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),e}(o.default);e.GenericBarcode=s},"13d2":function(t,e,n){var r=n("c86c");e=r(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-badge[data-v-5ef10296]{width:auto;height:auto;box-sizing:border-box;display:flex;align-items:center;justify-content:center;z-index:10;font-size:%?20?%;background-color:#fff;border-radius:%?100?%;padding:%?4?% %?8?%;line-height:normal}.tn-badge--dot[data-v-5ef10296]{width:%?8?%;height:%?8?%;border-radius:50%;padding:0}.tn-badge--absolute[data-v-5ef10296]{position:absolute;top:0;right:0}.tn-badge--center-position[data-v-5ef10296]{-webkit-transform:translate(50%,-50%);transform:translate(50%,-50%)}',""]),t.exports=e},"1c99":function(t,e,n){"use strict";n("6a54"),n("5c47"),n("2c10"),n("23f4"),n("7d2f"),n("9c4e"),n("ab80"),n("a1c1"),Object.defineProperty(e,"__esModule",{value:!0});var r=n("b802"),a=function(t){return t.match(new RegExp("^"+r.A_CHARS+"*"))[0].length},i=function(t){return t.match(new RegExp("^"+r.B_CHARS+"*"))[0].length},o=function(t){return t.match(new RegExp("^"+r.C_CHARS+"*"))[0]};function s(t,e){var n=e?r.A_CHARS:r.B_CHARS,a=t.match(new RegExp("^("+n+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(a)return a[1]+String.fromCharCode(204)+u(t.substring(a[1].length));var i=t.match(new RegExp("^"+n+"+"))[0];return i.length===t.length?t:i+String.fromCharCode(e?205:206)+s(t.substring(i.length),!e)}function u(t){var e=o(t),n=e.length;if(n===t.length)return t;t=t.substring(n);var r=a(t)>=i(t);return e+String.fromCharCode(r?206:205)+s(t,r)}e.default=function(t){var e=void 0,n=o(t).length;if(n>=2)e=r.C_START_CHAR+u(t);else{var c=a(t)>i(t);e=(c?r.A_START_CHAR:r.B_START_CHAR)+s(t,c)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,(function(t,e){return String.fromCharCode(203)+e}))}},"1dbd":function(t,e,n){"use strict";var r=n("ac5f"),a=n("1fc1"),i=n("41c7"),o=n("ae5c"),s=function(t,e,n,u,c,l,f,d){var p,h,v=c,b=0,g=!!f&&o(f,d);while(b<u)b in n&&(p=g?g(n[b],b,e):n[b],l>0&&r(p)?(h=a(p),v=s(t,e,p,h,v,l-1)-1):(i(v+1),t[v]=p),v++),b++;return v};t.exports=s},"1ee6":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"tn-badge-class tn-badge",class:[t.backgroundColorClass,t.fontColorClass,t.badgeClass],style:[t.badgeStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleClick.apply(void 0,arguments)}}},[t.dot?t._e():t._t("default")],2)},a=[]},"234c":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var r=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"tki-barcode"},[e("v-uni-canvas",{staticClass:"tki-barcode-canvas",style:{width:this.canvasWidth+"px",height:this.canvasHeight+"px"},attrs:{"canvas-id":this.cid}}),e("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:this.show,expression:"show"}],style:{width:this.canvasWidth+"px",height:this.canvasHeight+"px"},attrs:{src:this.result}})],1)},a=[]},"25e2":function(t,e,n){"use strict";n.r(e);var r=n("5766"),a=n("708d");for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("d2b6");var o=n("828b"),s=Object(o["a"])(a["default"],r["b"],r["c"],!1,null,"51044b44",null,!1,r["a"],void 0);e["default"]=s.exports},2634:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
- e.default=function(){return t};var t={},n=Object.prototype,a=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",u=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 f(t,e,n,r){var a=e&&e.prototype instanceof h?e:h,o=Object.create(a.prototype),s=new k(r||[]);return i(o,"_invoke",{value:O(t,n,s)}),o}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(T){return{type:"throw",arg:T}}}t.wrap=f;var p={};function h(){}function v(){}function b(){}var g={};l(g,s,(function(){return this}));var _=Object.getPrototypeOf,y=_&&_(_(j([])));y&&y!==n&&a.call(y,s)&&(g=y);var m=b.prototype=h.prototype=Object.create(g);function w(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){var n;i(this,"_invoke",{value:function(i,o){function s(){return new e((function(n,s){(function n(i,o,s,u){var c=d(t[i],t,o);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==(0,r.default)(f)&&a.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,s,u)}),(function(t){n("throw",t,s,u)})):e.resolve(f).then((function(t){l.value=t,s(l)}),(function(t){return n("throw",t,s,u)}))}u(c.arg)})(i,o,n,s)}))}return n=n?n.then(s,s):s()}})}function O(t,e,n){var r="suspendedStart";return function(a,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw i;return P()}for(n.method=a,n.arg=i;;){var o=n.delegate;if(o){var s=C(o,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=d(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function C(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=void 0,C(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var a=d(r,t.iterator,e.arg);if("throw"===a.type)return e.method="throw",e.arg=a.arg,e.delegate=null,p;var i=a.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function S(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 E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function j(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(a.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:P}}function P(){return{value:void 0,done:!0}}return v.prototype=b,i(m,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:v,configurable:!0}),v.displayName=l(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,l(t,c,"GeneratorFunction")),t.prototype=Object.create(m),t},t.awrap=function(t){return{__await:t}},w(x.prototype),l(x.prototype,u,(function(){return this})),t.AsyncIterator=x,t.async=function(e,n,r,a,i){void 0===i&&(i=Promise);var o=new x(f(e,n,r,a),i);return t.isGeneratorFunction(n)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},w(m),l(m,c,"Generator"),l(m,s,(function(){return this})),l(m,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=j,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&a.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return o.type="throw",o.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=a.call(i,"catchLoc"),u=a.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.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&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(o)},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),p},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),E(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var a=r.arg;E(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:j(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},t},n("6a54"),n("01a2"),n("e39c"),n("bf0f"),n("844d"),n("18f7"),n("de6c"),n("3872e"),n("4e9b"),n("114e"),n("c240"),n("926e"),n("7a76"),n("c9b5"),n("aa9c"),n("2797"),n("8a8d"),n("dc69"),n("f7a5");var r=function(t){return t&&t.__esModule?t:{default:t}}(n("fcf3"))},"2fdc":function(t,e,n){"use strict";function r(t,e,n,r,a,i,o){try{var s=t[i](o),u=s.value}catch(c){return void n(c)}s.done?e(u):Promise.resolve(u).then(r,a)}n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return function(){var e=this,n=arguments;return new Promise((function(a,i){var o=t.apply(e,n);function s(t){r(o,a,i,s,u,"next",t)}function u(t){r(o,a,i,s,u,"throw",t)}s(void 0)}))}},n("bf0f")},"390e":function(t,e,n){"use strict";n("6a54");var r=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.ItemsRefunded=m,e.calculateRefund=d,e.cancelOrderApi=E,e.categoryList=y,e.default=void 0,e.getIsReserveNumApi=j,e.getOrderIdByOrderSnApi=void 0,e.getThirdDeliveryResult=T,e.mealServedApi=S,e.operationsManagement=w,e.orderStatus=x,e.partialRefund=f,e.print=O,e.selfdelivery=C,e.sendOrderBySelfApi=k,e.setting=s,e.storeList=_,e.subRefund=p,e.takeoutDetail=c,e.takeoutDetailNoNeedLoginApi=l,e.takeoutList=u,e.takeoutListStatus=o,e.tangshiList=h,e.thirdDeliveryOption=A,e.tsOrderCancel=b,e.tsOrderPay=g,e.tsOrderStatus=v;var a=r(n("9b1b")),i=r(n("5b42"));function o(t){return i.default.get("api/manage.order.order/statusStatistic",{params:t})}function s(t){return i.default.get("api/manage.order.order/setting",{params:t})}function u(t){return i.default.get("api/manage.order.order/list",{params:t})}function c(t){return i.default.get("api/manage.order.order/detail",{params:t})}function l(t){return i.default.get("api/manage.order.order/detailNoNeedLogin",{params:t})}function f(t){return i.default.get("api/manage.order.order/refund",{params:t})}function d(t){return i.default.post("api/manage.order.order/refundCalculate",t)}function p(t){return i.default.post("api/manage.order.order/refund",t)}function h(t){return i.default.get("api/manage.order.tangshi/list",{params:t})}function v(t){return i.default.post("api/manage.order.tangshi/status",t)}function b(t){return i.default.get("api/manage.order.tangshi/cancel",{params:t})}function g(t){return i.default.get("api/manage.order.tangshi/pay_status",{params:t})}function _(t){return i.default.post("api/manage.user.user/storeList",t)}function y(t,e){return i.default.get("api/manage.goods.category/list",{params:t})}function m(t,e){return util.request((0,a.default)({method:"post",url:"manage/order/takeout/refund_calculate",data:t},e))}function w(t,e){return util.request((0,a.default)({method:"get",url:"manage/shop/index/index",data:t},e))}function x(t){return i.default.post("api/manage.order.order/status",t)}function O(t){return i.default.post("api/manage.order.order/print",t)}function C(t){return i.default.post("api/manage.order.order/selfdelivery",t)}function S(t){return i.default.post("api/manage.order.order/mealServed",{id:t})}function E(t){return i.default.get("api/manage.order.order/cancel",{params:t})}function k(t){return i.default.post("api/manage.order.order/sendOrderBySelf",t)}function j(t){return i.default.get("api/manage.order.order/getIsReserveNum",{params:t})}var P=function(t){return i.default.get("api/manage.order.order/getOrderIdByOrderSn",{params:t})};function T(t){return i.default.get("api/manage.order.order/getThirdDeliveryResult",{params:t})}function A(t){return i.default.post("api/manage.order.order/thirdDeliveryOption",t)}e.getOrderIdByOrderSnApi=P;var L={thirdDeliveryOption:A,getThirdDeliveryResult:T,calculateRefund:d,takeoutListStatus:o,setting:s,takeoutList:u,operationsManagement:w,takeoutDetail:c,partialRefund:f,tangshiList:h,storeList:_,categoryList:y,ItemsRefunded:m,subRefund:p,orderStatus:x,tsOrderStatus:v,tsOrderCancel:b,tsOrderPay:g,print:O,selfdelivery:C,mealServedApi:S,cancelOrderApi:E,sendOrderBySelfApi:k,getIsReserveNumApi:j,getOrderIdByOrderSnApi:P,takeoutDetailNoNeedLoginApi:l};e.default=L},"3c89":function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("5c47"),n("af8f"),n("926e"),n("a1c1"),n("aa9c"),Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n("822a"),o=function(t){return t&&t.__esModule?t:{default:t}}(i);var s=function(t){function e(t,n){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,e),0===t.search(/^[0-9\-\$\:\.\+\/]+$/)&&(t="A"+t+"A");var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t.toUpperCase(),n));return a.text=a.options.text||a.text.replace(/[A-D]/g,""),a}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)}},{key:"encode",value:function(){for(var t=[],e=this.getEncodings(),n=0;n<this.data.length;n++)t.push(e[this.data.charAt(n)]),n!==this.data.length-1&&t.push("0");return{text:this.text,data:t.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"101100110011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),e}(o.default);e.codabar=s},"43d1":function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.ITF14=e.ITF=void 0;var r=n("0d41"),a=s(r),i=n("460f"),o=s(i);function s(t){return t&&t.__esModule?t:{default:t}}e.ITF=a.default,e.ITF14=o.default},"460f":function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("473f"),n("bf0f"),n("fd3c"),n("e966"),n("5c47"),n("af8f"),n("926e"),Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n("0d41"),o=function(t){return t&&t.__esModule?t:{default:t}}(i);var s=function(t){var e=t.substr(0,13).split("").map((function(t){return parseInt(t,10)})).reduce((function(t,e,n){return t+e*(3-n%2*2)}),0);return 10*Math.ceil(e/10)-e},u=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),-1!==t.search(/^[0-9]{13}$/)&&(t+=s(t)),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{14}$/)&&+this.data[13]===s(this.data)}}]),e}(o.default);e.default=u},"4a07":function(t,e,n){var r=n("c86c");e=r(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.bg_color[data-v-51044b44]{position:fixed;top:0;z-index:-1;height:%?300?%;width:100%;background:linear-gradient(117deg,#32baee,#3a91f8)}.qrcode[data-v-51044b44]{margin-bottom:%?10?%;display:flex;align-items:center}.qrcode p[data-v-51044b44]{color:#999;font-family:PingFang SC;font-size:%?26?%}.qrcode .eye[data-v-51044b44]{display:flex;padding:4px 8px;justify-content:center;align-items:center;gap:%?4?%;border-radius:%?6?%;background:#e2e7ee;margin-left:%?12?%}.qrcode .eye .eye-code[data-v-51044b44]{color:#707a87;font-family:PingFang SC;font-size:%?22?%;font-style:normal;font-weight:400;display:inline-block;vertical-align:middle;margin-left:%?6?%}.bg_content[data-v-51044b44]{width:100%;position:fixed;z-index:-1;top:%?170?%;height:100vh;background-color:#f4f4f4;background:linear-gradient(180deg,hsla(0,0%,96.9%,0),#f7f7f7 7%,#f7f7f7)}.header[data-v-51044b44]{position:fixed;top:0;height:%?160?%;width:100%;background:linear-gradient(117deg,#32baee,#3a91f8);z-index:1000}.header .navbar[data-v-51044b44]{display:flex}.header .navbar .navbar_back[data-v-51044b44]{position:absolute;left:%?20?%;font-size:%?36?%;color:#f5f1f1;margin-top:%?80?%}.header .navbar .navbar_title[data-v-51044b44]{font-size:%?36?%;color:#f5f1f1;margin:0 auto;margin-top:%?80?%}.shangpu-shadow[data-v-51044b44]{border-radius:%?15?%;background-color:#fff;box-shadow:%?0?% %?0?% %?50?% %?0?% rgba(0,0,0,.07)}.peusongfuwu[data-v-51044b44]{border:1px solid #ffc296;font-size:%?24?%;color:#ff852f;border-radius:%?10?%;padding:%?5?% %?10?%}.card-title[data-v-51044b44]{background:linear-gradient(103deg,#e6f3ff,#fff);padding:%?23?% %?25?%;font-size:%?36?%}.left[data-v-51044b44]{flex:1}.right[data-v-51044b44]{flex:3}',""]),t.exports=e},"4a69":function(t,e,n){"use strict";n("6a54");var r=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.changeOrderStatus=o,e.changeTangshiOrderStatus=s,e.default=void 0,n("c223"),n("8f71"),n("bf0f"),n("5ef2"),n("dd2b");var a=r(n("05d8"));r(n("390e"));function i(t){return{handle:{tip:"确定接单吗",success_status:2},notify_deliveryer_collect:{tip:"确定通知配送员抢单吗",success_status:3},direct_deliveryer:{tip:"",success_status:3},end:{tip:"确定完成订单吗",success_status:5},cancel:{tip:"确定取消订单吗",success_status:6},cancel_refund:{tip:"确定取消订单并退款吗",success_status:6},delivery_ing:{tip:"确定设置为配送中吗",success_status:4},reply:{tip:"",success_status:0},pay_status:{tip:"确定设为已支付吗",success_status:0},notify_sortingcenter:{tip:"确定通知分拣中心吗",success_status:0},notify_consumer_pickup:{tip:"确定通知顾客已备好货吗",success_status:2}}[t]}function o(t){var e=t.order,n=t.type;if("print"!=n){var r=i(n),o=r.tip;"handle"==n&&1==e.is_reserve&&(o=e.handle_tip);var s=r.success_status;if("cancel"==n||"cancel_refund"==n||"direct_deliveryer"==n||"reply"==n)uni.navigateTo({url:"/pages/order/refund/op?id=".concat(e.id,"&type=").concat(n)});else{u={url:"api/manage.order.order/status",data:{id:e.id,type:n},confirm:o,success:function(e){if(a.default.$toast(e),"detail"==t.from&&s)t.vue.order.status=s,"notify_consumer_pickup"==n&&t.vue.order.data["notify_consumer_pickup_num"]++,t.vue.order=Object.assign({},t.vue.order);else{if("notify_deliveryer_collect"==n&&3==t.vue.filter.items.status)return;-1!=["handle","end","notify_deliveryer_collect","delivery_ing"].indexOf(n)&&t.index>=0&&("search"==t.from?t.vue.records.data[t.index].status=s:t.vue.records.data.splice(t.index,1)),"notify_consumer_pickup"==n&&t.index>=0&&t.vue.records.data[t.index].data["notify_consumer_pickup_num"]++}}};a.default.jspost(u)}}else{var u={url:"manage/order/takeout/print",data:{id:e.id},confirm:"确定打印订单吗",success:function(e){a.default.$toast(e),"detail"==t.from&&s?(t.vue.order.print_nums++,t.vue.order=Object.assign({},t.vue.order)):t.vue.records.data[t.index].print_nums++}};a.default.jspost(u)}}function s(t,e){var n=t.order,r=t.type,o=i(r),s=(o.tip,o.success_status,"manage/order/takeout/status");"cancel"==r||"cancel_refund"==r?s="manage/order/tangshi/cancel":"pay_status"==r&&(s="manage/order/tangshi/pay_status");var u={url:s,data:{id:n.id,type:r},success:function(t){uni.showToast({title:t,icon:"none"}),e&&"function"===typeof e&&e()}};a.default.jspost(u)}var u={orderStatusChangeTips:i,changeOrderStatus:o,changeTangshiOrderStatus:s,confirmOrderByCode:function(t){var e=t.code,n=t.sid,r={url:"manage/order/takeout/confirm",data:{code:e,sid:n},confirm:t.confirm,success:function(e){"detail"==t.from?a.default.$toast(e,"refresh",1500):(t.vue.code="",a.default.$toast(e))}};a.default.jspost(r)}};e.default=u},"54e3":function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("473f"),n("bf0f"),n("fd3c"),n("926e"),n("5c47"),n("af8f"),Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n("e0cb"),o=n("c77a"),s=l(o),u=n("822a"),c=l(u);function l(t){return t&&t.__esModule?t:{default:t}}var f=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{5}$/)}},{key:"encode",value:function(){var t=i.EAN5_STRUCTURE[function(t){var e=t.split("").map((function(t){return+t})).reduce((function(t,e,n){return n%2?t+9*e:t+3*e}),0);return e%10}(this.data)];return{data:"1011"+(0,s.default)(this.data,t,"01"),text:this.text}}}]),e}(c.default);e.default=f},5766:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r}));var r={tnButton:n("29d7").default,tnAvatar:n("8087").default,tnToast:n("0c63").default,tnModal:n("2235").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("v-uni-view",{staticClass:"header"},[n("v-uni-view",{staticClass:"navbar"},[n("v-uni-view",{staticClass:"navbar_back tn-custom-nav-bar__bar__action--nav-back tn-icon-left",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleNavBack.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"navbar_title"},[t._v("订单详情")])],1)],1),n("v-uni-view",{staticClass:"bg_color"}),n("v-uni-view",{staticClass:"bg_content"}),n("v-uni-view",{staticClass:"tn-margin"},[t.order?n("v-uni-view",{staticClass:"shangpu-shadow",staticStyle:{"margin-top":"160rpx",padding:"30rpx 0"}},[n("v-uni-view",{staticClass:"tn-flex tn-padding-xs tn-text-center tn-flex-col-center tn-flex tn-flex-direction-row",staticStyle:{"justify-content":"center","align-items":"center"}},[n("i",{staticClass:"tn-icon-order tn-text-xxl",staticStyle:{color:"#33aafc","font-size":"35px"}}),n("v-uni-text",{staticClass:"tn-text-bold tn-margin-left-xs tn-text-xxl",staticStyle:{"font-size":"25px"}},[t._v("订单"+t._s(t.order.status_cn))])],1),t.order.status>=2&&t.order.status<5&&1==t.order.order_type?n("v-uni-view",{staticClass:"tn-padding-xs tn-text-center",staticStyle:{color:"#7a7a7a"}},[n("v-uni-text",[t._v("配送时间:")]),n("v-uni-text",[t._v(t._s(t.order.delivery_time))])],1):t._e(),t.order.status<5?n("v-uni-view",{staticClass:"tn-text-bold tn-padding-xs tn-flex",staticStyle:{"justify-content":"center","flex-wrap":"wrap"}},[1==t.order.store_gaijia_status?[n("div",{staticClass:"btn bg-info",staticStyle:{"margin-right":"10px"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onUpdateOrderStatus("change_price")}}},[t._v("改价")])]:t._e(),1==t.order.status?[n("tn-button",{staticClass:"btn bg-danger",staticStyle:{"margin-right":"10px"},attrs:{backgroundColor:"#33aafc",fontColor:"#FFFFFF"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onUpdateOrderStatus("handle")}}},[t._v("确认")])]:2==t.order.status||3==t.order.status?[1==t.order.order_type?[n("tn-button",{staticClass:"btn bg-danger",staticStyle:{"margin-right":"10px"},attrs:{backgroundColor:"#33aafc",fontColor:"#FFFFFF"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onUpdateOrderStatus("notify_deliveryer_collect")}}},[t._v("通知配送")]),t.order.store&&1==t.order.store.delivery_mode?[n("tn-button",{staticClass:"btn bg-danger",staticStyle:{"margin-right":"10px"},attrs:{backgroundColor:"#33aafc",fontColor:"#FFFFFF"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onUpdateOrderStatus("direct_deliveryer")}}},[t._v("指定配送")]),n("tn-button",{staticClass:"btn bg-danger",staticStyle:{"margin-right":"10px"},attrs:{backgroundColor:"#33aafc",fontColor:"#FFFFFF"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onUpdateOrderStatus("delivery_ing")}}},[t._v("设为配送中")]),t.order.store.data.dada&&1==t.order.store.data.dada.status?n("div",{staticClass:"btn bg-info",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onPushOtherPlateform(t.order.id,"dada")}}},[t._v("达达配送")]):t._e()]:t._e(),t.order.store.data.uupaotui&&1==t.order.store.data.uupaotui.status?n("div",{staticClass:"btn bg-info",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onPushOtherPlateform(t.order.id)}}},[t._v("UU配送")]):t._e(),t.order.store.data.shansong&&1==t.order.store.data.shansong.status?n("div",{staticClass:"btn bg-info",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onPushOtherPlateform(t.order.id,"shansong")}}},[t._v("闪送")]):t._e(),t.order.store.data.ishansong&&1==t.order.store.data.ishansong.status?n("div",{staticClass:"btn bg-info",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onPushOtherPlateform(t.order.id,"ishansong")}}},[t._v("闪送(新版)")]):t._e(),t.order.store.data.dianwoda&&1==t.order.store.data.dianwoda.status?n("div",{staticClass:"btn bg-info",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onPushOtherPlateform(t.order.id,"dianwoda")}}},[t._v("点我达")]):t._e(),t.order.store.data.sfexpress&&1==t.order.store.data.sfexpress.status?n("div",{staticClass:"btn bg-info",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onPushOtherPlateform(t.order.id,"sfexpress")}}},[t._v("顺丰同城")]):t._e(),t.order.store.data.kuaipaozhe&&1==t.order.store.data.kuaipaozhe.status?n("div",{staticClass:"btn bg-info",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onPushOtherPlateform(t.order.id,"kuaipaozhe")}}},[t._v("快跑者")]):t._e(),t.order.store.data.keloop&&1==t.order.store.data.keloop.status?n("div",{staticClass:"btn bg-info",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onPushOtherPlateform(t.order.id,"keloop")}}},[t._v("快跑者同城急送")]):t._e(),t.order.store.data.fengniao&&1==t.order.store.data.fengniao.status?n("div",{staticClass:"btn bg-info",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onPushOtherPlateform(t.order.id,"fengniao")}}},[t._v("蜂鸟配送")]):t._e(),t.order.store.data.lalapaotui&&1==t.order.store.data.lalapaotui.status?n("div",{staticClass:"btn bg-info",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onPushOtherPlateform(t.order.id,"lalapaotui")}}},[t._v("啦啦跑腿")]):t._e()]:2==t.order.order_type?[1==t.order.is_pay&&2==t.order.status?n("tn-button",{staticStyle:{"margin-right":"10px"},attrs:{backgroundColor:"#33aafc",fontColor:"#FFFFFF"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onUpdateOrderStatus("notify_consumer_pickup")}}},[t._v("通知顾客已备好货("+t._s(t.order.data.notify_consumer_pickup_num)+")")]):t._e(),1==t.order.is_pay?n("tn-button",{staticStyle:{"margin-right":"10px"},attrs:{backgroundColor:"#33aafc",fontColor:"#FFFFFF"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onUpdateOrderStatus("end")}}},[t._v("已自提")]):t._e()]:t.order.order_type>=3?[n("tn-button",{staticClass:"btn bg-danger",staticStyle:{"margin-right":"10px"},attrs:{backgroundColor:"#33aafc",fontColor:"#FFFFFF"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onUpdateOrderStatus("end")}}},[t._v("完成")])]:t._e()]:4==t.order.status?[1!=t.order.order_type?n("div",{staticClass:"btn bg-info",staticStyle:{"margin-right":"10px"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onUpdateOrderStatus("end")}}},[t._v("完成")]):t._e()]:1==t.order.delivery_type&&t.order.status>1&&t.order.status<5&&1==t.order.order_type?[n("div",{staticClass:"btn bg-info",staticStyle:{"margin-right":"10px"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onUpdateOrderStatus("end")}}},[t._v("完成")])]:t._e(),t.order.order_type>2?[1==t.order.is_pay&&"delivery"!=t.order.pay_type&&6!=t.order.status?n("tn-button",{staticClass:"btn bg-danger",staticStyle:{"margin-right":"10px"},attrs:{backgroundColor:"#fc0006",fontColor:"#FFFFFF"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onUpdateTanshiOrderStatus("cancel_refund")}}},[t._v("取消并退款")]):n("tn-button",{staticClass:"btn bg-danger",staticStyle:{"margin-right":"10px"},attrs:{backgroundColor:"#fc0006",fontColor:"#FFFFFF"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onUpdateOrderStatus("cancel")}}},[t._v("取消")])]:[1==t.order.status||t.order.status>1&&1==t.config.cancel_after_handle&&7!==t.order.delivery_status?n("tn-button",{staticClass:"btn bg-danger",staticStyle:{"margin-right":"10px"},attrs:{backgroundColor:"#fc0006",fontColor:"#FFFFFF"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onUpdateOrderStatus("cancel")}}},[t._v("取消")]):t._e()],t.order.status>1&&2==t.order.order_type?void 0:t._e()],2):t._e(),t.order.deliveryer_id>0?n("v-uni-view",{staticClass:"tn-padding-lg"},[n("v-uni-view",{staticClass:"tn-flex"},[n("v-uni-view",{staticClass:"tn-margin-right"},[n("tn-avatar",{attrs:{src:t.order.deliveryer.avatar}})],1),n("v-uni-view",{staticClass:"tn-flex",staticStyle:{"flex-direction":"column"}},[n("v-uni-text",[t._v(t._s(t.order.deliveryer.title))]),n("v-uni-text",[t._v(t._s(t.order.delivery_title))]),n("v-uni-text",[t._v(t._s(t.order.deliveryer.mobile))])],1),n("v-uni-view",{staticClass:"tn-flex",staticStyle:{"justify-content":"flex-end","margin-left":"auto"}},[n("i",{staticClass:"tn-icon-tel-circle tn-text-xxl",staticStyle:{color:"#33aafc"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.lianxi_kehu(t.order.deliveryer.mobile)}}})])],1)],1):t._e()],1):t._e(),n("v-uni-view",{staticClass:"shangpu-shadow tn-margin-top-sm tn-padding-bottom-sm"},[n("v-uni-view",{staticClass:"tn-flex",staticStyle:{"justify-content":"space-between",color:"#989898","font-size":"13px"}},[n("v-uni-view",{staticClass:"tn-margin-sm"},[t._v("商品信息")]),n("v-uni-view",{staticClass:"tn-margin-sm"},[t._v("小计")])],1),t._l(t.order.goods,(function(e){return n("v-uni-view",{staticStyle:{"justify-content":"space-between",padding:"0 24rpx 24rpx 24rpx"}},[e.goods_number?n("v-uni-view",{staticClass:"qrcode"},[n("p",[t._v("商品编码:"+t._s(e.goods_number))]),n("v-uni-view",{staticClass:"eye",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.bindEyeCode(e.goods_number)}}},[n("v-uni-text",{staticClass:"tn-icon-eye",staticStyle:{display:"inline-block","vertical-align":"middle"}}),n("p",{staticClass:"eye-code"},[t._v("查看条形码")])],1)],1):t._e(),n("v-uni-view",{staticClass:"tn-flex",staticStyle:{"justify-content":"space-between",padding:"0 24rpx 24rpx 24rpx"}},[n("v-uni-view",{staticClass:"tn-flex"},[n("v-uni-view",{staticStyle:{width:"70px",height:"70px"}},[n("v-uni-image",{staticStyle:{"border-radius":"16rpx",width:"140rpx"},attrs:{src:e.thumb,mode:"widthFix"}})],1),n("v-uni-view",{staticClass:"tn-margin-left-sm tn-flex",staticStyle:{"flex-direction":"column","justify-content":"space-between"}},[n("v-uni-view",{staticStyle:{"font-size":"14px"}},[t._v(t._s(e.goods_title.replace(e.goods_options_title,""))),t.order.tuangouquan&&t.order.tuangouquan.goods_id==e.goods_id?n("v-uni-text",{staticStyle:{color:"red","font-size":"24rpx","margin-left":"5rpx"}},[t._v("(团购券抵扣:"+t._s(t.order.tuangouquan["discount"])+")")]):t._e()],1),e.goods_options_title?n("v-uni-view",{staticStyle:{"font-size":"14px",color:"#03AD00","margin-top":"10rpx"}},[t._v(t._s(e.goods_options_title.slice(1,-1)))]):t._e(),n("v-uni-view",{staticStyle:{"font-size":"12px",color:"#666666"}},[t._v("x"+t._s(e.goods_num))])],1)],1),n("v-uni-view",{staticClass:"tn-flex"},[n("v-uni-view",{},[t._v(t._s(t.CurrencyUnit)+t._s(e.goods_price))])],1)],1)],1)})),n("v-uni-view",[n("v-uni-view",{staticClass:"tn-padding-left-sm tn-padding-right-sm"},[n("v-uni-view",{staticClass:"tn-padding-bottom-sm"},[n("v-uni-view",{staticClass:"tn-flex"},[n("v-uni-view",{staticClass:"tn-flex-1",staticStyle:{color:"#666666","font-size":"13px"}},[t._v("订单编号")]),n("v-uni-view",[t._v(t._s(t.order.ordersn))])],1),n("v-uni-view",{staticClass:"tn-flex tn-margin-top-sm"},[n("v-uni-view",{staticClass:"tn-flex-1",staticStyle:{color:"#666666","font-size":"13px"}},[t._v("原价合计")]),n("v-uni-view",[t._v(t._s(t.CurrencyUnit)+t._s(t.order.price))])],1),n("v-uni-view",{staticClass:"tn-flex tn-margin-top-sm"},[n("v-uni-view",{staticClass:"tn-flex-1",staticStyle:{color:"#666666","font-size":"13px"}},[t._v("配送费("),1==t.order.delivery_type?n("v-uni-text",[t._v("归商户")]):n("v-uni-text",[t._v("归平台")]),t._v(")")],1),n("v-uni-view",[t._v(t._s(t.CurrencyUnit)+t._s(t.order.delivery_fee))])],1),n("v-uni-view",{staticClass:"tn-flex tn-margin-top-sm"},[n("v-uni-view",{staticClass:"tn-flex-1",staticStyle:{color:"#666666","font-size":"13px"}},[t._v(t._s(t.order.store.cn.box_price))]),n("v-uni-view",[t._v(t._s(t.CurrencyUnit)+t._s(t.order.box_price))])],1),n("v-uni-view",{staticClass:"tn-flex tn-margin-top-sm"},[n("v-uni-view",{staticClass:"tn-flex-1",staticStyle:{color:"#666666","font-size":"13px"}},[t._v(t._s(t.order.store.cn.pack_fee))]),n("v-uni-view",[t._v(t._s(t.CurrencyUnit)+t._s(t.order.pack_fee))])],1),t.order.data?n("v-uni-view",[t._l(t.order.data.extra_fee,(function(e){return t.order.data.extra_fee.length>0?n("v-uni-view",{staticClass:"tn-flex tn-margin-top-sm"},[n("v-uni-view",{staticClass:"tn-flex-1",staticStyle:{color:"#666666","font-size":"13px"}},[t._v(t._s(e.name)+"(归平台)")]),n("v-uni-view",[t._v(t._s(t.CurrencyUnit)+t._s(e.fee))])],1):t._e()})),t._l(t.order.data.store_extra_fee,(function(e){return t.order.data.store_extra_fee.length>0?n("v-uni-view",{staticClass:"tn-flex tn-margin-top-sm"},[n("v-uni-view",{staticClass:"tn-flex-1",staticStyle:{color:"#666666","font-size":"13px"}},[t._v(t._s(e.name)+"(归商户)")]),n("v-uni-view",[t._v(t._s(t.CurrencyUnit)+t._s(e.fee))])],1):t._e()}))],2):t._e(),n("v-uni-view",{staticClass:"tn-flex tn-margin-top-sm"},[n("v-uni-view",{staticClass:"tn-flex-1",staticStyle:{color:"#666666","font-size":"13px"}},[t._v("平台优惠活动")]),n("v-uni-view",[t._v("-"+t._s(t.CurrencyUnit)+t._s(t.order.plateform_discount_fee))])],1),t.order.spread_commission>0?n("v-uni-view",{staticClass:"tn-flex tn-margin-top-sm"},[n("v-uni-view",{staticClass:"tn-flex-1",staticStyle:{color:"#666666","font-size":"13px"}},[t._v("推广佣金")]),n("v-uni-view",[t._v("-"+t._s(t.CurrencyUnit)+t._s(t.order.spread_commission))])],1):t._e(),t.order.discount&&t.order.discount.length>0?n("v-uni-view",{staticClass:"tn-flex tn-margin-top-sm"},[n("v-uni-view",{staticClass:"tn-flex-1",staticStyle:{color:"#666666","font-size":"13px"}},[t._v("订单退款")]),n("v-uni-view",[t._v("-"+t._s(t.CurrencyUnit)+t._s(t.order.refund_fee))])],1):t._e(),n("v-uni-view",{staticClass:"tn-flex tn-margin-top-sm"},[n("v-uni-view",{staticClass:"tn-flex-1",staticStyle:{color:"#666666","font-size":"13px"}},[t._v("顾客实际支付")]),n("v-uni-view",[t._v(t._s(t.CurrencyUnit)+t._s(t.order.final_fee))])],1),n("v-uni-view",{staticClass:"tn-flex tn-margin-top-sm"},[n("v-uni-view",{staticClass:"tn-flex-1",staticStyle:{color:"#666666","font-size":"13px"}},[t._v("平台补贴")]),n("v-uni-view",[t._v("+"+t._s(t.CurrencyUnit)+t._s(t.order.plateform_discount_fee))])],1),n("v-uni-view",{staticClass:"tn-flex tn-margin-top-sm"},[n("v-uni-view",{staticClass:"tn-flex-1",staticStyle:{color:"#666666","font-size":"13px"}},[t._v("平台抽取佣金"),t.extractShippingCost(t.order.plateform_serve.note)?n("v-uni-text",[t._v("(包含配送费"+t._s(t.extractShippingCost(t.order.plateform_serve.note))+")")]):t._e()],1),n("v-uni-view",[t._v(t._s(t.CurrencyUnit)+t._s(t.order.platform_income))])],1),n("v-uni-view",{staticClass:"tn-flex tn-margin-top-sm"},[n("v-uni-view",{staticClass:"tn-flex-1",staticStyle:{color:"#333333","font-size":"16px"}},[t._v("商家预计收入")]),n("v-uni-view",{staticStyle:{color:"#FA434C","font-size":"20px"}},[t._v(t._s(t.CurrencyUnit)+t._s(t.order.store_final_fee))])],1)],1),t.order.mobile?n("v-uni-view",{staticClass:"tn-flex"},[n("v-uni-view",{staticClass:"tn-flex tn-margin-top",staticStyle:{"align-items":"center",margin:"24rpx auto 10rpx auto"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.lianxi_kehu(t.order.mobile)}}},[n("v-uni-view",{staticStyle:{"text-align":"center","font-size":"15px"}},[t._v("联系顾客:"+t._s(t.order.mobile))]),n("v-uni-view",{staticClass:"tn-icon-tel",staticStyle:{"font-size":"25px","margin-left":"10rpx"}})],1)],1):t._e()],1)],1)],2),n("v-uni-view",{staticClass:"shangpu-shadow tn-margin-top-sm"},[n("v-uni-view",{staticClass:" tn-padding"},[n("v-uni-view",{staticClass:"tn-flex",staticStyle:{"justify-content":"space-between"}},[n("v-uni-view",{staticStyle:{width:"60px","font-size":"13px"}},[t._v("配送时间")]),n("v-uni-view",{staticStyle:{"text-align":"right","font-size":"15px"}},[t._v(t._s(t.order.delivery_day)+"\n\t\t\t\t\t\t "+t._s(t.order.delivery_time))])],1),n("v-uni-view",{staticClass:"tn-flex tn-margin-top-sm",staticStyle:{"justify-content":"space-between"}},[n("v-uni-view",{staticStyle:{width:"150rpx","font-size":"13px"}},[t._v(t._s(1==t.order.order_type?"配送":"自提")+"信息")]),n("v-uni-view",{staticStyle:{"text-align":"right","font-size":"15px"}},[1==t.order.order_type?n("v-uni-view",[n("v-uni-view",[t._v(t._s(t.order.username)+"("+t._s(t.order.sex)+")·"+t._s(t.order.mobile))]),n("v-uni-view",[t._v(t._s(t.order.address_protect||t.order.address))])],1):n("v-uni-view",[n("v-uni-view",[t._v(t._s(t.order.store.title))]),n("v-uni-view",[t._v(t._s(t.order.store.address))])],1)],1)],1),n("v-uni-view",{staticClass:"tn-flex tn-margin-top-sm",staticStyle:{"justify-content":"space-between"}},[n("v-uni-view",{staticStyle:{width:"60px","font-size":"13px"}},[t._v("配送服务")]),n("v-uni-view",{staticStyle:{"text-align":"right","font-size":"15px"}},[n("v-uni-view",{staticClass:"tn-flex"},[2==t.order.delivery_type?n("v-uni-view",{staticClass:"peusongfuwu"},[t._v(t._s(t.order.delivery_title))]):t._e(),n("v-uni-view",[t._v(t._s(1==t.order.delivery_type?"由 商家":"")+" 提供高品质配送服务")]),t.order.is_spellrice?n("v-uni-view",{staticClass:"peusongfuwu",staticStyle:{"margin-left":"auto"}},[t._v("拼饭单")]):t._e()],1),n("v-uni-view",{staticClass:"tn-flex",staticStyle:{"align-items":"center"}})],1)],1),t.order.is_third_delivery?n("v-uni-view",{staticClass:"tn-flex tn-margin-top-sm",staticStyle:{"justify-content":"space-between"}},[n("v-uni-view",{staticStyle:{width:"200rpx","font-size":"13px"}},[t._v("三方状态")]),n("v-uni-view",[n("v-uni-view",[t._v(t._s(t.order.third_delivery_status))])],1)],1):t._e()],1)],1),n("tn-toast",{ref:"toast"}),n("tn-modal",{attrs:{title:"条形码",custom:!0},model:{value:t.modelShow,callback:function(e){t.modelShow=e},expression:"modelShow"}},[n("v-uni-view",{staticClass:"custom-modal-content",staticStyle:{"text-align":"center"}},[n("tkiBarcode",{ref:"itf14",attrs:{cid:"itf14",onval:!0,loadMake:!0,format:"itf14",val:t.barCodeVal},on:{result:function(e){arguments[0]=e=t.$handleEvent(e),t.itf14.apply(void 0,arguments)}}})],1)],1)],1)],1)},i=[]},"5bd0":function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("5c47"),n("af8f"),n("926e"),n("71cb"),n("f18a"),n("aa9c"),n("e966"),Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();e.checksum=f;var i=n("c77a"),o=c(i),s=n("822a"),u=c(s);function c(t){return t&&t.__esModule?t:{default:t}}var l=function(t){function e(t,n){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,e),-1!==t.search(/^[0-9]{11}$/)&&(t+=f(t));var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.displayValue=n.displayValue,n.fontSize>10*n.width?a.fontSize=10*n.width:a.fontSize=n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{12}$/)&&this.data[11]==f(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var t="";return t+="101",t+=(0,o.default)(this.data.substr(0,6),"LLLLLL"),t+="01010",t+=(0,o.default)(this.data.substr(6,6),"RRRRRR"),t+="101",{data:t,text:this.text}}},{key:"guardedEncoding",value:function(){var t=[];return this.displayValue&&t.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),t.push({data:"101"+(0,o.default)(this.data[0],"L"),options:{height:this.guardHeight}}),t.push({data:(0,o.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),t.push({data:"01010",options:{height:this.guardHeight}}),t.push({data:(0,o.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),t.push({data:(0,o.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&t.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),t}}]),e}(u.default);function f(t){var e,n=0;for(e=1;e<11;e+=2)n+=parseInt(t[e]);for(e=0;e<11;e+=2)n+=3*parseInt(t[e]);return(10-n%10)%10}e.default=l},"5d90":function(t,e,n){var r=n("c86c");e=r(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-avatar[data-v-40d88c0a]{display:inline-flex;margin:0;padding:0;text-align:center;align-items:center;justify-content:center;background-color:#e6e6e6;white-space:nowrap;position:relative;width:%?64?%;height:%?64?%;z-index:1}.tn-avatar--sm[data-v-40d88c0a]{width:%?48?%;height:%?48?%}.tn-avatar--lg[data-v-40d88c0a]{width:%?96?%;height:%?96?%}.tn-avatar--xl[data-v-40d88c0a]{width:%?128?%;height:%?128?%}.tn-avatar--square[data-v-40d88c0a]{border-radius:%?10?%}.tn-avatar--circle[data-v-40d88c0a]{border-radius:%?5000?%}.tn-avatar--shadow[data-v-40d88c0a]{position:relative}.tn-avatar--shadow[data-v-40d88c0a]::after{content:" ";display:block;background:inherit;-webkit-filter:blur(%?10?%);filter:blur(%?10?%);position:absolute;width:100%;height:100%;top:%?10?%;left:%?10?%;z-index:-1;opacity:.4;-webkit-transform-origin:0 0;transform-origin:0 0;border-radius:inherit;-webkit-transform:scale(1);transform:scale(1)}.tn-avatar__img[data-v-40d88c0a]{width:100%;height:100%}.tn-avatar__img--square[data-v-40d88c0a]{border-radius:%?10?%}.tn-avatar__img--circle[data-v-40d88c0a]{border-radius:%?5000?%}.tn-avatar__text[data-v-40d88c0a]{display:flex;flex-direction:row;align-items:center;justify-content:center}',""]),t.exports=e},6373:function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("926e"),n("e966"),n("bf0f"),n("ab80"),n("5c47"),n("af8f"),Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n("822a"),o=function(t){return t&&t.__esModule?t:{default:t}}(i);var s=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"encode",value:function(){for(var t="110",e=0;e<this.data.length;e++){var n=parseInt(this.data[e]),r=n.toString(2);r=u(r,4-r.length);for(var a=0;a<r.length;a++)t+="0"==r[a]?"100":"110"}return t+="1001",{data:t,text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]+$/)}}]),e}(o.default);function u(t,e){for(var n=0;n<e;n++)t="0"+t;return t}e.default=s},"708d":function(t,e,n){"use strict";n.r(e);var r=n("7b18e"),a=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},"71cb":function(t,e,n){"use strict";var r=n("8bdb"),a=n("1dbd"),i=n("1099"),o=n("1fc1"),s=n("497b"),u=n("3242");r({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=i(this),n=o(e),r=u(e,0);return r.length=a(r,e,e,n,0,void 0===t?1:s(t)),r}})},"7b18":function(t,e,n){"use strict";var r=n("e4e3"),a=n.n(r);a.a},"7b18e":function(t,e,n){"use strict";n("6a54");var r=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("5ef2"),n("23f4"),n("7d2f"),n("5c47"),n("9c4e"),n("ab80"),n("2c10"),n("e838");var a=r(n("2634")),i=r(n("2fdc")),o=r(n("39d8")),s=r(n("390e")),u=n("4a69"),c=r(n("05d8")),l=r(n("e8be"));console.log(l.default,"tkiBarcode");var f={components:{tkiBarcode:l.default},data:function(){var t;return t={isRefresh:!1,id:0,resule:{},order:{store:{cn:{},data:{}},data:{extra_fee:[],store_extra_fee:[]}}},(0,o.default)(t,"id",0),(0,o.default)(t,"config",[]),(0,o.default)(t,"barCodeVal",""),(0,o.default)(t,"modelShow",!1),(0,o.default)(t,"bar",["code128","code39","ean13","ean8","upc","itf14"]),(0,o.default)(t,"val","FB19A1650-100S"),(0,o.default)(t,"opations",{width:4,height:120,displayValue:!0,text:"FB19A1650-100S",textAlign:"left",textPosition:"bottom",textMargin:0,fontSize:24,fontColor:"#0000ef",lineColor:"#0000ef",background:"#FFFFFF",margin:0,marginTop:50,marginBottom:50}),t},onLoad:function(t){this.id=t.id},onShow:function(){this.config=[],this.takeoudetail()},methods:{bindEyeCode:function(t){console.log(t,"e"),this.barCodeVal=t,this.modelShow=!0},itf14:function(t){console.log("itf14:",t)},extractShippingCost:function(t){var e=t.indexOf("商家额外承担配送费");if(-1!==e){var n=t.substring(e+"商家额外承担配送费".length),r=new RegExp("".concat(this.CurrencyUnit,"(\\d+(\\.\\d+)?)")),a=n.match(r);return!!(a&&parseFloat(a[1])>0)&&parseFloat(a[1])}return!1},handleNavBack:function(){uni.navigateBack({delta:1})},takeoudetail:function(){var t=this;return(0,i.default)((0,a.default)().mark((function e(){var n,r;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t,e.next=3,s.default.takeoutDetail({id:n.id});case 3:r=e.sent,r&&(n.config=r.data.config,n.order=Object.assign(n.order,r.data.order),console.log(n.order,"that.order"));case 5:case"end":return e.stop()}}),e)})))()},onUpdateOrderStatus:function(t){var e=arguments,n=this;return(0,i.default)((0,a.default)().mark((function r(){var i,o,u;return(0,a.default)().wrap((function(r){while(1)switch(r.prev=r.next){case 0:if(i=e.length>1&&void 0!==e[1]?e[1]:0,o=n,{},"change_price"!=t){r.next=14;break}if(1!=i){r.next=10;break}if(o.changePriceDialog.price){r.next=8;break}return o.util.$toast("请输入订单优惠后价格"),r.abrupt("return");case 8:r.next=13;break;case 10:if(o.changePriceDialog.show=!0,o.changePriceDialog.price){r.next=13;break}return r.abrupt("return");case 13:({price:o.changePriceDialog.price});case 14:return r.next=16,s.default.orderStatus({id:o.order.id,type:t});case 16:if(u=r.sent,!u){r.next=24;break}if("cancel"!=t){r.next=22;break}if(0!=u.code){r.next=22;break}return o.util.$toast(u.msg),r.abrupt("return");case 22:u.msg?o.util.$toast(u.msg):o.util.$toast("操作成功","",1e3),setTimeout((function(){uni.navigateBack()}),1e3);case 24:case"end":return r.stop()}}),r)})))()},onUpdateTanshiOrderStatus:function(t){(0,u.changeTangshiOrderStatus)({vue:this,type:t,order:this.order,from:"detail"})},lianxi_kehu:function(t){uni.makePhoneCall({phoneNumber:t+"",success:function(){},fail:function(){c.default.$toast("需打电话请在系统设置App拨打电话权限")}})}}};e.default=f},"7caa":function(t,e,n){n("64aa"),t.exports={data:function(){},props:{backgroundColor:{type:String,default:""},fontColor:{type:String,default:""},fontSize:{type:Number,default:0},fontUnit:{type:String,default:"rpx"}},computed:{backgroundColorStyle:function(){return this.$t.color.getBackgroundColorStyle(this.backgroundColor)},backgroundColorClass:function(){return this.$t.color.getBackgroundColorInternalClass(this.backgroundColor)},fontColorStyle:function(){return this.$t.color.getFontColorStyle(this.fontColor)},fontColorClass:function(){return this.$t.color.getFontColorInternalClass(this.fontColor)},fontSizeStyle:function(){return this.$t.string.getLengthUnitValue(this.fontSize,this.fontUnit)}},methods:{}}},8087:function(t,e,n){"use strict";n.r(e);var r=n("f1ed"),a=n("88bb");for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("7b18");var o=n("828b"),s=Object(o["a"])(a["default"],r["b"],r["c"],!1,null,"40d88c0a",null,!1,r["a"],void 0);e["default"]=s.exports},"822a":function(t,e,n){"use strict";n("6a54"),n("7a76"),n("c9b5"),Object.defineProperty(e,"__esModule",{value:!0});e.default=function t(e,n){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),this.data=e,this.text=n.text||e,this.options=n}},"88bb":function(t,e,n){"use strict";n.r(e);var r=n("ce27"),a=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},"8c6c":function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0});e.START_BIN="1010",e.END_BIN="11101",e.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]},"8d2a":function(t,e,n){"use strict";n.r(e);var r=n("1ee6"),a=n("9f89");for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("027c");var o=n("828b"),s=Object(o["a"])(a["default"],r["b"],r["c"],!1,null,"5ef10296",null,!1,r["a"],void 0);e["default"]=s.exports},"8f71c":function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("9a2c"),n("926e"),n("7a76"),n("c9b5"),n("8a8d"),n("473f"),n("bf0f"),n("fd3c"),n("5c47"),n("af8f"),n("3efd"),n("aa9c"),Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var a=Object.getOwnPropertyDescriptor(e,n);if(void 0===a){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in a)return a.value;var o=a.get;return void 0!==o?o.call(r):void 0},o=n("e0cb"),s=n("c5bc"),u=function(t){return t&&t.__esModule?t:{default:t}}(s);var c=function(t){var e=t.substr(0,12).split("").map((function(t){return+t})).reduce((function(t,e,n){return n%2?t+3*e:t+e}),0);return(10-e%10)%10},l=function(t){function e(t,n){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,e),-1!==t.search(/^[0-9]{12}$/)&&(t+=c(t));var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.lastChar=n.lastChar,a}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{13}$/)&&+this.data[12]===c(this.data)}},{key:"leftText",value:function(){return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var t=this.data.substr(1,6),n=o.EAN13_STRUCTURE[this.data[0]];return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,t,n)}},{key:"rightText",value:function(){return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var t=this.data.substr(7,6);return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,t,"RRRRRR")}},{key:"encodeGuarded",value:function(){var t=i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(t.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(t.push({data:"00"}),t.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),t}}]),e}(u.default);e.default=l},"948a":function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("926e"),n("5c47"),n("0506"),n("23f4"),n("7d2f"),n("9c4e"),n("ab80"),Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n("0f6d"),o=function(t){return t&&t.__esModule?t:{default:t}}(i),s=n("b802");var u=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,s.B_START_CHAR+t,n))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"valid",value:function(){return new RegExp("^"+s.B_CHARS+"+$").test(this.data)}}]),e}(o.default);e.default=u},"9ad2":function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("926e"),n("5c47"),n("0506"),n("23f4"),n("7d2f"),n("9c4e"),n("ab80"),Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n("0f6d"),o=function(t){return t&&t.__esModule?t:{default:t}}(i),s=n("b802");var u=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,s.C_START_CHAR+t,n))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"valid",value:function(){return new RegExp("^"+s.C_CHARS+"+$").test(this.data)}}]),e}(o.default);e.default=u},"9f89":function(t,e,n){"use strict";n.r(e);var r=n("faf2"),a=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},"9fec":function(t,e,n){var r=n("ac52");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=n("967d").default;a("a254c414",r,!0,{sourceMap:!1,shadowMode:!1})},a842:function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("926e"),n("5c47"),n("af8f"),n("e966"),Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n("e0cb"),o=n("c77a"),s=l(o),u=n("822a"),c=l(u);function l(t){return t&&t.__esModule?t:{default:t}}var f=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{2}$/)}},{key:"encode",value:function(){var t=i.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,s.default)(this.data,t,"01"),text:this.text}}}]),e}(c.default);e.default=f},a96e:function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("926e"),Object.defineProperty(e,"__esModule",{value:!0});var a=n("6373"),i=function(t){return t&&t.__esModule?t:{default:t}}(a),o=n("e24c");var s=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t+(0,o.mod10)(t),n))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(i.default);e.default=s},aba3:function(t,e,n){var r=n("4a07");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=n("967d").default;a("cbb39b92",r,!0,{sourceMap:!1,shadowMode:!1})},abfc:function(t,e,n){"use strict";n.r(e);var r=n("b816"),a=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},ac52:function(t,e,n){var r=n("c86c");e=r(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.tn-toast[data-v-30732f0a]{height:auto;background-color:rgba(0,0,0,.4);border-radius:%?10?%;opacity:0;position:fixed;left:50%;top:48%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);transition:.3 ease-in-out;transition-property:opacity,visibility;display:flex;align-items:center;flex-direction:column;padding:%?20?% %?20?% %?20?% %?20?%;box-sizing:border-box}.tn-toast--show[data-v-30732f0a]{opacity:1}.tn-toast--show.tn-toast--padding[data-v-30732f0a]{padding-top:%?50?%!important;padding-bottom:%?50?%!important}.tn-toast--show.tn-toast--unicon[data-v-30732f0a]{padding:%?20?% %?20?% %?20?% %?20?%!important}.tn-toast__img[data-v-30732f0a]{width:%?120?%;height:%?120?%;display:block}.tn-toast__text[data-v-30732f0a]{font-size:%?28?%;line-height:%?28?%;color:#fff;text-align:center}.tn-toast__icon[data-v-30732f0a]{color:#fff;font-size:%?64?%}.tn-toast__content[data-v-30732f0a]{padding-top:%?10?%;font-size:%?24?%!important}.tn-toast--unicon[data-v-30732f0a]{padding:0;word-break:break-all}.tn-toast--padding[data-v-30732f0a]{padding:%?10?%}.tn-toast__mask[data-v-30732f0a]{width:100%;height:100%;position:fixed;top:0;left:0;right:0;border:0;background-color:transparent;transition:.3s ease-in-out;transition-property:opacity;opacity:0}.tn-toast__mask--show[data-v-30732f0a]{height:100%;opacity:1}',""]),t.exports=e},b4c2:function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("926e"),n("5c47"),n("0506"),n("23f4"),n("7d2f"),n("9c4e"),n("ab80"),Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n("0f6d"),o=function(t){return t&&t.__esModule?t:{default:t}}(i),s=n("b802");var u=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,s.A_START_CHAR+t,n))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"valid",value:function(){return new RegExp("^"+s.A_CHARS+"+$").test(this.data)}}]),e}(o.default);e.default=u},b802:function(t,e,n){"use strict";var r;function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n("6a54"),Object.defineProperty(e,"__esModule",{value:!0});var i=e.SET_A=0,o=e.SET_B=1,s=e.SET_C=2,u=(e.SHIFT=98,e.START_A=103),c=e.START_B=104,l=e.START_C=105;e.MODULO=103,e.STOP=106,e.FNC1=207,e.SET_BY_CODE=(r={},a(r,u,i),a(r,c,o),a(r,l,s),r),e.SWAP={101:i,100:o,99:s},e.A_START_CHAR=String.fromCharCode(208),e.B_START_CHAR=String.fromCharCode(209),e.C_START_CHAR=String.fromCharCode(210),e.A_CHARS="[\0-_È-Ï]",e.B_CHARS="[ -È-Ï]",e.C_CHARS="(Ï*[0-9]{2}Ï*)",e.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011]},b816:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("64aa");var r={name:"tn-toast",props:{zIndex:{type:Number,default:0}},computed:{toastClass:function(){var t="";return this.visible&&(t+=" tn-toast--show"),this.content&&(t+=" tn-toast--padding"),(this.icon||this.image)&&(t+=" tn-toast--unicon"),t},toastStyle:function(){var t={width:"auto"};return this.icon||this.image,t.zIndex=this.zIndex?this.zIndex:this.$t.zIndex.toast,t},maskStyle:function(){var t={},e=this.zIndex?this.zIndex:this.$t.zIndex.toast;return t.zIndex=e-1,t},haveIcon:function(){return this.icon||this.image},haveContent:function(){return this.content}},data:function(){return{timer:null,visible:!1,title:"操作成功",content:"",icon:"",image:""}},methods:{show:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.duration,r=void 0===n?2e3:n,a=e.title,i=void 0===a?"":a,o=e.content,s=void 0===o?"":o,u=e.icon,c=void 0===u?"":u,l=e.image,f=void 0===l?"":l;if(null!==this.timer&&clearTimeout(this.timer),!c&&!f&&!i&&!s)return this._clearOptions(),void this.$emit("closed");this.visible=!0,this.title=i,this.content=s,this.icon=c,c||(this.image=f),this.timer=setTimeout((function(){t.visible=!1,clearTimeout(t.timer),t.timer=null,t._clearOptions(),t.$emit("closed")}),r)},_clearOptions:function(){this.title="",this.content="",this.icon="",this.image=""}}};e.default=r},bab9:function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("926e"),Object.defineProperty(e,"__esModule",{value:!0});var a=n("6373"),i=function(t){return t&&t.__esModule?t:{default:t}}(a),o=n("e24c");var s=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t+(0,o.mod11)(t),n))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(i.default);e.default=s},c47e:function(t,e,n){"use strict";var r=n("9fec"),a=n.n(r);a.a},c54e:function(t,e,n){var r=n("e8ea");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=n("967d").default;a("0973812e",r,!0,{sourceMap:!1,shadowMode:!1})},c5bc:function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("926e"),n("71cb"),n("f18a"),Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n("e0cb"),o=n("c77a"),s=l(o),u=n("822a"),c=l(u);function l(t){return t&&t.__esModule?t:{default:t}}var f=function(t){function e(t,n){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.fontSize=!n.flat&&n.fontSize>10*n.width?10*n.width:n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(t,e){return this.text.substr(t,e)}},{key:"leftEncode",value:function(t,e){return(0,s.default)(t,e)}},{key:"rightText",value:function(t,e){return this.text.substr(t,e)}},{key:"rightEncode",value:function(t,e){return(0,s.default)(t,e)}},{key:"encodeGuarded",value:function(){var t={fontSize:this.fontSize},e={height:this.guardHeight};return[{data:i.SIDE_BIN,options:e},{data:this.leftEncode(),text:this.leftText(),options:t},{data:i.MIDDLE_BIN,options:e},{data:this.rightEncode(),text:this.rightText(),options:t},{data:i.SIDE_BIN,options:e}]}},{key:"encodeFlat",value:function(){var t=[i.SIDE_BIN,this.leftEncode(),i.MIDDLE_BIN,this.rightEncode(),i.SIDE_BIN];return{data:t.join(""),text:this.text}}}]),e}(c.default);e.default=f},c66b:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var r=n("6373"),a=p(r),i=n("a96e"),o=p(i),s=n("bab9"),u=p(s),c=n("e327"),l=p(c),f=n("097f"),d=p(f);function p(t){return t&&t.__esModule?t:{default:t}}e.MSI=a.default,e.MSI10=o.default,e.MSI11=u.default,e.MSI1010=l.default,e.MSI1110=d.default},c77a:function(t,e,n){"use strict";n("6a54"),n("fd3c"),Object.defineProperty(e,"__esModule",{value:!0});var r=n("e0cb");e.default=function(t,e,n){var a=t.split("").map((function(t,n){return r.BINARIES[e[n]]})).map((function(e,n){return e?e[t[n]]:""}));if(n){var i=t.length-1;a=a.map((function(t,e){return e<i?t+n:t}))}return a.join("")}},c8255:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.visible?n("v-uni-view",[n("v-uni-view",{staticClass:"tn-toast-class tn-toast",class:[t.toastClass],style:[t.toastStyle]},[t.image?n("v-uni-image",{staticClass:"tn-toast__img",class:{"tn-margin-bottom-sm":t.title||t.content},attrs:{src:t.image}}):t._e(),t.icon?n("v-uni-view",{staticClass:"tn-toast__icon"},[n("v-uni-view",{class:["tn-icon-"+t.icon]})],1):t._e(),t.title?n("v-uni-view",{staticClass:"tn-toast__text",class:[t.haveIcon||t.haveContent?"":"tn-toast--unicon"]},[t._v(t._s(t.title))]):t._e(),t.haveContent?n("v-uni-view",{staticClass:"tn-toast__text tn-toast__content"},[t._v(t._s(t.content))]):t._e()],1),n("v-uni-view",{staticClass:"tn-toast__mask",class:[t.visible?"tn-toast__mask--show":""],style:[t.maskStyle]})],1):t._e()},a=[]},cd9c:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.CODE128C=e.CODE128B=e.CODE128A=e.CODE128=void 0;var r=n("e2af"),a=f(r),i=n("b4c2"),o=f(i),s=n("948a"),u=f(s),c=n("9ad2"),l=f(c);function f(t){return t&&t.__esModule?t:{default:t}}e.CODE128=a.default,e.CODE128A=o.default,e.CODE128B=u.default,e.CODE128C=l.default},ce26:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0});var r=n("f22c"),a=n("cd9c"),i=n("ea42"),o=n("43d1"),s=n("c66b"),u=n("e832"),c=n("3c89"),l=n("10dd");e.default={CODE39:r.CODE39,CODE128:a.CODE128,CODE128A:a.CODE128A,CODE128B:a.CODE128B,CODE128C:a.CODE128C,EAN13:i.EAN13,EAN8:i.EAN8,EAN5:i.EAN5,EAN2:i.EAN2,UPC:i.UPC,UPCE:i.UPCE,ITF14:o.ITF14,ITF:o.ITF,MSI:s.MSI,MSI10:s.MSI10,MSI11:s.MSI11,MSI1010:s.MSI1010,MSI1110:s.MSI1110,PHARMACODE:u.pharmacode,CODABAR:c.codabar,GENERICBARCODE:l.GenericBarcode}},ce27:function(t,e,n){"use strict";n("6a54");var r=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("64aa"),n("c223"),n("5c47"),n("0506");var a=r(n("7caa")),i={mixins:[a.default],name:"tn-avatar",props:{index:{type:[Number,String],default:0},shape:{type:String,default:"circle"},size:{type:[Number,String],default:""},shadow:{type:Boolean,default:!1},border:{type:Boolean,default:!1},borderColor:{type:String,default:"rgba(0, 0, 0, 0.1)"},borderSize:{type:Number,default:2},src:{type:String,default:""},text:{type:String,default:""},icon:{type:String,default:""},imgMode:{type:String,default:"aspectFill"},badge:{type:Boolean,default:!1},badgeSize:{type:Number,default:0},badgeBgColor:{type:String,default:"#AAAAAA"},badgeColor:{type:String,default:"#FFFFFF"},badgeIcon:{type:String,default:""},badgeText:{type:String,default:""},badgePosition:{type:Array,default:function(){return[0,0]}}},data:function(){return{imgLoadError:!1}},computed:{showImg:function(){return""===this.text&&""===this.icon},avatarClass:function(){var t="";return t+=" tn-avatar--".concat(this.shape),this._checkSizeIsInline()&&(t+=" tn-avatar--".concat(this.size)),this.shadow&&(t+=" tn-avatar--shadow"),t},avatarStyle:function(){var t={};return this.backgroundColorStyle?t.background=this.backgroundColorStyle:this.shadow&&this.showImg&&(t.backgroundImage="url(".concat(this.src,")")),this.border&&(t.border="".concat(this.borderSize,"rpx solid ").concat(this.borderColor)),this._checkSizeIsInline()||(t.width=this.size,t.height=this.size),t},imgClass:function(){var t="";return t+=" tn-avatar__img--".concat(this.shape),t}},methods:{loadImageError:function(){this.imgLoadError=!0},click:function(){this.$emit("click",this.index)},_checkSizeIsInline:function(){return!!/^(xs|sm|md|lg|xl|xxl)$/.test(this.size)}}};e.default=i},d0c5:function(t,e,n){var r=n("13d2");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=n("967d").default;a("565e6516",r,!0,{sourceMap:!1,shadowMode:!1})},d2b6:function(t,e,n){"use strict";var r=n("aba3"),a=n.n(r);a.a},d52c:function(t,e,n){"use strict";var r=n("c54e"),a=n.n(r);a.a},e0cb:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0});e.SIDE_BIN="101",e.MIDDLE_BIN="01010",e.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]},e.EAN2_STRUCTURE=["LL","LG","GL","GG"],e.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],e.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]},e24c:function(t,e,n){"use strict";n("6a54"),n("e966"),Object.defineProperty(e,"__esModule",{value:!0}),e.mod10=function(t){for(var e=0,n=0;n<t.length;n++){var r=parseInt(t[n]);(n+t.length)%2===0?e+=r:e+=2*r%10+Math.floor(2*r/10)}return(10-e%10)%10},e.mod11=function(t){for(var e=0,n=[2,3,4,5,6,7],r=0;r<t.length;r++){var a=parseInt(t[t.length-1-r]);e+=n[r%n.length]*a}return(11-e%11)%11}},e2af:function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("5c47"),n("0506"),n("926e"),Object.defineProperty(e,"__esModule",{value:!0});var a=n("0f6d"),i=u(a),o=n("1c99"),s=u(o);function u(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}var l=function(t){function e(t,n){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(t))var r=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,s.default)(t),n));else r=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return c(r)}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(i.default);e.default=l},e2bd:function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("9a2c"),n("926e"),n("7a76"),n("c9b5"),n("8a8d"),n("473f"),n("bf0f"),n("fd3c"),n("5c47"),n("af8f"),Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var a=Object.getOwnPropertyDescriptor(e,n);if(void 0===a){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in a)return a.value;var o=a.get;return void 0!==o?o.call(r):void 0},o=n("c5bc"),s=function(t){return t&&t.__esModule?t:{default:t}}(o);var u=function(t){var e=t.substr(0,7).split("").map((function(t){return+t})).reduce((function(t,e,n){return n%2?t+e:t+3*e}),0);return(10-e%10)%10},c=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),-1!==t.search(/^[0-9]{7}$/)&&(t+=u(t)),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{8}$/)&&+this.data[7]===u(this.data)}},{key:"leftText",value:function(){return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var t=this.data.substr(0,4);return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"leftEncode",this).call(this,t,"LLLL")}},{key:"rightText",value:function(){return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var t=this.data.substr(4,4);return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"rightEncode",this).call(this,t,"RRRR")}}]),e}(s.default);e.default=c},e327:function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("926e"),Object.defineProperty(e,"__esModule",{value:!0});var a=n("6373"),i=function(t){return t&&t.__esModule?t:{default:t}}(a),o=n("e24c");var s=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t+=(0,o.mod10)(t),t+=(0,o.mod10)(t),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(i.default);e.default=s},e459:function(t,e,n){"use strict";n.r(e);var r=n("fd59"),a=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=a.a},e4e3:function(t,e,n){var r=n("5d90");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=n("967d").default;a("4936db84",r,!0,{sourceMap:!1,shadowMode:!1})},e832:function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("926e"),n("e966"),n("f7a5"),Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n("822a"),o=function(t){return t&&t.__esModule?t:{default:t}}(i);var s=function(t){function e(t,n){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,e);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.number=parseInt(t,10),a}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"encode",value:function(){var t=this.number,e="";while(!isNaN(t)&&0!=t)t%2===0?(e="11100"+e,t=(t-2)/2):(e="100"+e,t=(t-1)/2);return e=e.slice(0,-2),{data:e,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),e}(o.default);e.pharmacode=s},e8be:function(t,e,n){"use strict";n.r(e);var r=n("234c"),a=n("e459");for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("d52c");var o=n("828b"),s=Object(o["a"])(a["default"],r["b"],r["c"],!1,null,"3b6ece68",null,!1,r["a"],void 0);e["default"]=s.exports},e8ea:function(t,e,n){var r=n("c86c");e=r(!1),e.push([t.i,".tki-barcode[data-v-3b6ece68]{position:relative}.tki-barcode-canvas[data-v-3b6ece68]{position:fixed;top:%?-99999?%;left:%?-99999?%;z-index:-99999}",""]),t.exports=e},ea20:function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("926e"),n("5c47"),n("af8f"),n("71cb"),n("f18a"),n("aa9c"),n("e966"),Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n("c77a"),o=l(i),s=n("822a"),u=l(s),c=n("5bd0");function l(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}var d=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],p=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],h=function(t){function e(t,n){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,e);var r=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(r.isValid=!1,-1!==t.search(/^[0-9]{6}$/))r.middleDigits=t,r.upcA=v(t,"0"),r.text=n.text||""+r.upcA[0]+t+r.upcA[r.upcA.length-1],r.isValid=!0;else{if(-1===t.search(/^[01][0-9]{7}$/))return f(r);if(r.middleDigits=t.substring(1,t.length-1),r.upcA=v(r.middleDigits,t[0]),r.upcA[r.upcA.length-1]!==t[t.length-1])return f(r);r.isValid=!0}return r.displayValue=n.displayValue,n.fontSize>10*n.width?r.fontSize=10*n.width:r.fontSize=n.fontSize,r.guardHeight=n.height+r.fontSize/2+n.textMargin,r}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var t="";return t+="101",t+=this.encodeMiddleDigits(),t+="010101",{data:t,text:this.text}}},{key:"guardedEncoding",value:function(){var t=[];return this.displayValue&&t.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),t.push({data:"101",options:{height:this.guardHeight}}),t.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),t.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&t.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),t}},{key:"encodeMiddleDigits",value:function(){var t=this.upcA[0],e=this.upcA[this.upcA.length-1],n=p[parseInt(e)][parseInt(t)];return(0,o.default)(this.middleDigits,n)}}]),e}(u.default);function v(t,e){for(var n=parseInt(t[t.length-1]),r=d[n],a="",i=0,o=0;o<r.length;o++){var s=r[o];a+="X"===s?t[i++]:s}return a=""+e+a,""+a+(0,c.checksum)(a)}e.default=h},ea42:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var r=n("8f71c"),a=v(r),i=n("e2bd"),o=v(i),s=n("54e3"),u=v(s),c=n("a842"),l=v(c),f=n("5bd0"),d=v(f),p=n("ea20"),h=v(p);function v(t){return t&&t.__esModule?t:{default:t}}e.EAN13=a.default,e.EAN8=o.default,e.EAN5=u.default,e.EAN2=l.default,e.UPC=d.default,e.UPCE=h.default},f18a:function(t,e,n){"use strict";var r=n("1cb5");r("flat")},f1ed:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r}));var r={tnBadge:n("8d2a").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"tn-avatar-class tn-avatar",class:[t.backgroundColorClass,t.avatarClass],style:[t.avatarStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.click.apply(void 0,arguments)}}},[t.showImg?n("v-uni-image",{staticClass:"tn-avatar__img",class:[t.imgClass],attrs:{src:t.src,mode:t.imgMode||"aspectFill"},on:{error:function(e){arguments[0]=e=t.$handleEvent(e),t.loadImageError.apply(void 0,arguments)}}}):n("v-uni-view",{staticClass:"tn-avatar__text"},[t.text?n("v-uni-view",[t._v(t._s(t.text))]):n("v-uni-view",{class:["tn-icon-"+t.icon]})],1),t.badge&&(t.badgeIcon||t.badgeText)?n("tn-badge",{attrs:{radius:t.badgeSize,backgroundColor:t.badgeBgColor,fontColor:t.badgeColor,fontSize:t.badgeSize-8,absolute:!0,top:t.badgePosition[0],right:t.badgePosition[1]}},[t.badgeIcon&&""===t.badgeText?n("v-uni-view",[n("v-uni-view",{class:["tn-icon-"+t.badgeIcon]})],1):n("v-uni-view",[t._v(t._s(t.badgeText))])],1):t._e()],1)},i=[]},f22c:function(t,e,n){"use strict";var r=n("bdbb").default;n("6a54"),n("7a76"),n("c9b5"),n("8a8d"),n("926e"),n("5c47"),n("af8f"),n("bf0f"),n("ab80"),n("5ef2"),Object.defineProperty(e,"__esModule",{value:!0}),e.CODE39=void 0;var a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n("822a"),o=function(t){return t&&t.__esModule?t:{default:t}}(i);var s=function(t){function e(t,n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t=t.toUpperCase(),n.mod43&&(t+=function(t){return u[t]}(function(t){for(var e=0,n=0;n<t.length;n++)e+=f(t[n]);return e%=43,e}(t))),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"encode",value:function(){for(var t=l("*"),e=0;e<this.data.length;e++)t+=l(this.data[e])+"0";return t+=l("*"),{data:t,text:this.text}}},{key:"valid",value:function(){return-1!==this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)}}]),e}(o.default),u=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],c=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function l(t){return function(t){return c[t].toString(2)}(f(t))}function f(t){return u.indexOf(t)}e.CODE39=s},f24b:function(t,e,n){"use strict";n("6a54");var r=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=r(n("b7c7"));n("bf0f"),n("2797"),n("d4b5");var i=n("ce26")["default"],o={};(function(){o=function(t,e,n,r,o){var s,u,c,l,f,d,p;if(f=e,d=r,p=o,s=Object.assign({},n),function(t){t.marginTop=void 0==t.marginTop?t.margin:t.marginTop,t.marginBottom=void 0==t.marginBottom?t.margin:t.marginBottom,t.marginRight=void 0==t.marginRight?t.margin:t.marginRight,t.marginLeft=void 0==t.marginLeft?t.margin:t.marginLeft}(s),""==s.text||""==t)return!1;c=t,l=uni.createCanvasContext(f,c),u=new(i[s.format.toUpperCase()])(s.text,s).encode();var h=function(t,e){var n,r=[],i=e.marginLeft+e.marginRight;Array.isArray(t)?r=(0,a.default)(t):r[0]=JSON.parse(JSON.stringify(t));return r.forEach((function(t,a){var o=l.measureText(r[a].text?r[a].text:"").width,s=r[a].data.length*e.width,u=0;e.displayValue&&s<o&&("center"==e.textAlign?u=Math.floor((o-s)/2):"left"==e.textAlign?u=0:"right"==e.textAlign&&(u=Math.floor(o-s))),r[a].barcodePadding=u,r[a].width=Math.ceil(Math.max(o,s)),i+=r[a].width,r[a].options&&void 0!=r[a].options.height?r[a].height=r[a].options.height+(e.displayValue&&(r[a].text?r[a].text:"").length>0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom:r[a].height=n=e.height+(e.displayValue&&(r[a].text?r[a].text:"").length>0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom})),{encodings:r,width:i,height:n}}(u,s);d({width:h.width,height:h.height}),setTimeout((function(){v.render(s,h)}),50);var v={render:function(t,e){var n=this;this.prepare(t,e),e.encodings.forEach((function(e,r){n.barcode(t,e),n.text(t,e),n.move(e)})),this.draw(t,e)},barcode:function(t,e){var n,r=e.data;n="top"==t.textPosition?t.marginTop+t.fontSize+t.textMargin:t.marginTop,l.fillStyle=t.lineColor;for(var a=0;a<r.length;a++){var i=a*t.width+e.barcodePadding,o=t.height;e.options&&void 0!=e.options.height&&(o=e.options.height),"1"===r[a]?l.fillRect(i,n,t.width,o):r[a]&&l.fillRect(i,n,t.width,o*r[a])}},text:function(t,e){var n,r,a,i;t.displayValue&&(r="top"==t.textPosition?t.marginTop+t.fontSize:t.height+t.textMargin+t.marginTop+t.fontSize,e.options?(void 0!=e.options.textAlign&&(a=e.options.textAlign),void 0!=e.options.fontSize&&(i=e.options.fontSize)):(a=t.textAlign,i=t.fontSize),l.setFontSize(i),"left"==a||e.barcodePadding>0?(n=0,l.setTextAlign("left")):"right"==a?(n=e.width-1,l.setTextAlign("right")):(n=e.width/2,l.setTextAlign("center")),l.fillStyle=t.fontColor,void 0!=e.text&&l.fillText(e.text,n,r))},move:function(t){l.translate(t.width,0)},prepare:function(t,e){t.background&&(l.fillStyle=t.background,l.fillRect(0,0,e.width,e.height)),l.translate(t.marginLeft,0)},draw:function(t,e){var n=this;l.draw(!1,(function(){n.toImgs(t,e)}))},toImgs:function(t,e){setTimeout((function(){uni.canvasToTempFilePath({width:e.width,height:e.height,destWidth:e.width,destHeight:e.height,canvasId:f,fileType:"png",success:function(t){p(t.tempFilePath)},fail:function(t){p(t)},complete:function(){uni.hideLoading()}},c)}),t.text.length+100)}}}})();var s=o;e.default=s},faf2:function(t,e,n){"use strict";n("6a54");var r=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("64aa");var a=r(n("7caa")),i={mixins:[a.default],name:"tn-badge",props:{index:{type:[Number,String],default:"0"},radius:{type:Number,default:0},padding:{type:String,default:""},margin:{type:String,default:""},dot:{type:Boolean,default:!1},absolute:{type:Boolean,default:!1},top:{type:[String,Number],default:""},right:{type:[String,Number],default:""},translateCenter:{type:Boolean,default:!0}},computed:{badgeClass:function(){var t="";return this.dot&&(t+=" tn-badge--dot"),this.absolute&&(t+=" tn-badge--absolute",this.translateCenter&&(t+=" tn-badge--center-position")),t},badgeStyle:function(){var t={};return 0!==this.radius&&(t.width=this.radius+"rpx",t.height=this.radius+"rpx",t.lineHeight=this.radius+"rpx"),this.padding&&(t.padding=this.padding),this.margin&&(t.margin=this.margin),this.fontColorStyle&&(t.color=this.fontColorStyle),this.fontSize&&(t.fontSize=this.fontSize+this.fontUnit),this.backgroundColorStyle&&(t.backgroundColor=this.backgroundColorStyle),this.top&&(t.top=this.$t.string.getLengthUnitValue(this.top)),this.right&&(t.right=this.$t.string.getLengthUnitValue(this.right)),t}},data:function(){return{}},methods:{handleClick:function(){this.$emit("click",{index:Number(this.index)}),this.$emit("tap",{index:Number(this.index)})}}};e.default=i},fd59:function(t,e,n){"use strict";n("6a54");var r=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("d4b5");var a,i=r(n("39d8")),o=r(n("fcf3")),s=r(n("f24b")),u={width:4,height:120,displayValue:!0,textAlign:"center",textPosition:"bottom",textMargin:0,fontSize:24,fontColor:"#000000",lineColor:"#000000",background:"#FFFFFF",margin:0,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0},c={name:"tkiBarcode",props:{show:{type:Boolean,default:!0},cid:{type:String,default:"tki-barcode-canvas"},unit:{type:String,default:"upx"},val:{type:String,default:"1234567890128"},format:{type:String,default:"CODE128"},opations:{type:Object,default:function(){return{}}},onval:{type:Boolean,default:!1},loadMake:{type:Boolean,default:!0}},data:function(){return{result:"",canvasWidth:0,canvasHeight:0,defaultOpations:Object.assign({},u)}},onUnload:function(){},methods:(a={_makeCode:function(){var t=this;Object.assign(this.defaultOpations,this.opations),"upx"==t.unit&&(t.defaultOpations.width&&(t.defaultOpations.width=uni.upx2px(t.defaultOpations.width)),t.defaultOpations.height&&(t.defaultOpations.height=uni.upx2px(t.defaultOpations.height)),t.defaultOpations.fontSize&&(t.defaultOpations.fontSize=uni.upx2px(t.defaultOpations.fontSize))),t._empty(t.defaultOpations.text)&&(t.defaultOpations.text=t.val),t._empty(t.defaultOpations.format)&&(t.defaultOpations.format=t.format),new s.default(t,t.cid,t.defaultOpations,(function(e){t.canvasWidth=e.width,t.canvasHeight=e.height}),(function(e){t._result(e),t.defaultOpations=u}))},_clearCode:function(){this._result("")},_saveCode:function(){""!=this.result&&uni.saveImageToPhotosAlbum({filePath:this.result,success:function(){uni.showToast({title:"条形码保存成功",icon:"success",duration:2e3})}})},_result:function(t){this.result=t,this.$emit("result",t)}},(0,i.default)(a,"_result",(function(t){this.result=t,this.$emit("result",t)})),(0,i.default)(a,"_empty",(function(t){var e=(0,o.default)(t),n=!1;return"number"==e&&""==String(t)||"undefined"==e?n=!0:"object"==e?"{}"!=JSON.stringify(t)&&"[]"!=JSON.stringify(t)&&null!=t||(n=!0):"string"==e?""!=t&&"undefined"!=t&&"null"!=t&&"{}"!=t&&"[]"!=t||(n=!0):"function"==e&&(n=!1),n})),a),watch:{val:function(t,e){var n=this;this.onval&&(t==e||this._empty(t)||setTimeout((function(){n._makeCode()}),0))},opations:{handler:function(t,e){var n=this;this.onval&&(this._empty(t)||setTimeout((function(){n._makeCode()}),0))},deep:!0}},mounted:function(){var t=this;this.loadMake&&(this._empty(this.val)||setTimeout((function(){t._makeCode()}),0))}};e.default=c}}]);
|