UNPKG

invoice-message

Version:

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

1 lines 45.3 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(19),o=Function.prototype,i=o.call,o=e&&o.bind.bind(i,i);t.exports=e?o:function(t){return function(){return i.apply(t,arguments)}}},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(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(67))},function(t,n,e){var o=e(0),i=e(28),r=o({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return r(i(t),n)}},function(t,n,e){e=e(1);t.exports=!e(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(t,n,e){var o=e(2),e=e(37),i=e.all;t.exports=e.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:o(t)||t===i}:function(t){return"object"==typeof t?null!==t:o(t)}},function(t,n,e){var u=e(3),l=e(18).f,f=e(44),v=e(29),p=e(27),d=e(79),_=e(49);t.exports=function(t,n){var e,o,i,r=t.target,a=t.global,s=t.stat,c=a?u:s?u[r]||p(r,{}):(u[r]||{}).prototype;if(c)for(e in n){if(o=n[e],i=t.dontCallGetSet?(i=l(c,e))&&i.value:c[e],!_(a?e:r+(s?".":"#")+e,t.forced)&&void 0!==i){if(typeof o==typeof i)continue;d(o,i)}(t.sham||i&&i.sham)&&f(o,"sham",!0),v(c,e,o,t)}}},function(t,n,e){var e=e(0),o=e({}.toString),i=e("".slice);t.exports=function(t){return i(o(t),8,-1)}},function(t,n,e){var o=e(3),i=e(40),r=e(4),a=e(42),s=e(39),e=e(38),c=o.Symbol,u=i("wks"),l=e?c.for||c:c&&c.withoutSetter||a;t.exports=function(t){return r(u,t)||(u[t]=s&&r(c,t)?c[t]:l("Symbol."+t)),u[t]}},function(t,n,e){var o=e(6),i=String,r=TypeError;t.exports=function(t){if(o(t))return t;throw r(i(t)+" is not an object")}},function(t,n,e){var e=e(19),o=Function.prototype.call;t.exports=e?o.bind(o):function(){return o.apply(o,arguments)}},function(t,n,e){var o=e(34),i=TypeError;t.exports=function(t){if(o(t))throw i("Can't call method on "+t);return t}},function(t,n,e){var o=e(2),i=e(71),r=TypeError;t.exports=function(t){if(o(t))return t;throw r(i(t)+" is not a function")}},function(t,n,e){var o=e(5),i=e(43),r=e(74),a=e(10),s=e(35),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",v="configurable",p="writable";n.f=o?r?function(t,n,e){var o;return a(t),n=s(n),a(e),"function"==typeof t&&"prototype"===n&&"value"in e&&p in e&&!e[p]&&(o=l(t,n))&&o[p]&&(t[n]=e.value,e={configurable:(v in e?e:o)[v],enumerable:(f in e?e:o)[f],writable:!1}),u(t,n,e)}:u:function(t,n,e){if(a(t),n=s(n),a(e),i)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw c("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var o=e(84);t.exports=function(t){t=+t;return t!=t||0==t?0:o(t)}},function(t,n,e){var o=e(31),i=String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(t,n,e){"use strict";function o(t){var n,t=arguments.length<1?0:C(function(t){t=y(t,"number");return"bigint"==typeof t?t:N(t)}(t));return d(S,n=this)&&h(function(){x(n)})?p(Object(t),this,o):t}function i(t,n){for(var e,o=s?m(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(","),i=0;o.length>i;i++)v(n,e=o[i])&&!v(t,e)&&b(t,e,g(n,e))}var r=e(7),a=e(41),s=e(5),c=e(3),u=e(88),l=e(0),f=e(49),v=e(4),p=e(89),d=e(24),_=e(22),y=e(36),h=e(1),m=e(48).f,g=e(18).f,b=e(14).f,x=e(50),I=e(51).trim,e="Number",C=c[e],k=u[e],S=C.prototype,w=c.TypeError,F=l("".slice),L=l("".charCodeAt),N=function(t){var n,e,o,i,r,a,s,c=y(t,"number");if(_(c))throw w("Cannot convert a Symbol value to a number");if("string"==typeof c&&2<c.length)if(c=I(c),43===(t=L(c,0))||45===t){if(88===(n=L(c,2))||120===n)return NaN}else if(48===t){switch(L(c,1)){case 66:case 98:e=2,o=49;break;case 79:case 111:e=8,o=55;break;default:return+c}for(r=(i=F(c,2)).length,a=0;a<r;a++)if((s=L(i,a))<48||o<s)return NaN;return parseInt(i,e)}return+c},c=f(e,!C(" 0o1")||!C("0b1")||C("+0x1"));o.prototype=S,c&&!a&&(S.constructor=o),r({global:!0,constructor:!0,wrap:!0,forced:c},{Number:o});a&&k&&i(u[e],k),(c||a)&&i(u[e],C)},function(t,n,e){var o=e(5),i=e(11),r=e(68),a=e(33),s=e(20),c=e(35),u=e(4),l=e(43),f=Object.getOwnPropertyDescriptor;n.f=o?f:function(t,n){if(t=s(t),n=c(n),l)try{return f(t,n)}catch(t){}if(u(t,n))return a(!i(r.f,t,n),t[n])}},function(t,n,e){e=e(1);t.exports=!e(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},function(t,n,e){var o=e(21),i=e(12);t.exports=function(t){return o(i(t))}},function(t,n,e){var o=e(0),i=e(1),r=e(8),a=Object,s=o("".split);t.exports=i(function(){return!a("z").propertyIsEnumerable(0)})?function(t){return"String"==r(t)?s(t,""):a(t)}:a},function(t,n,e){var o=e(23),i=e(2),r=e(24),e=e(38),a=Object;t.exports=e?function(t){return"symbol"==typeof t}:function(t){var n=o("Symbol");return i(n)&&r(n.prototype,a(t))}},function(t,n,e){var o=e(3),i=e(2);t.exports=function(t,n){return arguments.length<2?(e=o[t],i(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,i,r=e(3),e=e(69),a=r.process,r=r.Deno,a=a&&a.versions||r&&r.version,r=a&&a.v8;!(i=r?0<(o=r.split("."))[0]&&o[0]<4?1:+(o[0]+o[1]):i)&&e&&(!(o=e.match(/Edge\/(\d+)/))||74<=o[1])&&(o=e.match(/Chrome\/(\d+)/))&&(i=+o[1]),t.exports=i},function(t,n,e){var o=e(3),e=e(27),i="__core-js_shared__",o=o[i]||e(i,{});t.exports=o},function(t,n,e){var o=e(3),i=Object.defineProperty;t.exports=function(n,e){try{i(o,n,{value:e,configurable:!0,writable:!0})}catch(t){o[n]=e}return e}},function(t,n,e){var o=e(12),i=Object;t.exports=function(t){return i(o(t))}},function(t,n,e){var a=e(2),s=e(14),c=e(75),u=e(27);t.exports=function(t,n,e,o){var i=(o=o||{}).enumerable,r=void 0!==o.name?o.name:n;if(a(e)&&c(e,r,o),o.global)i?t[n]=e:u(n,e);else{try{o.unsafe?t[n]&&(i=!0):delete t[n]}catch(t){}i?t[n]=e:s.f(t,n,{value:e,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return t}},function(t,n,e){var o=e(85);t.exports=function(t){return o(t.length)}},function(t,n,e){var o=e(32),i=e(2),r=e(8),a=e(9)("toStringTag"),s=Object,c="Arguments"==r(function(){return arguments}());t.exports=o?r: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=s(t),a))?n:c?r(t):"Object"==(n=r(t))&&i(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),i=e(22);t.exports=function(t){t=o(t,"string");return i(t)?t:t+""}},function(t,n,e){var o=e(11),i=e(6),r=e(22),a=e(70),s=e(72),e=e(9),c=TypeError,u=e("toPrimitive");t.exports=function(t,n){if(!i(t)||r(t))return t;var e=a(t,u);if(e){if(e=o(e,t,n=void 0===n?"default":n),!i(e)||r(e))return e;throw c("Can't convert object to primitive value")}return s(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),i=e(1),r=e(3).String;t.exports=!!Object.getOwnPropertySymbols&&!i(function(){var t=Symbol();return!r(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&o&&o<41})},function(t,n,e){var o=e(41),i=e(26);(t.exports=function(t,n){return i[t]||(i[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,i=Math.random(),r=e(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+r(++o+i,36)}},function(t,n,e){var o=e(5),i=e(1),r=e(73);t.exports=!o&&!i(function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var o=e(5),i=e(14),r=e(33);t.exports=o?function(t,n,e){return i.f(t,n,r(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var o=e(5),e=e(4),i=Function.prototype,r=o&&Object.getOwnPropertyDescriptor,e=e(i,"name"),a=e&&"something"===function(){}.name,o=e&&(!o||r(i,"name").configurable);t.exports={EXISTS:e,PROPER:a,CONFIGURABLE:o}},function(t,n,e){var o=e(0),i=e(2),e=e(26),r=o(Function.toString);i(e.inspectSource)||(e.inspectSource=function(t){return r(t)}),t.exports=e.inspectSource},function(t,n){t.exports={}},function(t,n,e){var o=e(81),i=e(86).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return o(t,i)}},function(t,n,e){function o(t,n){return(t=c[s(t)])==l||t!=u&&(r(n)?i(n):!!n)}var i=e(1),r=e(2),a=/#|\.prototype\./,s=o.normalize=function(t){return String(t).replace(a,".").toLowerCase()},c=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(r(t));return 1&n&&(t=s(t,c,"")),t=2&n?s(t,u,"$1"):t}}var i=e(0),r=e(12),a=e(16),e=e(52),s=i("".replace),c=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){},function(t,n,e){},function(t,n,e){},function(t,n,e){},function(t,n,e){"use strict";var o=e(7),i=e(97).map;o({target:"Array",proto:!0,forced:!e(104)("map")},{map:function(t){return i(this,t,1<arguments.length?arguments[1]:void 0)}})},function(t,n,e){var o=e(32),i=e(29),e=e(112);o||i(Object.prototype,"toString",e,{unsafe:!0})},function(t,n,e){},function(t,n,e){},function(t,n,e){},function(t,n,e){},function(t,n,e){},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,i=Object.getOwnPropertyDescriptor,r=i&&!o.call({1:2},1);n.f=r?function(t){t=i(this,t);return!!t&&t.enumerable}:o},function(t,n){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},function(t,n,e){var o=e(13),i=e(34);t.exports=function(t,n){t=t[n];return i(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 i=e(11),r=e(2),a=e(6),s=TypeError;t.exports=function(t,n){var e,o;if("string"===n&&r(e=t.toString)&&!a(o=i(e,t)))return o;if(r(e=t.valueOf)&&!a(o=i(e,t)))return o;if("string"!==n&&r(e=t.toString)&&!a(o=i(e,t)))return o;throw s("Can't convert object to primitive value")}},function(t,n,e){var o=e(3),e=e(6),i=o.document,r=e(i)&&e(i.createElement);t.exports=function(t){return r?i.createElement(t):{}}},function(t,n,e){var o=e(5),e=e(1);t.exports=o&&e(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},function(t,n,e){var o=e(0),i=e(1),r=e(2),a=e(4),s=e(5),c=e(45).CONFIGURABLE,u=e(46),e=e(76),l=e.enforce,f=e.get,v=String,p=Object.defineProperty,d=o("".slice),_=o("".replace),y=o([].join),h=s&&!i(function(){return 8!==p(function(){},"length",{value:8}).length}),m=String(String).split("String"),e=t.exports=function(t,n,e){"Symbol("===d(v(n),0,7)&&(n="["+_(v(n),/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(n="get "+n),e&&e.setter&&(n="set "+n),(!a(t,"name")||c&&t.name!==n)&&(s?p(t,"name",{value:n,configurable:!0}):t.name=n),h&&e&&a(e,"arity")&&t.length!==e.arity&&p(t,"length",{value:e.arity});try{e&&a(e,"constructor")&&e.constructor?s&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}e=l(t);return a(e,"source")||(e.source=y(m,"string"==typeof n?n:"")),t};Function.prototype.toString=e(function(){return r(this)&&f(this).source||u(this)},"toString")},function(t,n,e){var o,i,r,a,s=e(77),c=e(3),u=e(6),l=e(44),f=e(4),v=e(26),p=e(78),e=e(47),d="Object already initialized",_=c.TypeError,c=c.WeakMap,y=s||v.state?((r=v.state||(v.state=new c)).get=r.get,r.has=r.has,r.set=r.set,o=function(t,n){if(r.has(t))throw _(d);return n.facade=t,r.set(t,n),n},i=function(t){return r.get(t)||{}},function(t){return r.has(t)}):(e[a=p("state")]=!0,o=function(t,n){if(f(t,a))throw _(d);return n.facade=t,l(t,a,n),n},i=function(t){return f(t,a)?t[a]:{}},function(t){return f(t,a)});t.exports={set:o,get:i,has:y,enforce:function(t){return y(t)?i(t):o(t,{})},getterFor:function(n){return function(t){if(u(t)&&(t=i(t)).type===n)return t;throw _("Incompatible receiver, "+n+" required")}}}},function(t,n,e){var o=e(3),e=e(2),o=o.WeakMap;t.exports=e(o)&&/native code/.test(String(o))},function(t,n,e){var o=e(40),i=e(42),r=o("keys");t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,n,e){var c=e(4),u=e(80),l=e(18),f=e(14);t.exports=function(t,n,e){for(var o=u(n),i=f.f,r=l.f,a=0;a<o.length;a++){var s=o[a];c(t,s)||e&&c(e,s)||i(t,s,r(n,s))}}},function(t,n,e){var o=e(23),i=e(0),r=e(48),a=e(87),s=e(10),c=i([].concat);t.exports=o("Reflect","ownKeys")||function(t){var n=r.f(s(t)),e=a.f;return e?c(n,e(t)):n}},function(t,n,e){var o=e(0),a=e(4),s=e(20),c=e(82).indexOf,u=e(47),l=o([].push);t.exports=function(t,n){var e,o=s(t),i=0,r=[];for(e in o)!a(u,e)&&a(o,e)&&l(r,e);for(;n.length>i;)!a(o,e=n[i++])||~c(r,e)||l(r,e);return r}},function(t,n,e){function o(s){return function(t,n,e){var o,i=c(t),r=l(i),a=u(e,r);if(s&&n!=n){for(;a<r;)if((o=i[a++])!=o)return!0}else for(;a<r;a++)if((s||a in i)&&i[a]===n)return s||a||0;return!s&&-1}}var c=e(20),u=e(83),l=e(30);t.exports={includes:o(!0),indexOf:o(!1)}},function(t,n,e){var o=e(15),i=Math.max,r=Math.min;t.exports=function(t,n){t=o(t);return t<0?i(t+n,0):r(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(15),i=Math.min;t.exports=function(t){return 0<t?i(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(3);t.exports=e},function(t,n,e){var o=e(2),i=e(6),r=e(90);t.exports=function(t,n,e){return r&&o(n=n.constructor)&&n!==e&&i(n=n.prototype)&&n!==e.prototype&&r(t,n),t}},function(t,n,e){var i=e(91),r=e(10),a=e(92);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,o=!1,t={};try{(e=i(Object.prototype,"__proto__","set"))(t,[]),o=t instanceof Array}catch(t){}return function(t,n){return r(t),a(n),o?e(t,n):t.__proto__=n,t}}():void 0)},function(t,n,e){var o=e(0),i=e(13);t.exports=function(t,n,e){try{return o(i(Object.getOwnPropertyDescriptor(t,n)[e]))}catch(t){}}},function(t,n,e){var o=e(2),i=String,r=TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw r("Can't set "+i(t)+" as a prototype")}},function(t,n,e){"use strict";e(53)},function(t,n,e){"use strict";e(54)},function(t,n,e){"use strict";e(55)},function(t,n,e){"use strict";e(56)},function(t,n,e){function o(v){var p=1==v,d=2==v,_=3==v,y=4==v,h=6==v,m=7==v,g=5==v||h;return function(t,n,e,o){for(var i,r,a=I(t),s=x(a),c=b(n,e),u=C(s),l=0,n=o||k,f=p?n(t,u):d||m?n(t,0):void 0;l<u;l++)if((g||l in s)&&(r=c(i=s[l],l,a),v))if(p)f[l]=r;else if(r)switch(v){case 3:return!0;case 5:return i;case 6:return l;case 2:S(f,i)}else switch(v){case 4:return!1;case 7:S(f,i)}return h?-1:_||y?y:f}}var b=e(98),i=e(0),x=e(21),I=e(28),C=e(30),k=e(100),S=i([].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(99),i=e(13),r=e(19),a=o(o.bind);t.exports=function(t,n){return i(t),void 0===n?t:r?a(t,n):function(){return t.apply(n,arguments)}}},function(t,n,e){var o=e(8),i=e(0);t.exports=function(t){if("Function"===o(t))return i(t)}},function(t,n,e){var o=e(101);t.exports=function(t,n){return new(o(t))(0===n?0:n)}},function(t,n,e){var o=e(102),i=e(103),r=e(6),a=e(9)("species"),s=Array;t.exports=function(t){var n;return void 0===(n=o(t)&&(n=t.constructor,i(n)&&(n===s||o(n.prototype))||r(n)&&null===(n=n[a]))?void 0:n)?s: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 i(t){if(!c(t))return!1;try{return p(o,v,t),!0}catch(t){return!1}}function r(t){if(!c(t))return!1;switch(u(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return y||!!_(d,f(t))}catch(t){return!0}}var a=e(0),s=e(1),c=e(2),u=e(31),l=e(23),f=e(46),v=[],p=l("Reflect","construct"),d=/^\s*(?:class|function)\b/,_=a(d.exec),y=!d.exec(o);r.sham=!0,t.exports=!p||s(function(){var t;return i(i.call)||!i(Object)||!i(function(){t=!0})||t})?r:i},function(t,n,e){var o=e(1),i=e(9),r=e(25),a=i("species");t.exports=function(n){return 51<=r||!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(7),i=e(106).left,r=e(107),a=e(25);o({target:"Array",proto:!0,forced:!e(108)&&79<a&&a<83||!r("reduce")},{reduce:function(t){var n=arguments.length;return i(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 i=f(t),r=v(i),a=p(i),s=u?a-1:0,c=u?-1:1;if(e<2)for(;;){if(s in r){o=r[s],s+=c;break}if(s+=c,u?s<0:a<=s)throw d("Reduce of empty array with no initial value")}for(;u?0<=s:s<a;s+=c)s in r&&(o=n(o,r[s],s,i));return o}}var l=e(13),f=e(28),v=e(21),p=e(30),d=TypeError;t.exports={left:o(!1),right:o(!0)}},function(t,n,e){"use strict";var o=e(1);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(109))},function(t,n){var e,o,t=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{o="function"==typeof clearTimeout?clearTimeout:r}catch(t){o=r}function a(n){if(e===setTimeout)return setTimeout(n,0);if((e===i||!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 s,c=[],u=!1,l=-1;function f(){u&&s&&(u=!1,s.length?c=s.concat(c):l=-1,c.length)&&v()}function v(){if(!u){for(var t=a(f),n=(u=!0,c.length);n;){for(s=c,c=[];++l<n;)s&&s[l].run();l=-1,n=c.length}s=null,u=!1,!function(n){if(o===clearTimeout)return clearTimeout(n);if((o===r||!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 p(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];c.push(new p(t,n)),1!==c.length||u||a(v)},p.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 s(t,n,e){return 0===n?e:n%2==1?s(t,n-1,e*t):s(t*t,n/2,e)}function c(t,n,e){for(var o=-1,i=e;++o<6;)i+=n*t[o],t[o]=i%1e7,i=a(i/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+_("0",7-n.length)+n);return o}var o=e(7),i=e(0),f=e(15),v=e(50),r=e(111),e=e(1),p=RangeError,d=String,a=Math.floor,_=i(r),y=i("".slice),h=i(1..toFixed);o({target:"Number",proto:!0,forced:e(function(){return"0.000"!==h(8e-5,3)||"1"!==h(.9,0)||"1.25"!==h(1.255,2)||"1000000000000000128"!==h(0xde0b6b3a7640080,0)})||!e(function(){h({})})},{toFixed:function(t){var n,e,o=v(this),t=f(t),i=[0,0,0,0,0,0],r="",a="0";if(t<0||20<t)throw p("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||1e21<=o)return d(o);if(o<0&&(r="-",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*s(2,69,1))-69)<0?o*s(2,-n,1):o/s(2,n,1),o*=4503599627370496,0<(n=52-n)){for(c(i,0,o),e=t;7<=e;)c(i,1e7,0),e-=7;for(c(i,s(10,e,1),0),e=n-1;23<=e;)u(i,1<<23),e-=23;u(i,1<<e),c(i,1,1),u(i,2),a=l(i)}else c(i,0,o),c(i,1<<-n,0),a=l(i)+_("0",t);return a=0<t?r+((o=a.length)<=t?"0."+_("0",t-o)+a:y(a,0,o-t)+"."+y(a,o-t)):r+a}})},function(t,n,e){"use strict";var i=e(15),r=e(16),a=e(12),s=RangeError;t.exports=function(t){var n=r(a(this)),e="",o=i(t);if(o<0||o==1/0)throw s("Wrong number of repetitions");for(;0<o;(o>>>=1)&&(n+=n))1&o&&(e+=n);return e}},function(t,n,e){"use strict";var o=e(32),i=e(31);t.exports=o?{}.toString:function(){return"[object "+i(this)+"]"}},function(t,n,e){var o=e(7),e=e(114);o({global:!0,forced:parseInt!=e},{parseInt:e})},function(t,n,e){var o=e(3),i=e(1),r=e(0),a=e(16),s=e(51).trim,e=e(52),c=o.parseInt,o=o.Symbol,u=o&&o.iterator,l=/^[+-]?0x/i,f=r(l.exec),o=8!==c(e+"08")||22!==c(e+"0x16")||u&&!i(function(){c(Object(u))});t.exports=o?function(t,n){t=s(a(t));return c(t,n>>>0||(f(l,t)?16:10))}:c},function(t,n,e){"use strict";var o=e(45).PROPER,i=e(29),r=e(10),a=e(16),s=e(1),c=e(116),e="toString",u=RegExp.prototype[e],s=s(function(){return"/a/b"!=u.call({source:"a",flags:"b"})}),o=o&&u.name!=e;(s||o)&&i(RegExp.prototype,e,function(){var t=r(this);return"/"+a(t.source)+"/"+a(c(t))},{unsafe:!0})},function(t,n,e){var o=e(11),i=e(4),r=e(24),a=e(117),s=RegExp.prototype;t.exports=function(t){var n=t.flags;return void 0!==n||"flags"in s||i(t,"flags")||!r(s,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(59)},function(t,n,e){"use strict";e(60)},function(t,n,e){"use strict";e(61)},function(t,n,e){"use strict";e(62)},function(t,n,e){"use strict";e(63)},function(t,n,e){"use strict";e(64)},function(t,n,e){"use strict";e(65)},function(t,n,e){"use strict";e(66)},function(t,n,e){"use strict";e.r(n);function o(){var t=this,n=t._self._c;return n("div",{ref:"invoiceWrapper",staticClass:"invoice_wrapper",style:t.invoiceStyleVars},[n("div",{ref:"invoiceBox",staticClass:"invoice_box",style:t.scaleStyle},[n("InvoiceHeader",{attrs:{IsQrCode:t.IsQrCode}}),t._v(" "),n("div",{staticClass:"Color_Line_All"},[n("InvoiceBuyPart",{attrs:{taxpayerNumFontSize:t.$props.taxpayerNumFontSize,AddressTelephoneZoom:t.$props.AddressTelephoneZoom}}),t._v(" "),n("InvoiceMainPart",t._g({attrs:{columns:t.columns,InitData_copy:t.InitData,listInvoiceMark:t.listInvoiceMark,hellpChinessNum:t.hellpChinessNum,autoCount:t.autoCount}},t.$listeners)),t._v(" "),n("InvoiceSellPart",{attrs:{taxpayerNumFontSize:t.$props.taxpayerNumFontSize,AddressTelephoneZoom:t.$props.AddressTelephoneZoom}})],1),t._v(" "),n("ul",{staticClass:"invoicetFooter"},[n("li",[n("span",{staticClass:"FontColor"},[t._v("收款人:")]),t._v(" "),n("span",[t._v(t._s(t.InvoiceInformation[t.preinstallLocation[21].key]))])]),t._v(" "),n("li",[n("span",{staticClass:"FontColor"},[t._v("复核人:")]),t._v(" "),n("span",[t._v(t._s(t.InvoiceInformation[t.preinstallLocation[22].key]))])]),t._v(" "),n("li",[n("span",{staticClass:"FontColor"},[t._v(" 开票人:")]),t._v(" "),n("span",[t._v(t._s(t.InvoiceInformation[t.preinstallLocation[23].key]))])]),t._v(" "),t._m(0)])],1)])}o._withStripped=!0,e(17);function i(){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",attrs:{src:t.InvoiceInformation[t.preinstallLocation[0].key],alt:""}}):n("div",{staticClass:"codeImg"})]),t._v(" "),n("div",{staticClass:"top_left"},[n("span",{staticClass:"FontColor"},[t._v("机器编号:")]),t._v(" "),n("span",[t._v(t._s(t.InvoiceInformation[t.preinstallLocation[1].key]))])])]),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",{staticClass:"text-left"},[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",{staticClass:"text-left"},[n("span",{staticClass:"textClass FontColor"},[t._v("发票号码:")]),t._v(" "),n("span",[t._v("\n "+t._s(t.InvoiceInformation[t.preinstallLocation[4].key])+"\n ")])]),t._v(" "),n("div",{staticClass:"text-left"},[n("span",{staticClass:"textClass FontColor"},[t._v(" 开票日期:")]),t._v(" "),n("span",[t._v("\n "+t._s(t.InvoiceInformation[t.preinstallLocation[5].key])+"\n ")])]),t._v(" "),n("div",{staticClass:"text-left"},[n("span",{staticClass:"textClass FontColor"},[t._v(" 校 验 码:")]),t._v(" "),n("span",[t._v("\n "+t._s(t.InvoiceInformation[t.preinstallLocation[6].key])+"\n ")])])])])}var r=[{index:0,key:"erweimaCode",disable:!1},{index:1,key:"virtualDevSerialnum",disable:!1},{index:2,key:"provinceInvoiceTypeCode",disable:!1},{index:3,key:"invoiceCode",disable:!1},{index:4,key:"invoiceNo",disable:!1},{index:5,key:"invoiceIssueDate",disable:!1},{index:6,key:"invoiceCheckCode",disable:!1},{index:7,key:"buyerName",disable:!1},{index:8,key:"buyerTaxId",disable:!1},{index:9,key:"buyerAddrTel",disable:!1},{index:10,key:"buyerFinancialAccount",disable:!1},{index:11,key:"codePassWord",disable:!1},{index:12,key:"amount",disable:!1},{index:13,key:"taxAmount",disable:!1},{index:14,key:"jiashuihejizhongwen",disable:!1},{index:15,key:"jiashuiheji",disable:!1},{index:16,key:"sellerName",disable:!1},{index:17,key:"sellerTaxId",disable:!1},{index:18,key:"sellerAddrTel",disable:!1},{index:19,key:"sellerFinancialAccount",disable:!1},{index:20,key:"note",disable:!1},{index:21,key:"payee",disable:!1},{index:22,key:"checker",disable:!1},{index:23,key:"invoiceClerk",disable:!1},{index:24,key:"sellgaizhang",disable:!1}],a={erweimaCode:"",virtualDevSerialnum:"",provinceInvoiceTypeCode:"增值税普通发票",invoiceCode:"",invoiceNo:"",invoiceIssueDate:"",invoiceCheckCode:"",buyerName:"",buyerTaxId:"",buyerAddrTel:"",buyerFinancialAccount:"",codePassWord:"",amount:"",taxAmount:"",jiashuihejizhongwen:"",jiashuiheji:"",sellerName:"",sellerTaxId:"",sellerAddrTel:"",sellerFinancialAccount:"",note:"",payee:"",checker:"",invoiceClerk:"",sellgaizhang:""},s=[{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"},{title:"金 额",width:"16%",dataIndex:"amount",key:"amount",align:"right"},{title:"税率",width:"7%",dataIndex:"taxScheme",key:"taxScheme"},{title:"税 额",width:"16%",dataIndex:"taxAmount",key:"taxAmount"}],c=[];i._withStripped=!0;var u={name:"Invoice_header",inject:["InvoiceInformation","preinstallLocation"],props:{IsQrCode:{type:Boolean}}};e(93),e(94);function l(t,n,e,o,i,r,a,s){var c,u,l="function"==typeof t?t.options:t;return n&&(l.render=n,l.staticRenderFns=e,l._compiled=!0),o&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),a?(c=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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=c):i&&(c=s?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c&&(l.functional?(l._injectStyles=c,u=l.render,l.render=function(t,n){return c.call(n),u(t,n)}):(n=l.beforeCreate,l.beforeCreate=n?[].concat(n,c):[c])),{exports:t,options:l}}function f(){var t=this,n=t._self._c;return n("div",{staticClass:"userInfo Color_Line_bottom"},[t._m(0),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",style:t.getContentStyle("sbh"),attrs:{id:"dutyParagraph"}},[t._v(t._s(t.InvoiceInformation[t.preinstallLocation[8].key]))])]),t._v(" "),n("li",{staticClass:"DisplayFlex"},[n("div",{staticClass:"userInfo_bufen_mingcheng FontColor"},[t._v("地址、 电话:")]),n("span",{staticClass:"userInfo_bufen_mingcheng_flex",style:t.getContentStyle("dzdh"),attrs:{id:"buyAddressTelephone"}},[t._v(t._s(t.InvoiceInformation[t.preinstallLocation[9].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:"buyerFinancialAccount"}},[t._v(t._s(t.InvoiceInformation[t.preinstallLocation[10].key]))])])]),t._v(" "),t._m(1),t._v(" "),n("div",{staticClass:"userInfo_bufen"},[n("span",{staticClass:"MiMaWordbreak"},[t._v("\n "+t._s(t.InvoiceInformation[t.preinstallLocation[11].key])+"\n ")])])])}u=l(u,i,[],!1,null,"3c9fa86f",null).exports;f._withStripped=!0;function v(){var o=this,i=o._self._c;return i("div",{staticClass:"invoiceMainPart_Scroll"},[i("table",{staticClass:"GoodsTable Color_Line_bottom",attrs:{cellpadding:"0",cellspacing:"0"}},[o.listInvoiceMark?o._e():[i("thead",[i("tr",{staticClass:"FontColor"},o._l(o.columns,function(t,n){return i("td",{key:n,class:n!==o.columns.length-1?"invoice-list_td":"",style:t.width?"width:"+t.width:"width: 10%"},[o._v("\n "+o._s(t.title)+"\n ")])}),0)]),o._v(" "),i("tbody",{staticClass:"invoice-list"},[o.InitData&&0!==o.InitData.length?o._l(o.InitData,function(e,t){return i("tr",{key:t,style:t+1!==o.InitData.length?"height:20px":"",attrs:{valign:"top"}},o._l(o.columns,function(t,n){return i("td",{key:n,class:n!==o.columns.length-1?"invoice-list_td":"",style:{"text-align":t.align||""}},[i("span",[o._v(o._s(e[t.dataIndex]))])])}),0)}):i("tr",o._l(o.columns,function(t,n){return i("td",{key:n,class:n!==o.columns.length-1?"invoice-list_td":"",style:{"text-align":t.align||""}},[i("span")])}),0)],2)],o._v(" "),o.listInvoiceMark?[i("thead",[i("tr",{staticClass:"FontColor"},o._l(o.columns,function(t,n){return i("td",{key:n,class:o.columnsIndex!==o.columns.length-1?"invoice-list_td":"",style:t.width?"width:"+t.width:"width: 10%"},[o._v("\n "+o._s(t.title)+"\n ")])}),0)]),o._v(" "),i("tbody",{staticClass:"invoice-list"},o._l(o.InitData,function(e,t){return i("tr",{key:t,style:t+1!==o.InitData.length?"height:20px":"",attrs:{valign:"top"}},o._l(o.columns,function(t,n){return i("td",{key:n,class:n!==o.columns.length-1?"invoice-list_td":"",style:{"text-align":t.align||""}},[i("a",{class:0===n?"listInvoiceMark":"",on:{click:o.ModalInvoiceList}},[o._v(o._s(e[t.dataIndex]))])])}),0)}),0)]:o._e(),o._v(" "),i("tfoot",[i("tr",{staticClass:"total Color_Line_bottom"},o._l(o.columns,function(t,n){return i("td",{key:n,class:n!==o.columns.length-1?"invoice-list_td":"",style:{"text-align":t.align||""},attrs:{align:0===n?"center":""}},[i("span",{staticClass:"FontColor"},[o._v(o._s(0===n?"合    计":""))]),o._v(" "),o._v("\n "+o._s(t.key&&"amount"===t.key?o.InvoiceInformation[o.preinstallLocation[12].key]:"")+"\n "+o._s(t.key&&"taxAmount"===t.key?o.InvoiceInformation[o.preinstallLocation[13].key]:"")+"\n ")])}),0),o._v(" "),i("tr",{staticClass:"GoodsTotal"},[i("td",{staticClass:"FontColor Color_Line_right",attrs:{align:"center"}},[o._v("价税合计(大写)")]),o._v(" "),i("td",{attrs:{colspan:"7"}},[i("div",{staticStyle:{width:"100%",display:"flex"}},[i("div",{staticStyle:{width:"60%"},attrs:{type:"text"}},[i("span",{staticClass:"c-black"},[o._v(o._s(o.hellpChinessNum?o.InvoiceChinessNumber(o.InvoiceInformation[o.preinstallLocation[15].key]):o.InvoiceInformation[o.preinstallLocation[14].key]))])]),o._v(" "),i("div",{staticStyle:{width:"30%"},attrs:{type:"text"}},[i("span",{staticClass:"FontColor"},[o._v(" (小写)")]),o._v(" "),i("span",{staticClass:"c-black"},[o._v("\n "+o._s(o.InvoiceInformation[o.preinstallLocation[15].key]))])])])])])])],2)])}var p={name:"Invoice_buyPart",inject:["InvoiceInformation","preinstallLocation"],props:{taxpayerNumFontSize:{type:String},AddressTelephoneZoom:{type:String}},methods:{getContentStyle:function(t){var n={};switch(t){case"sbh":n.fontSize=this.taxpayerNumFontSize;break;case"dzdh":n.fontSize=this.AddressTelephoneZoom}return n}}},p=(e(95),e(96),l(p,f,[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("方")])])},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("区")])])}],!1,null,"4db69e86",null).exports);v._withStripped=!0,e(57),e(105),e(110),e(58),e(113),e(115);function d(){var t=this,n=t._self._c;return n("div",{staticClass:"userInfo"},[t._m(0),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[16].key]))])]),t._v(" "),n("li",{staticClass:"DisplayFlex"},[n("div",{staticClass:"userInfo_bufen_mingcheng FontColor"},[t._v("纳税人识别号:")]),n("span",{staticClass:"userInfo_bufen_mingcheng_flex",style:t.getContentStyle("sbh"),attrs:{id:"dutyParagraph"}},[t._v(t._s(t.InvoiceInformation[t.preinstallLocation[17].key]))])]),t._v(" "),n("li",{staticClass:"DisplayFlex"},[n("div",{staticClass:"userInfo_bufen_mingcheng FontColor"},[t._v("地址、 电话:")]),n("span",{staticClass:"userInfo_bufen_mingcheng_flex",style:t.getContentStyle("dzdh"),attrs:{id:"sellAddressTelephone"}},[t._v(t._s(t.InvoiceInformation[t.preinstallLocation[18].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:"sellerFinancialAccount"}},[t._v(t._s(t.InvoiceInformation[t.preinstallLocation[19].key]))])])]),t._v(" "),t._m(1),t._v(" "),n("div",{staticClass:"userInfo_bufen"},[t._v("\n "+t._s(t.InvoiceInformation[t.preinstallLocation[20].key])+"\n ")])])}var _={name:"Invoice_MainPart",inject:["InvoiceInformation","preinstallLocation"],props:{columns:{type:Array},InitData_copy:{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){var n;return n?0<=(n=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 i,r,a=["零","壹","贰","叁","肆","伍","陆","柒","捌","玖"],s=["","拾","佰","仟"],c=["","万","亿","兆"],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("."))i=t,r="";else{if(2<(n=t.split(".")).length)return"书写错误";i=n[0],r=n[1].substr(0,4)}if(0<parseInt(i,10)){for(var v=0,p=i.length,d=0;d<p;d++){var _=p-d-1,y=_/4,_=_%4;"0"==(h=i.substr(d,1))?v++:(0<v&&(l+=a[0]),v=0,l+=a[parseInt(h)]+s[_]),0==_&&v<4&&(l+=c[y])}l+=e}if(""!=r)for(var h,m=r.length,d=0;d<m;d++)"0"!=(h=r.substr(d,1))&&(l+=a[Number(h)]+u[d]);return""==l?l+=a[0]+e+"整":""==r&&(l+="整"),l=f?l:"(负数)"+l}(t))?"ⓧ "+n:"ⓧ"+n:""},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(118),e(119),l(_,v,[],!1,null,"105b222c",null).exports);d._withStripped=!0;var y={name:"Invoice_sellPart",inject:["InvoiceInformation","preinstallLocation"],props:{taxpayerNumFontSize:{type:String},AddressTelephoneZoom:{type:String}},methods:{getContentStyle:function(t){var n={};switch(t){case"sbh":n.fontSize=this.taxpayerNumFontSize;break;case"dzdh":n.fontSize=this.AddressTelephoneZoom}return n}}},y=(e(120),e(121),l(y,d,[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("方")])])},function(){var t=this._self._c;return t("div",{staticClass:"userInfo_biaotiming Color_Line_right Color_Line_left FontColor"},[t("div",[this._v("备")]),this._v(" "),t("div",[this._v("注")])])}],!1,null,"1ae53f04",null).exports);function h(){var o=this,i=o._self._c;return i("div",{staticClass:"taxation-list-box"},[o._v("\n 销售货物或者提供应税劳务、服务清单\n "),i("div",{staticClass:"listing"},[i("div",{staticClass:"listing-item"},[i("span",{staticClass:"label"},[o._v("购买方名称:")]),i("span",{staticClass:"value text-break"},[o._v(o._s(o.$props.detailFrom.buyerName))])]),o._v(" "),i("div",{staticClass:"listing-item"},[i("span",{staticClass:"label"},[o._v("销售方名称:")]),i("span",{staticClass:"value text-break"},[o._v(" "+o._s(o.$props.detailFrom.sellerName))])]),o._v(" "),i("div",{staticClass:"listing-item"},[i("span",{staticClass:"label"},[o._v("发票代码:")]),i("span",{staticClass:"value text-break"},[o._v(o._s(o.$props.detailFrom.invoiceCode))])]),o._v(" "),i("div",{staticClass:"listing-item"},[i("span",{staticClass:"label"},[o._v("发票号码:")]),i("span",{staticClass:"value text-break"},[o._v(o._s(o.$props.detailFrom.invoiceNo))])])]),o._v(" "),i("div",{staticClass:"mainDiv"},[i("table",{staticClass:"Color_Line_bottom Color_Line_top",attrs:{border:"0",cellspacing:"0",cellpadding:"0"}},[i("thead",[i("td",{staticClass:"nonowrap Color_Line_right Color_Line_bottom",attrs:{align:"center"}},[o._v("序号")]),o._v(" "),o._l(o.columns,function(t,n){return i("td",{key:n,staticClass:"Color_Line_right Color_Line_bottom",style:t.width?"width:"+t.width:"width: 10%",attrs:{align:"center"}},[o._v("\n "+o._s(t.title)+"\n ")])})],2),o._v(" "),i("tbody",{staticClass:"listInvoiceMark_Scroll"},o._l(o.InitData,function(e,t){return i("tr",{key:t,style:t+1!==o.InitData.length?"height:20px":"",attrs:{valign:"top"}},[i("td",{staticClass:"Color_Line_right",attrs:{align:"center"}},[i("span",[o._v(o._s(t+1))])]),o._v(" "),o._l(o.columns,function(t,n){return i("td",{key:n,staticClass:"Color_Line_right",style:{"text-align":t.align||""},attrs:{align:"center"}},[i("span",[o._v(o._s(e[t.dataIndex]))])])})],2)}),0)])])])}var u={name:"general-message",props:{preinstallLocation:{type:Array,default:function(){return r}},InvoiceInformation:{type:Object,default:function(){return a}},IsQrCode:{type:Boolean,default:!0},columns:{type:Array,default:function(){return s},validator:function(t){return t.map(function(t){t.key&&0}),!0}},InitData:{type:Array,default:function(){return c}},listInvoiceMark:{type:Boolean,default:!1},hellpChinessNum:{type:Boolean,default:!1},autoCount:{type:Boolean,default:!1},taxpayerNumFontSize:{type:String,default:"20px"},AddressTelephoneZoom:{type:String,default:"10px"},originalWidth:{type:Number,default:1200},invoiceBorderColor:{type:String,default:"#964300"},invoiceBgColor:{type:String,default:"#ffffff"},invoiceFontColor:{type:String,default:"orange"},invoiceFontSize:{type:String,default:"12px"}},watch:{InvoiceInformation:function(t){}},data:function(){return{scale:1,resizeObserver:null}},computed:{scaleStyle:function(){return{transform:"scale(".concat(this.scale,")"),transformOrigin:"top left",width:"".concat(this.originalWidth,"px")}},invoiceStyleVars:function(){return{"--invoice-border-color":this.invoiceBorderColor,"--invoice-bg-color":this.invoiceBgColor,"--invoice-font-color":this.invoiceFontColor,"--invoice-font-size":this.invoiceFontSize}}},mounted:function(){var t=this;this.$nextTick(function(){t.calculateScale(),t.initResizeObserver()})},beforeDestroy:function(){this.resizeObserver&&this.resizeObserver.disconnect()},methods:{calculateScale:function(){var t=this.$refs.invoiceWrapper;t&&(t=t.clientWidth,this.scale=t/this.originalWidth)},initResizeObserver:function(){var t=this;"undefined"!=typeof ResizeObserver?(this.resizeObserver=new ResizeObserver(function(){t.calculateScale()}),this.resizeObserver.observe(this.$refs.invoiceWrapper)):window.addEventListener("resize",this.calculateScale)}},provide:function(){return{InvoiceInformation:this.InvoiceInformation,preinstallLocation:this.preinstallLocation}},components:{InvoiceHeader:u,InvoiceBuyPart:p,InvoiceMainPart:_,InvoiceSellPart:y}},m=(e(122),e(123),l(u,o,[function(){var t=this._self._c;return t("li",[t("span",{staticClass:"FontColor"},[this._v("销售方:(章)")])])}],!1,null,"24b0337f",null).exports);h._withStripped=!0;var p={name:"listInvoiceMark",props:{columns:{type:Array,default:function(){return s}},InitData:{type:Array,default:function(){return c}},detailFrom:{type:Object,default:function(){return{buyerName:"服装*服装服装*服装服装*服装服装*服装服装*服装服装*服装服装*服装服装*服装服装*",sellerName:"",invoiceCode:"",invoiceNo:""}}}}},g=(e(124),e(125),l(p,h,[],!1,null,"0eed02f8",null).exports);e.d(n,"InvoiceMessage",function(){return m}),e.d(n,"ListInvoiceMark",function(){return g}),n.default={install:function(t){t.component("InvoiceMessage",m),t.component("ListInvoiceMark",g)}}}],o={},i.m=e,i.c=o,i.d=function(t,n,e){i.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(n,t){if(1&t&&(n=i(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(i.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var o in n)i.d(e,o,function(t){return n[t]}.bind(null,o));return e},i.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(n,"a",n),n},i.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},i.p="",i(i.s=126);function i(t){var n;return(o[t]||(n=o[t]={i:t,l:!1,exports:{}},e[t].call(n.exports,n,n.exports,i),n.l=!0,n)).exports}var e,o});