UNPKG

digital-invoice

Version:

数电发票、vue发票展示、vue发票模板、vue发票样式

1 lines 41.6 kB
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.libName=n():t.libName=n()}(window,function(){return e=[function(t,n,e){var e=e(12),o=Function.prototype,r=o.call,o=e&&o.bind.bind(r,r);t.exports=e?o:function(t){return function(){return r.apply(t,arguments)}}},function(e,t,n){!function(t){function n(t){return t&&t.Math==Math&&t}e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||this||Function("return this")()}.call(this,n(62))},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var e=e(37),o=e.all;t.exports=e.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},function(t,n,e){var o=e(0),r=e(28),i=o({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(r(t),n)}},function(t,n,e){e=e(2);t.exports=!e(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(t,n,e){var u=e(1),l=e(19).f,f=e(45),p=e(29),v=e(27),d=e(73),y=e(50);t.exports=function(t,n){var e,o,r,i=t.target,a=t.global,c=t.stat,s=a?u:c?u[i]||v(i,{}):(u[i]||{}).prototype;if(s)for(e in n){if(o=n[e],r=t.dontCallGetSet?(r=l(s,e))&&r.value:s[e],!y(a?e:i+(c?".":"#")+e,t.forced)&&void 0!==r){if(typeof o==typeof r)continue;d(o,r)}(t.sham||r&&r.sham)&&f(o,"sham",!0),p(s,e,o,t)}}},function(t,n,e){var o=e(3),e=e(37),r=e.all;t.exports=e.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:o(t)||t===r}:function(t){return"object"==typeof t?null!==t:o(t)}},function(t,n,e){var e=e(0),o=e({}.toString),r=e("".slice);t.exports=function(t){return r(o(t),8,-1)}},function(t,n,e){var o=e(1),r=e(41),i=e(4),a=e(43),c=e(39),e=e(38),s=o.Symbol,u=r("wks"),l=e?s.for||s:s&&s.withoutSetter||a;t.exports=function(t){return i(u,t)||(u[t]=c&&i(s,t)?s[t]:l("Symbol."+t)),u[t]}},function(t,n,e){var o=e(7),r=String,i=TypeError;t.exports=function(t){if(o(t))return t;throw i(r(t)+" is not an object")}},function(t,n,e){var e=e(12),o=Function.prototype.call;t.exports=e?o.bind(o):function(){return o.apply(o,arguments)}},function(t,n,e){e=e(2);t.exports=!e(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},function(t,n,e){var o=e(34),r=TypeError;t.exports=function(t){if(o(t))throw r("Can't call method on "+t);return t}},function(t,n,e){var o=e(3),r=e(65),i=TypeError;t.exports=function(t){if(o(t))return t;throw i(r(t)+" is not a function")}},function(t,n,e){var o=e(5),r=e(44),i=e(68),a=e(10),c=e(35),s=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",v="writable";n.f=o?i?function(t,n,e){var o;return a(t),n=c(n),a(e),"function"==typeof t&&"prototype"===n&&"value"in e&&v in e&&!e[v]&&(o=l(t,n))&&o[v]&&(t[n]=e.value,e={configurable:(p in e?e:o)[p],enumerable:(f in e?e:o)[f],writable:!1}),u(t,n,e)}:u:function(t,n,e){if(a(t),n=c(n),a(e),r)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw s("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var o=e(78);t.exports=function(t){t=+t;return t!=t||0==t?0:o(t)}},function(t,n,e){var o=e(31),r=String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return r(t)}},function(t,n,e){"use strict";function o(t){var n,t=arguments.length<1?0:C(function(t){t=h(t,"number");return"bigint"==typeof t?t:j(t)}(t));return d(w,n=this)&&m(function(){I(n)})?v(Object(t),this,o):t}function r(t,n){for(var e,o=c?_(n):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),r=0;o.length>r;r++)p(n,e=o[r])&&!p(t,e)&&g(t,e,b(n,e))}var i=e(6),a=e(42),c=e(5),s=e(1),u=e(82),l=e(0),f=e(50),p=e(4),v=e(83),d=e(24),y=e(22),h=e(36),m=e(2),_=e(49).f,b=e(19).f,g=e(15).f,I=e(51),x=e(52).trim,e="Number",C=s[e],S=u[e],w=C.prototype,k=s.TypeError,T=l("".slice),O=l("".charCodeAt),j=function(t){var n,e,o,r,i,a,c,s=h(t,"number");if(y(s))throw k("Cannot convert a Symbol value to a number");if("string"==typeof s&&2<s.length)if(s=x(s),43===(t=O(s,0))||45===t){if(88===(n=O(s,2))||120===n)return NaN}else if(48===t){switch(O(s,1)){case 66:case 98:e=2,o=49;break;case 79:case 111:e=8,o=55;break;default:return+s}for(i=(r=T(s,2)).length,a=0;a<i;a++)if((c=O(r,a))<48||o<c)return NaN;return parseInt(r,e)}return+s},s=f(e,!C(" 0o1")||!C("0b1")||C("+0x1"));o.prototype=w,s&&!a&&(w.constructor=o),i({global:!0,constructor:!0,wrap:!0,forced:s},{Number:o});a&&S&&r(u[e],S),(s||a)&&r(u[e],C)},function(t,n,e){var o=e(5),r=e(11),i=e(63),a=e(33),c=e(20),s=e(35),u=e(4),l=e(44),f=Object.getOwnPropertyDescriptor;n.f=o?f:function(t,n){if(t=c(t),n=s(n),l)try{return f(t,n)}catch(t){}if(u(t,n))return a(!r(i.f,t,n),t[n])}},function(t,n,e){var o=e(21),r=e(13);t.exports=function(t){return o(r(t))}},function(t,n,e){var o=e(0),r=e(2),i=e(8),a=Object,c=o("".split);t.exports=r(function(){return!a("z").propertyIsEnumerable(0)})?function(t){return"String"==i(t)?c(t,""):a(t)}:a},function(t,n,e){var o=e(23),r=e(3),i=e(24),e=e(38),a=Object;t.exports=e?function(t){return"symbol"==typeof t}:function(t){var n=o("Symbol");return r(n)&&i(n.prototype,a(t))}},function(t,n,e){var o=e(1),r=e(3);t.exports=function(t,n){return arguments.length<2?(e=o[t],r(e)?e:void 0):o[t]&&o[t][n];var e}},function(t,n,e){e=e(0);t.exports=e({}.isPrototypeOf)},function(t,n,e){var o,r,i=e(1),e=e(40),a=i.process,i=i.Deno,a=a&&a.versions||i&&i.version,i=a&&a.v8;!(r=i?0<(o=i.split("."))[0]&&o[0]<4?1:+(o[0]+o[1]):r)&&e&&(!(o=e.match(/Edge\/(\d+)/))||74<=o[1])&&(o=e.match(/Chrome\/(\d+)/))&&(r=+o[1]),t.exports=r},function(t,n,e){var o=e(1),e=e(27),r="__core-js_shared__",o=o[r]||e(r,{});t.exports=o},function(t,n,e){var o=e(1),r=Object.defineProperty;t.exports=function(n,e){try{r(o,n,{value:e,configurable:!0,writable:!0})}catch(t){o[n]=e}return e}},function(t,n,e){var o=e(13),r=Object;t.exports=function(t){return r(o(t))}},function(t,n,e){var a=e(3),c=e(15),s=e(69),u=e(27);t.exports=function(t,n,e,o){var r=(o=o||{}).enumerable,i=void 0!==o.name?o.name:n;if(a(e)&&s(e,i,o),o.global)r?t[n]=e:u(n,e);else{try{o.unsafe?t[n]&&(r=!0):delete t[n]}catch(t){}r?t[n]=e:c.f(t,n,{value:e,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return t}},function(t,n,e){var o=e(79);t.exports=function(t){return o(t.length)}},function(t,n,e){var o=e(32),r=e(3),i=e(8),a=e(9)("toStringTag"),c=Object,s="Arguments"==i(function(){return arguments}());t.exports=o?i:function(t){var n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,n){try{return t[n]}catch(t){}}(t=c(t),a))?n:s?i(t):"Object"==(n=i(t))&&r(t.callee)?"Arguments":n}},function(t,n,e){var o={};o[e(9)("toStringTag")]="z",t.exports="[object z]"===String(o)},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){t.exports=function(t){return null==t}},function(t,n,e){var o=e(36),r=e(22);t.exports=function(t){t=o(t,"string");return r(t)?t:t+""}},function(t,n,e){var o=e(11),r=e(7),i=e(22),a=e(64),c=e(66),e=e(9),s=TypeError,u=e("toPrimitive");t.exports=function(t,n){if(!r(t)||i(t))return t;var e=a(t,u);if(e){if(e=o(e,t,n=void 0===n?"default":n),!r(e)||i(e))return e;throw s("Can't convert object to primitive value")}return c(t,n=void 0===n?"number":n)}},function(t,n){var e="object"==typeof document&&document.all;t.exports={all:e,IS_HTMLDDA:void 0===e&&void 0!==e}},function(t,n,e){e=e(39);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,e){var o=e(25),r=e(2),i=e(1).String;t.exports=!!Object.getOwnPropertySymbols&&!r(function(){var t=Symbol();return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&o&&o<41})},function(t,n){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},function(t,n,e){var o=e(42),r=e(26);(t.exports=function(t,n){return r[t]||(r[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.30.2",mode:o?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},function(t,n){t.exports=!1},function(t,n,e){var e=e(0),o=0,r=Math.random(),i=e(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+i(++o+r,36)}},function(t,n,e){var o=e(5),r=e(2),i=e(67);t.exports=!o&&!r(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var o=e(5),r=e(15),i=e(33);t.exports=o?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var o=e(5),e=e(4),r=Function.prototype,i=o&&Object.getOwnPropertyDescriptor,e=e(r,"name"),a=e&&"something"===function(){}.name,o=e&&(!o||i(r,"name").configurable);t.exports={EXISTS:e,PROPER:a,CONFIGURABLE:o}},function(t,n,e){var o=e(0),r=e(3),e=e(26),i=o(Function.toString);r(e.inspectSource)||(e.inspectSource=function(t){return i(t)}),t.exports=e.inspectSource},function(t,n){t.exports={}},function(t,n,e){var o=e(75),r=e(80).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return o(t,r)}},function(t,n,e){function o(t,n){return(t=s[c(t)])==l||t!=u&&(i(n)?r(n):!!n)}var r=e(2),i=e(3),a=/#|\.prototype\./,c=o.normalize=function(t){return String(t).replace(a,".").toLowerCase()},s=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o},function(t,n,e){e=e(0);t.exports=e(1..valueOf)},function(t,n,e){function o(n){return function(t){t=a(i(t));return 1&n&&(t=c(t,s,"")),t=2&n?c(t,u,"$1"):t}}var r=e(0),i=e(13),a=e(17),e=e(53),c=r("".replace),s=RegExp("^["+e+"]+"),u=RegExp("(^|[^"+e+"])["+e+"]+$");t.exports={start:o(1),end:o(2),trim:o(3)}},function(t,n){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(t,n,e){"use strict";var o=e(1),s=e(89),u=e(3),r=e(90),i=e(40),l=e(91),f=e(92),p=o.Function,v=/MSIE .\./.test(i)||r&&((e=o.Bun.version.split(".")).length<3||0==e[0]&&(e[1]<3||3==e[1]&&0==e[2]));t.exports=function(i,a){var c=a?2:1;return v?function(t,n){var e=f(arguments.length,1)>c,o=u(t)?t:p(t),r=e?l(arguments,c):[],t=e?function(){s(o,this,r)}:o;return a?i(t,n):i(t)}:i}},function(t,n,e){},function(t,n,e){var o=e(32),r=e(29),e=e(95);o||r(Object.prototype,"toString",e,{unsafe:!0})},function(t,n,e){},function(t,n,e){"use strict";var o=e(6),r=e(102).map;o({target:"Array",proto:!0,forced:!e(109)("map")},{map:function(t){return r(this,t,1<arguments.length?arguments[1]:void 0)}})},function(t,n,e){},function(t,n,e){},function(t,n,e){},function(t,n){var e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){"use strict";var o={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!o.call({1:2},1);n.f=i?function(t){t=r(this,t);return!!t&&t.enumerable}:o},function(t,n,e){var o=e(14),r=e(34);t.exports=function(t,n){t=t[n];return r(t)?void 0:o(t)}},function(t,n){var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},function(t,n,e){var r=e(11),i=e(3),a=e(7),c=TypeError;t.exports=function(t,n){var e,o;if("string"===n&&i(e=t.toString)&&!a(o=r(e,t)))return o;if(i(e=t.valueOf)&&!a(o=r(e,t)))return o;if("string"!==n&&i(e=t.toString)&&!a(o=r(e,t)))return o;throw c("Can't convert object to primitive value")}},function(t,n,e){var o=e(1),e=e(7),r=o.document,i=e(r)&&e(r.createElement);t.exports=function(t){return i?r.createElement(t):{}}},function(t,n,e){var o=e(5),e=e(2);t.exports=o&&e(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},function(t,n,e){var o=e(0),r=e(2),i=e(3),a=e(4),c=e(5),s=e(46).CONFIGURABLE,u=e(47),e=e(70),l=e.enforce,f=e.get,p=String,v=Object.defineProperty,d=o("".slice),y=o("".replace),h=o([].join),m=c&&!r(function(){return 8!==v(function(){},"length",{value:8}).length}),_=String(String).split("String"),e=t.exports=function(t,n,e){"Symbol("===d(p(n),0,7)&&(n="["+y(p(n),/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(n="get "+n),e&&e.setter&&(n="set "+n),(!a(t,"name")||s&&t.name!==n)&&(c?v(t,"name",{value:n,configurable:!0}):t.name=n),m&&e&&a(e,"arity")&&t.length!==e.arity&&v(t,"length",{value:e.arity});try{e&&a(e,"constructor")&&e.constructor?c&&v(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}e=l(t);return a(e,"source")||(e.source=h(_,"string"==typeof n?n:"")),t};Function.prototype.toString=e(function(){return i(this)&&f(this).source||u(this)},"toString")},function(t,n,e){var o,r,i,a,c=e(71),s=e(1),u=e(7),l=e(45),f=e(4),p=e(26),v=e(72),e=e(48),d="Object already initialized",y=s.TypeError,s=s.WeakMap,h=c||p.state?((i=p.state||(p.state=new s)).get=i.get,i.has=i.has,i.set=i.set,o=function(t,n){if(i.has(t))throw y(d);return n.facade=t,i.set(t,n),n},r=function(t){return i.get(t)||{}},function(t){return i.has(t)}):(e[a=v("state")]=!0,o=function(t,n){if(f(t,a))throw y(d);return n.facade=t,l(t,a,n),n},r=function(t){return f(t,a)?t[a]:{}},function(t){return f(t,a)});t.exports={set:o,get:r,has:h,enforce:function(t){return h(t)?r(t):o(t,{})},getterFor:function(n){return function(t){if(u(t)&&(t=r(t)).type===n)return t;throw y("Incompatible receiver, "+n+" required")}}}},function(t,n,e){var o=e(1),e=e(3),o=o.WeakMap;t.exports=e(o)&&/native code/.test(String(o))},function(t,n,e){var o=e(41),r=e(43),i=o("keys");t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t,n,e){var s=e(4),u=e(74),l=e(19),f=e(15);t.exports=function(t,n,e){for(var o=u(n),r=f.f,i=l.f,a=0;a<o.length;a++){var c=o[a];s(t,c)||e&&s(e,c)||r(t,c,i(n,c))}}},function(t,n,e){var o=e(23),r=e(0),i=e(49),a=e(81),c=e(10),s=r([].concat);t.exports=o("Reflect","ownKeys")||function(t){var n=i.f(c(t)),e=a.f;return e?s(n,e(t)):n}},function(t,n,e){var o=e(0),a=e(4),c=e(20),s=e(76).indexOf,u=e(48),l=o([].push);t.exports=function(t,n){var e,o=c(t),r=0,i=[];for(e in o)!a(u,e)&&a(o,e)&&l(i,e);for(;n.length>r;)!a(o,e=n[r++])||~s(i,e)||l(i,e);return i}},function(t,n,e){function o(c){return function(t,n,e){var o,r=s(t),i=l(r),a=u(e,i);if(c&&n!=n){for(;a<i;)if((o=r[a++])!=o)return!0}else for(;a<i;a++)if((c||a in r)&&r[a]===n)return c||a||0;return!c&&-1}}var s=e(20),u=e(77),l=e(30);t.exports={includes:o(!0),indexOf:o(!1)}},function(t,n,e){var o=e(16),r=Math.max,i=Math.min;t.exports=function(t,n){t=o(t);return t<0?r(t+n,0):i(t,n)}},function(t,n){var e=Math.ceil,o=Math.floor;t.exports=Math.trunc||function(t){t=+t;return(0<t?o:e)(t)}},function(t,n,e){var o=e(16),r=Math.min;t.exports=function(t){return 0<t?r(o(t),9007199254740991):0}},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){e=e(1);t.exports=e},function(t,n,e){var o=e(3),r=e(7),i=e(84);t.exports=function(t,n,e){return i&&o(n=n.constructor)&&n!==e&&r(n=n.prototype)&&n!==e.prototype&&i(t,n),t}},function(t,n,e){var r=e(85),i=e(10),a=e(86);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,o=!1,t={};try{(e=r(Object.prototype,"__proto__","set"))(t,[]),o=t instanceof Array}catch(t){}return function(t,n){return i(t),a(n),o?e(t,n):t.__proto__=n,t}}():void 0)},function(t,n,e){var o=e(0),r=e(14);t.exports=function(t,n,e){try{return o(r(Object.getOwnPropertyDescriptor(t,n)[e]))}catch(t){}}},function(t,n,e){var o=e(3),r=String,i=TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw i("Can't set "+r(t)+" as a prototype")}},function(t,n,e){e(88),e(93)},function(t,n,e){var o=e(6),r=e(1),e=e(54)(r.setInterval,!0);o({global:!0,bind:!0,forced:r.setInterval!==e},{setInterval:e})},function(t,n,e){var e=e(12),o=Function.prototype,r=o.apply,i=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(e?i.bind(r):function(){return i.apply(r,arguments)})},function(t,n){t.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},function(t,n,e){e=e(0);t.exports=e([].slice)},function(t,n){var e=TypeError;t.exports=function(t,n){if(t<n)throw e("Not enough arguments");return t}},function(t,n,e){var o=e(6),r=e(1),e=e(54)(r.setTimeout,!0);o({global:!0,bind:!0,forced:r.setTimeout!==e},{setTimeout:e})},function(t,n,e){"use strict";e(55)},function(t,n,e){"use strict";var o=e(32),r=e(31);t.exports=o?{}.toString:function(){return"[object "+r(this)+"]"}},function(t,n,e){var o=e(6),e=e(97);o({global:!0,forced:parseInt!=e},{parseInt:e})},function(t,n,e){var o=e(1),r=e(2),i=e(0),a=e(17),c=e(52).trim,e=e(53),s=o.parseInt,o=o.Symbol,u=o&&o.iterator,l=/^[+-]?0x/i,f=i(l.exec),o=8!==s(e+"08")||22!==s(e+"0x16")||u&&!r(function(){s(Object(u))});t.exports=o?function(t,n){t=c(a(t));return s(t,n>>>0||(f(l,t)?16:10))}:s},function(t,n,e){"use strict";var o=e(46).PROPER,r=e(29),i=e(10),a=e(17),c=e(2),s=e(99),e="toString",u=RegExp.prototype[e],c=c(function(){return"/a/b"!=u.call({source:"a",flags:"b"})}),o=o&&u.name!=e;(c||o)&&r(RegExp.prototype,e,function(){var t=i(this);return"/"+a(t.source)+"/"+a(s(t))},{unsafe:!0})},function(t,n,e){var o=e(11),r=e(4),i=e(24),a=e(100),c=RegExp.prototype;t.exports=function(t){var n=t.flags;return void 0!==n||"flags"in c||r(t,"flags")||!i(c,t)?n:o(a,t)}},function(t,n,e){"use strict";var o=e(10);t.exports=function(){var t=o(this),n="";return t.hasIndices&&(n+="d"),t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.unicodeSets&&(n+="v"),t.sticky&&(n+="y"),n}},function(t,n,e){"use strict";e(57)},function(t,n,e){function o(p){var v=1==p,d=2==p,y=3==p,h=4==p,m=6==p,_=7==p,b=5==p||m;return function(t,n,e,o){for(var r,i,a=x(t),c=I(a),s=g(n,e),u=C(c),l=0,n=o||S,f=v?n(t,u):d||_?n(t,0):void 0;l<u;l++)if((b||l in c)&&(i=s(r=c[l],l,a),p))if(v)f[l]=i;else if(i)switch(p){case 3:return!0;case 5:return r;case 6:return l;case 2:w(f,r)}else switch(p){case 4:return!1;case 7:w(f,r)}return m?-1:y||h?h:f}}var g=e(103),r=e(0),I=e(21),x=e(28),C=e(30),S=e(105),w=r([].push);t.exports={forEach:o(0),map:o(1),filter:o(2),some:o(3),every:o(4),find:o(5),findIndex:o(6),filterReject:o(7)}},function(t,n,e){var o=e(104),r=e(14),i=e(12),a=o(o.bind);t.exports=function(t,n){return r(t),void 0===n?t:i?a(t,n):function(){return t.apply(n,arguments)}}},function(t,n,e){var o=e(8),r=e(0);t.exports=function(t){if("Function"===o(t))return r(t)}},function(t,n,e){var o=e(106);t.exports=function(t,n){return new(o(t))(0===n?0:n)}},function(t,n,e){var o=e(107),r=e(108),i=e(7),a=e(9)("species"),c=Array;t.exports=function(t){var n;return void 0===(n=o(t)&&(n=t.constructor,r(n)&&(n===c||o(n.prototype))||i(n)&&null===(n=n[a]))?void 0:n)?c:n}},function(t,n,e){var o=e(8);t.exports=Array.isArray||function(t){return"Array"==o(t)}},function(t,n,e){function o(){}function r(t){if(!s(t))return!1;try{return v(o,p,t),!0}catch(t){return!1}}function i(t){if(!s(t))return!1;switch(u(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!y(d,f(t))}catch(t){return!0}}var a=e(0),c=e(2),s=e(3),u=e(31),l=e(23),f=e(47),p=[],v=l("Reflect","construct"),d=/^\s*(?:class|function)\b/,y=a(d.exec),h=!d.exec(o);i.sham=!0,t.exports=!v||c(function(){var t;return r(r.call)||!r(Object)||!r(function(){t=!0})||t})?i:r},function(t,n,e){var o=e(2),r=e(9),i=e(25),a=r("species");t.exports=function(n){return 51<=i||!o(function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[n](Boolean).foo})}},function(t,n,e){"use strict";var o=e(6),r=e(111).left,i=e(112),a=e(25);o({target:"Array",proto:!0,forced:!e(113)&&79<a&&a<83||!i("reduce")},{reduce:function(t){var n=arguments.length;return r(this,t,n,1<n?arguments[1]:void 0)}})},function(t,n,e){function o(u){return function(t,n,e,o){l(n);var r=f(t),i=p(r),a=v(r),c=u?a-1:0,s=u?-1:1;if(e<2)for(;;){if(c in i){o=i[c],c+=s;break}if(c+=s,u?c<0:a<=c)throw d("Reduce of empty array with no initial value")}for(;u?0<=c:c<a;c+=s)c in i&&(o=n(o,i[c],c,r));return o}}var l=e(14),f=e(28),p=e(21),v=e(30),d=TypeError;t.exports={left:o(!1),right:o(!0)}},function(t,n,e){"use strict";var o=e(2);t.exports=function(t,n){var e=[][t];return!!e&&o(function(){e.call(null,n||function(){return 1},1)})}},function(e,t,o){!function(t){var n=o(8);e.exports=void 0!==t&&"process"==n(t)}.call(this,o(114))},function(t,n){var e,o,t=t.exports={};function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}try{e="function"==typeof setTimeout?setTimeout:r}catch(t){e=r}try{o="function"==typeof clearTimeout?clearTimeout:i}catch(t){o=i}function a(n){if(e===setTimeout)return setTimeout(n,0);if((e===r||!e)&&setTimeout)return(e=setTimeout)(n,0);try{return e(n,0)}catch(t){try{return e.call(null,n,0)}catch(t){return e.call(this,n,0)}}}var c,s=[],u=!1,l=-1;function f(){u&&c&&(u=!1,c.length?s=c.concat(s):l=-1,s.length)&&p()}function p(){if(!u){for(var t=a(f),n=(u=!0,s.length);n;){for(c=s,s=[];++l<n;)c&&c[l].run();l=-1,n=s.length}c=null,u=!1,!function(n){if(o===clearTimeout)return clearTimeout(n);if((o===i||!o)&&clearTimeout)return(o=clearTimeout)(n);try{o(n)}catch(t){try{return o.call(null,n)}catch(t){return o.call(this,n)}}}(t)}}function v(t,n){this.fun=t,this.array=n}function d(){}t.nextTick=function(t){var n=new Array(arguments.length-1);if(1<arguments.length)for(var e=1;e<arguments.length;e++)n[e-1]=arguments[e];s.push(new v(t,n)),1!==s.length||u||a(p)},v.prototype.run=function(){this.fun.apply(null,this.array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={},t.on=d,t.addListener=d,t.once=d,t.off=d,t.removeListener=d,t.removeAllListeners=d,t.emit=d,t.prependListener=d,t.prependOnceListener=d,t.listeners=function(t){return[]},t.binding=function(t){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(t){throw new Error("process.chdir is not supported")},t.umask=function(){return 0}},function(t,n,e){"use strict";function c(t,n,e){return 0===n?e:n%2==1?c(t,n-1,e*t):c(t*t,n/2,e)}function s(t,n,e){for(var o=-1,r=e;++o<6;)r+=n*t[o],t[o]=r%1e7,r=a(r/1e7)}function u(t,n){for(var e=6,o=0;0<=--e;)o+=t[e],t[e]=a(o/n),o=o%n*1e7}function l(t){for(var n,e=6,o="";0<=--e;)""===o&&0!==e&&0===t[e]||(n=d(t[e]),o=""===o?n:o+y("0",7-n.length)+n);return o}var o=e(6),r=e(0),f=e(16),p=e(51),i=e(116),e=e(2),v=RangeError,d=String,a=Math.floor,y=r(i),h=r("".slice),m=r(1..toFixed);o({target:"Number",proto:!0,forced:e(function(){return"0.000"!==m(8e-5,3)||"1"!==m(.9,0)||"1.25"!==m(1.255,2)||"1000000000000000128"!==m(0xde0b6b3a7640080,0)})||!e(function(){m({})})},{toFixed:function(t){var n,e,o=p(this),t=f(t),r=[0,0,0,0,0,0],i="",a="0";if(t<0||20<t)throw v("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||1e21<=o)return d(o);if(o<0&&(i="-",o=-o),1e-21<o)if(o=(n=function(t){for(var n=0,e=t;4096<=e;)n+=12,e/=4096;for(;2<=e;)n+=1,e/=2;return n}(o*c(2,69,1))-69)<0?o*c(2,-n,1):o/c(2,n,1),o*=4503599627370496,0<(n=52-n)){for(s(r,0,o),e=t;7<=e;)s(r,1e7,0),e-=7;for(s(r,c(10,e,1),0),e=n-1;23<=e;)u(r,1<<23),e-=23;u(r,1<<e),s(r,1,1),u(r,2),a=l(r)}else s(r,0,o),s(r,1<<-n,0),a=l(r)+y("0",t);return a=0<t?i+((o=a.length)<=t?"0."+y("0",t-o)+a:h(a,0,o-t)+"."+h(a,o-t)):i+a}})},function(t,n,e){"use strict";var r=e(16),i=e(17),a=e(13),c=RangeError;t.exports=function(t){var n=i(a(this)),e="",o=r(t);if(o<0||o==1/0)throw c("Wrong number of repetitions");for(;0<o;(o>>>=1)&&(n+=n))1&o&&(e+=n);return e}},function(t,n,e){"use strict";e(59)},function(t,n,e){"use strict";e(60)},function(t,n,e){"use strict";e(61)},function(t,n,e){"use strict";e.r(n);function o(){var t=this,n=t._self._c;return n("div",{ref:"containerRef",staticClass:"invoice-container"},[n("div",{ref:"wrapperRef",staticClass:"invoice_box",style:{transform:"scale(".concat(t.scale,")"),transformOrigin:"top left",width:"".concat(t.baseWidth,"px"),"--line-color":t.lineColor,"--font-color":t.fontColor}},[n("InvoiceHeader",{attrs:{IsQrCode:t.IsQrCode}}),t._v(" "),n("div",{staticClass:"Color_Line_All"},[n("InvoiceBuyPart",{attrs:{IsScale:t.IsScale}}),t._v(" "),n("InvoiceMainPart",t._g({attrs:{columns:t.columns,InitData_copy:t.InitData,SecondColumns:t.SecondColumns,SecondInitData:t.SecondInitData,hellpChinessNum:t.hellpChinessNum,autoCount:t.autoCount,SecondTableType:t.SecondTableType}},t.$listeners)),t._v(" "),n("InvoiceSellPart")],1),t._v(" "),n("ul",{staticClass:"invoicetFooter"},[n("li",[n("span",{staticClass:"FontColor"},[t._v("开票人:")]),n("span",[t._v(t._s(t.InvoiceInformation[t.preinstallLocation[14].key]))])])])],1)])}o._withStripped=!0,e(18),e(87);function r(){var t=this,n=t._self._c;return n("div",{staticClass:"invoice_top"},[n("div",{staticClass:"invoice_top_one"},[n("div",[t.IsQrCode?n("img",{staticClass:"codeImg",style:t.preinstallLocation[0].style,attrs:{src:t.InvoiceInformation[t.preinstallLocation[0].key],alt:""}}):n("div",{staticClass:"codeImg"})])]),t._v(" "),t.preinstallLocation[1].visible?n("div",{staticClass:"invoice_top_two",style:t.preinstallLocation[1].style},[t._v("\n "+t._s(t.InvoiceInformation[t.preinstallLocation[1].key])+"\n ")]):t._e(),t._v(" "),n("div",{staticClass:"top_middle"},[n("div",{staticClass:"top_middle_dingbu Color_Line_bottom"},[t._v("\n "+t._s(t.InvoiceInformation[t.preinstallLocation[2].key])+"\n ")]),t._v(" "),n("div",{staticClass:"top_middle_dibu Color_Line_top"})]),t._v(" "),n("div",{staticClass:"top_right"},[n("div",[n("span",{staticClass:"textClass FontColor"},[t._v("发票号码:")]),t._v(" "),n("span",[t._v("\n "+t._s(t.InvoiceInformation[t.preinstallLocation[3].key])+"\n ")])]),t._v(" "),n("div",[n("span",{staticClass:"textClass FontColor"},[t._v(" 开票日期:")]),t._v(" "),n("span",[t._v("\n "+t._s(t.InvoiceInformation[t.preinstallLocation[4].key])+"\n ")])])])])}var i=[{index:0,key:"erweimaCode",disable:!1,style:{}},{index:1,key:"specialIndustry",disable:!1},{index:2,key:"provinceInvoiceTypeCode",disable:!1},{index:3,key:"invoiceNo",disable:!1},{index:4,key:"invoiceIssueDate",disable:!1},{index:5,key:"buyerName",disable:!1},{index:6,key:"buyerTaxId",disable:!1},{index:7,key:"sellerName",disable:!1},{index:8,key:"sellerTaxId",disable:!1},{index:9,key:"amount",disable:!1},{index:10,key:"taxAmount",disable:!1},{index:11,key:"jiashuihejizhongwen",disable:!1},{index:12,key:"jiashuiheji",disable:!1},{index:13,key:"note",disable:!1},{index:14,key:"invoiceClerk",disable:!1}],a={erweimaCode:"",specialIndustry:"",provinceInvoiceTypeCode:"山东省增值税普通发票",invoiceCode:"",invoiceNo:"",invoiceIssueDate:"",invoiceCheckCode:"",buyerName:"",buyerTaxId:"",buyerAddrTel:"",buyerFinancialAccount:"",codePassWord:"",amount:"",taxAmount:"",jiashuihejizhongwen:"",jiashuiheji:"",sellerName:"",sellerTaxId:"",sellerAddrTel:"",sellerFinancialAccount:"",note:[""],payee:"",checker:"",invoiceClerk:"",sellgaizhang:""},c=[{title:"项目名称",width:"24%",dataIndex:"itemName",key:"itemName"},{title:"规格型号",width:"10%",dataIndex:"specification"},{title:"单位",width:"7%",dataIndex:"measurementDimension"},{title:"数 量",width:"10%",dataIndex:"quantity"},{title:"单 价",width:"10%",dataIndex:"price",align:"right"},{title:"金 额",width:"15%",dataIndex:"amount",key:"amount",align:"right"},{title:"税率/征收率",width:"8%",dataIndex:"taxScheme",key:"taxScheme",align:"center"},{title:"税 额",width:"16%",dataIndex:"taxAmount",key:"taxAmount",align:"right"}],s=[],u=[{title:"运输工具种类",width:"24%",dataIndex:"itemName",key:"itemName"},{title:"运输工具牌号",width:"20%",dataIndex:"specification"},{title:"起运地",width:"20%",dataIndex:"measurementDimension"},{title:"到达地",width:"20%",dataIndex:"quantity"},{title:"运输货物名称",width:"16%",dataIndex:"price",align:"right"}],l=[];r._withStripped=!0;var f={name:"Invoice_header",inject:["InvoiceInformation","preinstallLocation"],props:{IsQrCode:{type:Boolean}}};e(94);function p(t,n,e,o,r,i,a,c){var s,u,l="function"==typeof t?t.options:t;return n&&(l.render=n,l.staticRenderFns=e,l._compiled=!0),o&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=s):r&&(s=c?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),s&&(l.functional?(l._injectStyles=s,u=l.render,l.render=function(t,n){return s.call(n),u(t,n)}):(n=l.beforeCreate,l.beforeCreate=n?[].concat(n,s):[s])),{exports:t,options:l}}function v(){var t=this,n=t._self._c;return n("div",{staticClass:"userInfo Color_Line_bottom"},[t._m(0),t._v(" "),n("div",{staticClass:"userInfo_bufen"},[n("div",{staticClass:"DisplayFlex"},[n("div",{staticClass:"userInfo_bufen_mingcheng FontColor"},[t._v("名称:")]),n("span",{staticClass:"userInfo_bufen_mingcheng_flex"},[t._v(" "+t._s(t.InvoiceInformation[t.preinstallLocation[5].key]))])]),t._v(" "),n("div",{staticClass:"DisplayFlex"},[n("div",{staticClass:"userInfo_bufen_mingcheng FontColor"},[t._v("统一社会信用代码 / 纳税人识别号:")]),n("span",{staticClass:"userInfo_bufen_mingcheng_flex",attrs:{id:"dutyParagraph"}},[t._v(t._s(t.InvoiceInformation[t.preinstallLocation[6].key]))])])]),t._v(" "),t._m(1),t._v(" "),n("ul",{staticClass:"userInfo_bufen"},[n("li",{staticClass:"DisplayFlex"},[n("div",{staticClass:"userInfo_bufen_mingcheng FontColor"},[t._v("名称:")]),n("span",{staticClass:"userInfo_bufen_mingcheng_flex"},[t._v(" "+t._s(t.InvoiceInformation[t.preinstallLocation[7].key]))])]),t._v(" "),n("li",{staticClass:"DisplayFlex"},[n("div",{staticClass:"userInfo_bufen_mingcheng FontColor"},[t._v("统一社会信用代码 / 纳税人识别号:")]),n("span",{staticClass:"userInfo_bufen_mingcheng_flex",attrs:{id:"dutyParagraph"}},[t._v(t._s(t.InvoiceInformation[t.preinstallLocation[8].key]))])])])])}f=p(f,r,[],!1,null,"5d7a1e4d",null).exports;v._withStripped=!0,e(56),e(96),e(98);function d(t){var n="12px",e=(t.style.fontSize?n=t.style.fontSize:window.getComputedStyle(t,null).getPropertyValue("font-size")?n=window.getComputedStyle(t,null).getPropertyValue("font-size"):window.getComputedStyle(t.fontSize)&&(n=window.getComputedStyle(t.fontSize)),n=parseInt(n),t.textContent.length),o=t.offsetWidth,r=Math.floor(o/n);if(!(e<=r)){for(var i=!0;0<n&&i;)n--,Math.floor(o/n)>=e&&(i=!1);t.style.fontSize=n+"px"}}function y(){var o=this,r=o._self._c;return r("div",[r("table",{staticClass:"GoodsTable Color_Line_bottom",attrs:{cellpadding:"0",cellspacing:"0"}},[o.listInvoiceMark?o._e():[r("thead",[r("tr",{staticClass:"FontColor"},o._l(o.columns,function(t,n){return r("td",{key:n,style:t.width?"width:"+t.width:"width: 10%"},[o._v("\n "+o._s(t.title)+"\n ")])}),0)]),o._v(" "),r("tbody",[o._l(o.InitData,function(e,t){return r("tr",{key:t},o._l(o.columns,function(t,n){return r("td",{key:n,style:{"text-align":t.align||""}},[r("span",[o._v(o._s(e[t.dataIndex]))])])}),0)}),o._v(" "),r("tr"),o._v(" "),r("tr"),o._v(" "),r("tr"),o._v(" "),r("tr")],2)],o._v(" "),o.listInvoiceMark?[r("thead",[r("tr",{staticClass:"FontColor"},o._l(o.columns,function(t,n){return r("td",{key:n,style:t.width?"width:"+t.width:"width: 10%"},[o._v("\n "+o._s(t.title)+"\n ")])}),0)]),o._v(" "),r("tbody",{staticClass:"invoice-list"},o._l(o.InitData,function(e,t){return r("tr",{key:t},o._l(o.columns,function(t,n){return r("td",{key:n,style:{"text-align":t.align||""}},[r("a",{class:0===n?"listInvoiceMark":"",on:{click:o.ModalInvoiceList}},[o._v(o._s(e[t.dataIndex]))])])}),0)}),0)]:o._e(),o._v(" "),r("tfoot",[r("tr",{staticClass:"total Color_Line_bottom"},o._l(o.columns,function(t,n){return r("td",{key:n,style:{"text-align":t.align||""},attrs:{align:0===n?"center":""}},[r("span",{staticClass:"FontColor"},[o._v(o._s(0===n?"合       计":""))]),o._v("\n "+o._s(t.key&&"amount"===t.key?o.InvoiceInformation[o.preinstallLocation[9].key]:"")+"\n "+o._s(t.key&&"taxAmount"===t.key?o.InvoiceInformation[o.preinstallLocation[10].key]:"")+"\n ")])}),0)])],2),o._v(" "),r("table",{staticClass:"GoodsTable Color_Line_bottom"},["1"===o.SecondTableType?r("thead",{staticClass:"Color_Line_bottom"},[r("tr",{staticClass:"FontColor"},o._l(o.SecondColumns,function(t,n){return r("td",{key:n,style:t.width?"width:"+t.width:"width: 10%"},[o._v("\n "+o._s(t.title)+"\n ")])}),0)]):o._e(),o._v(" "),"1"===o.SecondTableType?r("tbody",{staticClass:"invoice-list Color_Line_bottom"},o._l(o.SecondInitData,function(e,t){return r("tr",{key:t},o._l(o.SecondColumns,function(t,n){return r("td",{key:n,style:{"text-align":t.align||""}},[o._v("\n "+o._s(e[t.dataIndex])+"\n ")])}),0)}),0):o._e(),o._v(" "),r("tr",{staticClass:"GoodsTotal"},[r("td",{staticClass:"FontColor Color_Line_right",attrs:{align:"center"}},[o._v("\n 价税合计(大写)\n ")]),o._v(" "),r("td",{attrs:{colspan:"7"}},[r("div",{staticStyle:{width:"100%",display:"flex"}},[r("div",{staticStyle:{width:"60%"},attrs:{type:"text"}},[r("span",{staticClass:"c-black"},[o._v(o._s(o.hellpChinessNum?o.InvoiceChinessNumber(o.InvoiceInformation[o.preinstallLocation[12].key]):o.InvoiceInformation[o.preinstallLocation[11].key]))])]),o._v(" "),r("div",{staticStyle:{width:"30%"},attrs:{type:"text"}},[r("span",{staticClass:"FontColor"},[o._v(" (小写)")]),o._v(" "),r("span",{staticClass:"c-black"},[o._v("\n "+o._s(o.InvoiceInformation[o.preinstallLocation[12].key]))])])])])])])])}function h(){var e=this,o=e._self._c;return o("div",{staticClass:"userInfo"},[e._m(0),e._v(" "),o("div",{staticClass:"userInfo_bufen"},[Array.isArray(e.InvoiceInformation[e.preinstallLocation[13].key])?o("ul",e._l(e.InvoiceInformation[e.preinstallLocation[13].key],function(t,n){return o("li",{key:n},[e._v("\n "+e._s(t)+"\n ")])}),0):o("span",[e._v("\n "+e._s(e.InvoiceInformation[e.preinstallLocation[13].key])+"\n ")])])])}var m={name:"Invoice_buyPart",inject:["InvoiceInformation","preinstallLocation"],props:{IsScale:{type:Boolean}},mounted:function(){this.listenScal(this.IsScale)},watch:{IsScale:function(t){this.listenScal(t)}},methods:{listenScal:function(t){t&&(d(document.getElementById("buyAddressTelephone")),d(document.getElementById("buyerFinancialAccount")))}}},m=(e(101),p(m,v,[function(){var t=this,n=t._self._c;return n("span",{staticClass:"userInfo_biaotiming Color_Line_right FontColor"},[n("div",[t._v("购")]),t._v(" "),n("div",[t._v("买")]),t._v(" "),n("div",[t._v("方")]),t._v(" "),n("div",[t._v("信")]),t._v(" "),n("div",[t._v("息")])])},function(){var t=this,n=t._self._c;return n("div",{staticClass:"userInfo_biaotiming Color_Line_right Color_Line_left FontColor"},[n("div",[t._v("销")]),t._v(" "),n("div",[t._v("售")]),t._v(" "),n("div",[t._v("方")]),t._v(" "),n("div",[t._v("信")]),t._v(" "),n("div",[t._v("息")])])}],!1,null,"55bf4f38",null).exports),_=(y._withStripped=!0,e(58),e(110),e(115),{name:"Invoice_MainPart",inject:["InvoiceInformation","preinstallLocation"],props:{columns:{type:Array},InitData_copy:{type:Array},SecondTableType:{type:String,default:""},SecondColumns:{type:Array},SecondInitData:{type:Array},listInvoiceMark:{type:Boolean,default:!1},hellpChinessNum:{type:Boolean},autoCount:{type:Boolean}},data:function(){return{InitData:[]}},watch:{InitData_copy:function(t){this.InitData=t,this.autoCount&&this.AutoCountAmount(!0)},listInvoiceMark:function(t){this.switchListInvoiceMark(t)},autoCount:function(t){this.AutoCountAmount(t)}},created:function(){this.InitData=this.InitData_copy,this.switchListInvoiceMark(this.listInvoiceMark),this.AutoCountAmount(this.autoCount)},methods:{InvoiceChinessNumber:function(t){return t=0<=(t=function(t,n,e){if(n=1<arguments.length&&void 0!==n?n:1e15,e=2<arguments.length&&void 0!==e?e:"元",""==t)return"";var o=Math.abs(t);if(isNaN(o))return"请输入数字类型!";var r,i,a=["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"],c=["","拾","佰","仟"],s=["","万","亿","兆"],u=["角","分","毫","厘"],l="",f=t<0?!1:!0;if(n<=(t=o))return"超过最大限制,请参考第二个参数";if(0==t)return l=a[0]+e+"整";if(-1==(t=t.toString()).indexOf("."))r=t,i="";else{if(2<(n=t.split(".")).length)return"书写错误";r=n[0],i=n[1].substr(0,4)}if(0<parseInt(r,10)){for(var p=0,v=r.length,d=0;d<v;d++){var y=v-d-1,h=y/4,y=y%4;"0"==(m=r.substr(d,1))?p++:(0<p&&(l+=a[0]),p=0,l+=a[parseInt(m)]+c[y]),0==y&&p<4&&(l+=s[h])}l+=e}if(""!=i)for(var m,_=i.length,d=0;d<_;d++)"0"!=(m=i.substr(d,1))&&(l+=a[Number(m)]+u[d]);return""==l?l+=a[0]+e+"整":""==i&&(l+="整"),l=f?l:"(负数)"+l}(t))?"ⓧ "+t:"ⓧ"+t},ModalInvoiceList:function(){this.$emit("ModalInvoiceList")},switchListInvoiceMark:function(t){var o=this;if(t){for(var n={},e=0;e<this.columns.length;e++)!function(e){var t;o.columns[e].key&&"itemName"===o.columns[e].key&&(n[o.columns[e].dataIndex]="(详情见发票清单)"),o.columns[e].key&&"amount"===o.columns[e].key&&(n[o.columns[e].dataIndex]=o.InvoiceInformation[o.preinstallLocation[12].key]),o.columns[e].key&&"taxScheme"===o.columns[e].key&&(!1===(t=o.InitData.reduce(function(t,n){return(n[o.columns[e].dataIndex]===t||!1===t)&&t},o.InitData[0][o.columns[e].key]))?n[o.columns[e].dataIndex]="":(isNaN(Number(t))||(t=100*t+"%"),n[o.columns[e].dataIndex]=t)),o.columns[e].key&&"taxAmount"===o.columns[e].key&&(n[o.columns[e].dataIndex]=o.InvoiceInformation[o.preinstallLocation[13].key])}(e);this.InitData=[n]}},AutoCountAmount:function(t){var e,o;t&&(this.columns.map(function(t){"amount"===t.key&&(e=t.dataIndex),"taxAmount"===t.key&&(o=t.dataIndex)}),t=this.InitData.reduce(function(t,n){return n[e]&&!isNaN(Number(n[e]))&&(t[0]+=Number(n[e])),n[o]&&!isNaN(Number(n[o]))&&(t[1]+=Number(n[o])),t},[0,0]),this.InvoiceInformation[this.preinstallLocation[12].key]=t[0].toFixed(2),this.InvoiceInformation[this.preinstallLocation[13].key]=t[1].toFixed(2))}}}),_=(e(117),p(_,y,[],!1,null,"8561442e",null).exports);h._withStripped=!0;var b={name:"Invoice_sellPart",inject:["InvoiceInformation","preinstallLocation"],props:{IsScale:{type:Boolean}},mounted:function(){this.listenScal(this.IsScale)},watch:{IsScale:function(t){this.listenScal(t)}},methods:{listenScal:function(t){t&&(t=document.getElementById("sellAddressTelephone"),changeFontSize(t),t=document.getElementById("sellerFinancialAccount"),changeFontSize(t))}}},b=(e(118),p(b,h,[function(){var t=this._self._c;return t("span",{staticClass:"userInfo_biaotiming Color_Line_right FontColor"},[t("div",[this._v("备")]),this._v(" "),t("div",[this._v("注")])])}],!1,null,"753327da",null).exports);function g(t){return t.map(function(t){t.key&&0}),!0}f={name:"DigitalZhenghe_Component",props:{preinstallLocation:{type:Array,default:function(){return i}},InvoiceInformation:{type:Object,default:function(){return a}},IsQrCode:{type:Boolean,default:!0},columns:{type:Array,default:function(){return c},validator:g},InitData:{type:Array,default:function(){return s}},hellpChinessNum:{type:Boolean,default:!1},autoCount:{type:Boolean,default:!1},IsScale:{type:Boolean,default:!1},specialIndustryVisible:{type:Boolean,default:!1},SecondTableType:{type:String,default:""},SecondColumns:{type:Array,default:function(){return u},validator:g},SecondInitData:{type:Array,default:function(){return l}},lineColor:{type:String,default:"#964300"},fontColor:{type:String,default:"#964300"},baseWidth:{type:Number,default:900},baseHeight:{type:Number,default:600}},watch:{InvoiceInformation:function(t){}},data:function(){return{scale:1,resizeObserver:null,resizeTimer:null}},mounted:function(){this.initScale()},beforeDestroy:function(){this.resizeObserver&&this.resizeObserver.disconnect(),this.resizeTimer&&clearTimeout(this.resizeTimer)},methods:{initScale:function(){var t=this,n=this.$refs.containerRef,e=this.$refs.wrapperRef;n&&e&&(this.calculateScale(),this.resizeObserver=new ResizeObserver(function(){t.resizeTimer&&clearTimeout(t.resizeTimer),t.resizeTimer=setTimeout(function(){t.calculateScale()},100)}),this.resizeObserver.observe(n))},calculateScale:function(){var t,n=this,e=this.$refs.containerRef,o=this.$refs.wrapperRef;e&&o&&(t=e.clientWidth/this.baseWidth,this.scale=Math.max(.5,Math.min(t,2)),this.$nextTick(function(){var t=o.offsetHeight*n.scale;e.style.height="".concat(t,"px")}))}},provide:function(){return{InvoiceInformation:this.InvoiceInformation,preinstallLocation:this.preinstallLocation}},components:{InvoiceHeader:f,InvoiceBuyPart:m,InvoiceMainPart:_,InvoiceSellPart:b}},e(119),m=p(f,o,[],!1,null,"9514bfd8",null);n.default=m.exports}],o={},r.m=e,r.c=o,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var o in n)r.d(e,o,function(t){return n[t]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=120);function r(t){var n;return(o[t]||(n=o[t]={i:t,l:!1,exports:{}},e[t].call(n.exports,n,n.exports,r),n.l=!0,n)).exports}var e,o});