iv-npm 1.6.8 → 1.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -113,5 +113,5 @@ function(e,t,n){},0:
|
|
|
113
113
|
/*! no static exports found */
|
|
114
114
|
function(e,t,n){e.exports=n(
|
|
115
115
|
/*! ./src/index.js */
|
|
116
|
-
"./src/index.js")}}).default},bl.exports=wl();var kl,Cl=(kl=bl.exports)&&kl.__esModule&&Object.prototype.hasOwnProperty.call(kl,"default")?kl.default:kl,Nl={exports:{}},El=Nl.exports=function(){var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",a="minute",i="hour",u="day",c="week",s="month",d="quarter",p="year",f="date",m="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},y=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},x={s:y,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+y(r,2,"0")+":"+y(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,s),a=n-o<0,l=t.clone().add(r+(a?-1:1),s);return+(-(r+(n-o)/(a?o-l:l-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:s,y:p,w:c,d:u,D:f,h:i,m:a,s:o,ms:r,Q:d}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},w="en",b={};b[w]=g;var k=function(e){return e instanceof V},C=function e(t,n,r){var o;if(!t)return w;if("string"==typeof t){var a=t.toLowerCase();b[a]&&(o=a),n&&(b[a]=n,o=a);var l=t.split("-");if(!o&&l.length>1)return e(l[0])}else{var i=t.name;b[i]=t,o=i}return!r&&o&&(w=o),o||!r&&w},N=function(e,t){if(k(e))return e.clone();var n="object"==l(t)?t:{};return n.date=e,n.args=arguments,new V(n)},E=x;E.l=C,E.i=k,E.w=function(e,t){return N(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var V=function(){function l(e){this.$L=C(e.locale,null,!0),this.parse(e)}var g=l.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(E.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(v);if(r){var o=r[2]-1||0,a=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return E},g.isValid=function(){return!(this.$d.toString()===m)},g.isSame=function(e,t){var n=N(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return N(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<N(e)},g.$g=function(e,t,n){return E.u(e)?this[t]:this.set(n,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var n=this,r=!!E.u(t)||t,l=E.p(e),d=function(e,t){var o=E.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?o:o.endOf(u)},m=function(e,t){return E.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},v=this.$W,h=this.$M,g=this.$D,y="set"+(this.$u?"UTC":"");switch(l){case p:return r?d(1,0):d(31,11);case s:return r?d(1,h):d(0,h+1);case c:var x=this.$locale().weekStart||0,w=(v<x?v+7:v)-x;return d(r?g-w:g+(6-w),h);case u:case f:return m(y+"Hours",0);case i:return m(y+"Minutes",1);case a:return m(y+"Seconds",2);case o:return m(y+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var n,l=E.p(e),c="set"+(this.$u?"UTC":""),d=(n={},n[u]=c+"Date",n[f]=c+"Date",n[s]=c+"Month",n[p]=c+"FullYear",n[i]=c+"Hours",n[a]=c+"Minutes",n[o]=c+"Seconds",n[r]=c+"Milliseconds",n)[l],m=l===u?this.$D+(t-this.$W):t;if(l===s||l===p){var v=this.clone().set(f,1);v.$d[d](m),v.init(),this.$d=v.set(f,Math.min(this.$D,v.daysInMonth())).$d}else d&&this.$d[d](m);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[E.p(e)]()},g.add=function(r,l){var d,f=this;r=Number(r);var m=E.p(l),v=function(e){var t=N(f);return E.w(t.date(t.date()+Math.round(e*r)),f)};if(m===s)return this.set(s,this.$M+r);if(m===p)return this.set(p,this.$y+r);if(m===u)return v(1);if(m===c)return v(7);var h=(d={},d[a]=t,d[i]=n,d[o]=e,d)[m]||1,g=this.$d.getTime()+r*h;return E.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||m;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=E.z(this),a=this.$H,l=this.$m,i=this.$M,u=n.weekdays,c=n.months,s=function(e,n,o,a){return e&&(e[n]||e(t,r))||o[n].slice(0,a)},d=function(e){return E.s(a%12||12,e,"0")},p=n.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},f={YY:String(this.$y).slice(-2),YYYY:this.$y,M:i+1,MM:E.s(i+1,2,"0"),MMM:s(n.monthsShort,i,c,3),MMMM:s(c,i),D:this.$D,DD:E.s(this.$D,2,"0"),d:String(this.$W),dd:s(n.weekdaysMin,this.$W,u,2),ddd:s(n.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(a),HH:E.s(a,2,"0"),h:d(1),hh:d(2),a:p(a,l,!0),A:p(a,l,!1),m:String(l),mm:E.s(l,2,"0"),s:String(this.$s),ss:E.s(this.$s,2,"0"),SSS:E.s(this.$ms,3,"0"),Z:o};return r.replace(h,(function(e,t){return t||f[e]||o.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(r,l,f){var m,v=E.p(l),h=N(r),g=(h.utcOffset()-this.utcOffset())*t,y=this-h,x=E.m(this,h);return x=(m={},m[p]=x/12,m[s]=x,m[d]=x/3,m[c]=(y-g)/6048e5,m[u]=(y-g)/864e5,m[i]=y/n,m[a]=y/t,m[o]=y/e,m)[v]||y,f?x:E.a(x)},g.daysInMonth=function(){return this.endOf(s).$D},g.$locale=function(){return b[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},g.clone=function(){return E.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},l}(),S=V.prototype;return N.prototype=S,[["$ms",r],["$s",o],["$m",a],["$H",i],["$W",u],["$M",s],["$y",p],["$D",f]].forEach((function(e){S[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),N.extend=function(e,t){return e.$i||(e(t,V,N),e.$i=!0),N},N.locale=C,N.isDayjs=k,N.unix=function(e){return N(1e3*e)},N.en=b[w],N.Ls=b,N.p={},N}(),Vl={class:"print",id:"financialStatementPrint-dom"},Sl={class:"title"},Bl={class:"tips"},Al={key:0},Il={key:1},Dl={style:{position:"relative"}},Tl={class:"title-date"},_l={key:0,class:"title-serialNumber"},jl={key:0,style:{width:"100%"}},ql=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("收款"),e.createElementVNode("br"),e.createTextVNode("单位")],-1),Ol={class:"letter-spacing-4",colspan:"15",style:{"text-align":"left",padding:"10px"}},Pl={style:{"margin-bottom":"5px"}},Ul=e.createTextVNode(" 单位名称: "),Ll={style:{"letter-spacing":"0"},class:"dotted-line"},Rl={style:{"margin-bottom":"5px"}},Ml=e.createTextVNode(" 银行账号: "),Fl={style:{"letter-spacing":"0"},class:"dotted-line"},Ql=e.createTextVNode(" 开户银行: "),zl={style:{"letter-spacing":"0"},class:"dotted-line"},Hl=e.createElementVNode("td",{colspan:"3",rowspan:"2",class:"td-full"},[e.createElementVNode("div",{class:"border-b-000 letter-spacing-4",style:{height:"40px","line-height":"40px","text-align":"center"}}," 说明 "),e.createElementVNode("div",{class:"letter-spacing-4 notification"}," 本通知单仅用于财务入账,非付款签字流程 ")],-1),$l=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("部门"),e.createElementVNode("br"),e.createTextVNode("或单位")],-1),Yl={colspan:"7"},Jl=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("内容"),e.createElementVNode("br"),e.createTextVNode("或用途")],-1),Kl={colspan:"6"},Gl=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("金额"),e.createElementVNode("br"),e.createTextVNode("(大写)")],-1),Wl={colspan:"18"},Zl={style:{"letter-spacing":"4px"}},Xl=e.createTextVNode(" ¥"),ei={class:"money_underline"},ti={key:0},ni=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("不含税"),e.createElementVNode("br"),e.createTextVNode("金额")],-1),ri={colspan:"6"},oi={key:0},ai={key:0},li=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},"税率",-1),ii={colspan:"2"},ui=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},"税额",-1),ci={colspan:"6"},si={key:0},di={key:0},pi=e.createElementVNode("td",{colspan:"2"},[e.createElementVNode("div",{style:{"font-size":"14px"}},[e.createTextVNode("项目名称:"),e.createElementVNode("br"),e.createTextVNode("地点:")])],-1),fi={colspan:"8"},mi={key:0},vi={key:1},hi={key:0},gi={key:1},yi={key:2},xi=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("项目"),e.createElementVNode("br"),e.createTextVNode("编号")],-1),wi={colspan:"4"},bi={key:0},ki={key:1},Ci=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},"附单据",-1),Ni={colspan:"2",style:{"padding-right":"5px"}},Ei=e.createTextVNode(" 张 "),Vi=e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},"经办人"),e.createElementVNode("td",{colspan:"3"}),e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("部门"),e.createElementVNode("br"),e.createTextVNode("负责人")]),e.createElementVNode("td",{colspan:"3"}),e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("分管"),e.createElementVNode("br"),e.createTextVNode("负责人")]),e.createElementVNode("td",{colspan:"3"}),e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("主要"),e.createElementVNode("br"),e.createTextVNode("负责人")]),e.createElementVNode("td",{colspan:"3"})],-1),Si={key:1,style:{width:"100%"}},Bi=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"4",style:{"line-height":"2.5"}}," 单位 ",-1),Ai={colspan:"6"},Ii=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"4"},"项目名称",-1),Di={colspan:"6"},Ti={key:0},_i={key:1},ji={key:0},qi={key:1},Oi={key:2},Pi=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"4",style:{"line-height":"2.5"}}," 部门 ",-1),Ui={colspan:"6"},Li=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"4"},[e.createTextVNode(" 项目或"),e.createElementVNode("br"),e.createTextVNode("成本中心编号 ")],-1),Ri={colspan:"6"},Mi={key:0},Fi={key:1},Qi=e.createElementVNode("td",{colspan:"4"},[e.createElementVNode("div",{style:{"line-height":"5"}},"用途")],-1),zi={colspan:"12"},Hi=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},"附单据",-1),$i={colspan:"2",style:{"padding-right":"5px"}},Yi=e.createTextVNode(" 张 "),Ji=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2",style:{"line-height":"3"}}," 金额 ",-1),Ki={colspan:"18"},Gi={style:{"letter-spacing":"4px"}},Wi=e.createTextVNode(" ¥"),Zi={class:"money_underline"},Xi={key:0},eu=e.createElementVNode("tr",{style:{"padding-top":"20px","padding-bottom":"20px"}},[e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},"经办人"),e.createElementVNode("td",{colspan:"3"}),e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("部门"),e.createElementVNode("br"),e.createTextVNode("负责人")]),e.createElementVNode("td",{colspan:"3"}),e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("分管"),e.createElementVNode("br"),e.createTextVNode("负责人")]),e.createElementVNode("td",{colspan:"3"}),e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("主要"),e.createElementVNode("br"),e.createTextVNode("负责人")]),e.createElementVNode("td",{colspan:"3"})],-1),tu=e.createElementVNode("div",{class:"footer"},[e.createElementVNode("span",null,"财务审核"),e.createElementVNode("span",{style:{"margin-left":"250px"}},"发票认证")],-1),nu=e.defineComponent({__name:"FinancialStatementPrint",props:{data:{type:null,required:!0},colum:{type:Object,required:!0}},setup:function(t,n){var r=n.expose,o=t;e.onBeforeMount((function(){return c()})),e.watch((function(){return o.data}),(function(){o.data&&o.colum&&c()}));var l=e.ref(),i=e.ref(),c=function(){i.value=o.data,l.value=o.colum},s=function(){var e=u(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"\n .print {\n font-family:\"simsun\";\n position: relative;\n width:800px;\n height:500px;\n // border:1px solid #00ffcc;\n\n }\n .print .title{\n margin-bottom:5px;\n font-weight: 700;\n text-align:center;\n font-size:22px;\n }\n .print .title-date{\n margin-top:5px;\n text-align:center;\n font-size:16px;\n }\n .print .title-serialNumber{\n position: absolute;\n right:0;\n bottom:0;\n margin-top:5px;\n text-align:right;\n font-size:16px;\n }\n .print .tips{\n font-size:20px;\n text-align:center;\n margin-bottom:5px;\n }\n .print table {\n width: 100%;\n box-sizing: border-box;\n border-collapse: collapse;\n table-layout:fixed;\n word-break:break-all;\n word-wrap:break-word;\n }\n .print table td,\n .print table th {\n box-sizing: border-box;\n border: 1px solid #000;\n font-size: 18px;\n font-weight: 600;\n text-align: center;\n padding-top:5px;\n padding-bottom:5px;\n }\n .footer{\n text-align:left;\n margin-top:15px;\n }\n .td-full{\n text-align: left !important;\n vertical-align: top;\n }\n .h-150{\n height: 150px;\n }\n .h-300{\n height: 300px;\n }\n .mx-15{\n margin-left:15px;\n margin-right:15px;\n }\n .mx-10{\n margin-left:10px;\n margin-right:10px;\n }\n .dotted-line{\n position: relative;\n }\n .dotted-line::after{\n content:'';\n position: absolute;\n bottom:-5px;\n left:0;\n width: 400px;\n height:2px;\n border-bottom: 1px dashed #333;\n }\n .border-b-000{\n border-bottom: 1px solid #000;\n }\n .letter-spacing-4{\n letter-spacing:4px;\n }\n .notification {\n padding: 0px;\n box-sizing: border-box;\n text-align: center;\n padding: 2px;\n margin-top: 10px;\n }\n .money_underline {\n display: inline-block;\n width: 150px;\n border-bottom: 1px solid #000;\n }\n ",Cl({printable:"financialStatementPrint-dom",type:"html",style:"\n .print {\n font-family:\"simsun\";\n position: relative;\n width:800px;\n height:500px;\n // border:1px solid #00ffcc;\n\n }\n .print .title{\n margin-bottom:5px;\n font-weight: 700;\n text-align:center;\n font-size:22px;\n }\n .print .title-date{\n margin-top:5px;\n text-align:center;\n font-size:16px;\n }\n .print .title-serialNumber{\n position: absolute;\n right:0;\n bottom:0;\n margin-top:5px;\n text-align:right;\n font-size:16px;\n }\n .print .tips{\n font-size:20px;\n text-align:center;\n margin-bottom:5px;\n }\n .print table {\n width: 100%;\n box-sizing: border-box;\n border-collapse: collapse;\n table-layout:fixed;\n word-break:break-all;\n word-wrap:break-word;\n }\n .print table td,\n .print table th {\n box-sizing: border-box;\n border: 1px solid #000;\n font-size: 18px;\n font-weight: 600;\n text-align: center;\n padding-top:5px;\n padding-bottom:5px;\n }\n .footer{\n text-align:left;\n margin-top:15px;\n }\n .td-full{\n text-align: left !important;\n vertical-align: top;\n }\n .h-150{\n height: 150px;\n }\n .h-300{\n height: 300px;\n }\n .mx-15{\n margin-left:15px;\n margin-right:15px;\n }\n .mx-10{\n margin-left:10px;\n margin-right:10px;\n }\n .dotted-line{\n position: relative;\n }\n .dotted-line::after{\n content:'';\n position: absolute;\n bottom:-5px;\n left:0;\n width: 400px;\n height:2px;\n border-bottom: 1px dashed #333;\n }\n .border-b-000{\n border-bottom: 1px solid #000;\n }\n .letter-spacing-4{\n letter-spacing:4px;\n }\n .notification {\n padding: 0px;\n box-sizing: border-box;\n text-align: center;\n padding: 2px;\n margin-top: 10px;\n }\n .money_underline {\n display: inline-block;\n width: 150px;\n border-bottom: 1px solid #000;\n }\n ",scanStyles:!1});case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return r({onPrint:s}),function(n,r){var o,a,u,c,s,d,p,f,m,v,h,g,y,x,w,b,k,C,N,E,V,S,B,A,I,D,T,_,j,q,O,P,U,L,R,M,F,Q,z,H,$,Y,J,K,G,W,Z,X,ee,te,ne,re,oe,ae,ue,ce,se,de,pe,fe,me,ve,he,ge,ye,xe,we,be,ke,Ce,Ne,Ee,Ve,Se,Be,Ae,Ie,De,Te,_e,je,qe,Oe,Pe,Ue,Le,Re,Me,Fe,Qe,ze,He,$e,Ye,Je,Ke,Ge,We,Ze,Xe,et,tt,nt,rt,ot,at,lt,it,ut,ct,st,dt,pt,ft,mt,vt,ht,gt,yt,xt,wt,bt,kt,Ct,Nt,Et,Vt,St,Bt,At,It,Dt,Tt,_t,jt,qt,Ot,Pt,Ut,Lt,Rt,Mt,Ft,Qt,zt,Ht,$t,Yt,Jt,Kt,Gt,Wt,Zt,Xt,en,tn,nn,rn,on,an,ln;return e.withDirectives((e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",Vl,[e.createElementVNode("div",Sl,e.toDisplayString((null===(o=l.value)||void 0===o?void 0:o.title)&&i.value[null===(a=l.value)||void 0===a?void 0:a.title]),1),e.createElementVNode("div",Bl,[e.createTextVNode(e.toDisplayString(null!==(c=null===(u=l.value)||void 0===u?void 0:u.tips)&&void 0!==c?c:"财务入账通知单")+" ",1),t.colum.type({data:i.value,colum:l.value})?(e.openBlock(),e.createElementBlock("span",Al,"(增值税专用发票版)")):(e.openBlock(),e.createElementBlock("span",Il,"(增值税普通发票版)"))]),e.createElementVNode("div",Dl,[e.createElementVNode("div",Tl,e.toDisplayString(e.unref(El)().format("YYYY年MM月DD日")),1),(null===(s=l.value)||void 0===s?void 0:s.serialNumber)&&i.value[null===(d=l.value)||void 0===d?void 0:d.serialNumber]?(e.openBlock(),e.createElementBlock("div",_l," 入帐单编号:"+e.toDisplayString((null===(p=l.value)||void 0===p?void 0:p.serialNumber)&&i.value[null===(f=l.value)||void 0===f?void 0:f.serialNumber]),1)):e.createCommentVNode("v-if",!0)]),t.colum.type({data:i.value,colum:l.value})?(e.openBlock(),e.createElementBlock("table",jl,[e.createElementVNode("tr",null,[ql,e.createElementVNode("td",Ol,[e.createElementVNode("div",Pl,[Ul,e.createElementVNode("span",Ll," "+e.toDisplayString((null===(v=null===(m=l.value)||void 0===m?void 0:m.context)||void 0===v?void 0:v.companyName)&&i.value[null===(g=null===(h=l.value)||void 0===h?void 0:h.context)||void 0===g?void 0:g.companyName]),1)]),e.createElementVNode("div",Rl,[Ml,e.createElementVNode("span",Fl," "+e.toDisplayString((null===(x=null===(y=l.value)||void 0===y?void 0:y.context)||void 0===x?void 0:x.bankAccount)&&i.value[null===(b=null===(w=l.value)||void 0===w?void 0:w.context)||void 0===b?void 0:b.bankAccount]),1)]),e.createElementVNode("div",null,[Ql,e.createElementVNode("span",zl," "+e.toDisplayString((null===(C=null===(k=l.value)||void 0===k?void 0:k.context)||void 0===C?void 0:C.bankOfCeposit)&&i.value[null===(E=null===(N=l.value)||void 0===N?void 0:N.context)||void 0===E?void 0:E.bankOfCeposit]),1)])]),Hl]),e.createElementVNode("tr",null,[$l,e.createElementVNode("td",Yl,e.toDisplayString((null===(S=null===(V=l.value)||void 0===V?void 0:V.context)||void 0===S?void 0:S.departmentUnit)&&i.value[null===(A=null===(B=l.value)||void 0===B?void 0:B.context)||void 0===A?void 0:A.departmentUnit]),1),Jl,e.createElementVNode("td",Kl,e.toDisplayString((null===(D=null===(I=l.value)||void 0===I?void 0:I.context)||void 0===D?void 0:D.contentPurpose)&&i.value[null===(_=null===(T=l.value)||void 0===T?void 0:T.context)||void 0===_?void 0:_.contentPurpose]),1)]),e.createElementVNode("tr",null,[Gl,e.createElementVNode("td",Wl,[e.createElementVNode("span",Zl,e.toDisplayString((null===(q=null===(j=l.value)||void 0===j?void 0:j.context)||void 0===q?void 0:q.capitalAmount)&&e.unref(le)(null!==(U=i.value[null===(P=null===(O=l.value)||void 0===O?void 0:O.context)||void 0===P?void 0:P.capitalAmount])&&void 0!==U?U:0)),1),Xl,e.createElementVNode("span",ei,[e.createTextVNode(e.toDisplayString(e.unref(ie)((null===(R=null===(L=l.value)||void 0===L?void 0:L.context)||void 0===R?void 0:R.capitalAmount)&&i.value[null===(F=null===(M=l.value)||void 0===M?void 0:M.context)||void 0===F?void 0:F.capitalAmount]))+" ",1),(i.value[null===(z=null===(Q=l.value)||void 0===Q?void 0:Q.context)||void 0===z?void 0:z.capitalAmount]+"").includes("元")?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",ti,"元"))])])]),e.createElementVNode("tr",null,[ni,e.createElementVNode("td",ri,[(null===(Y=i.value[null===($=null===(H=l.value)||void 0===H?void 0:H.context)||void 0===$?void 0:$.amountData])||void 0===Y?void 0:Y.find((function(e){var t,n,r;return e.taxRate!==(null===(r=i.value[null===(n=null===(t=l.value)||void 0===t?void 0:t.context)||void 0===n?void 0:n.amountData][0])||void 0===r?void 0:r.taxRate)})))?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(i.value[null===(K=null===(J=l.value)||void 0===J?void 0:J.context)||void 0===K?void 0:K.amountData],(function(t){return e.openBlock(),e.createElementBlock("div",null,[e.createTextVNode(e.toDisplayString(e.unref(ie)(null==t?void 0:t.untaxedAmount))+" ",1),((null==t?void 0:t.untaxedAmount)+"").includes("元")?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",oi,"元"))])})),256)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(ie)(null===(G=i.value)||void 0===G?void 0:G.untaxedAmount))+" ",1),((null===(W=i.value)||void 0===W?void 0:W.untaxedAmount)+"").includes("元")?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",ai,"元"))],64))]),li,e.createElementVNode("td",ii,[(null===(ee=i.value[null===(X=null===(Z=l.value)||void 0===Z?void 0:Z.context)||void 0===X?void 0:X.amountData])||void 0===ee?void 0:ee.find((function(e){var t,n,r;return e.taxRate!==(null===(r=i.value[null===(n=null===(t=l.value)||void 0===t?void 0:t.context)||void 0===n?void 0:n.amountData][0])||void 0===r?void 0:r.taxRate)})))?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(i.value[null===(ne=null===(te=l.value)||void 0===te?void 0:te.context)||void 0===ne?void 0:ne.amountData],(function(t){return e.openBlock(),e.createElementBlock("div",null,e.toDisplayString(0===(null==t?void 0:t.taxRate)||"0"===(null==t?void 0:t.taxRate)||"0%"===(null==t?void 0:t.taxRate)?"免税":(null==t?void 0:t.taxRate)+(((null==t?void 0:t.taxRate)+"").includes("%")?"":"%")),1)})),256)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(null===(ae=i.value[null===(oe=null===(re=l.value)||void 0===re?void 0:re.context)||void 0===oe?void 0:oe.amountData])||void 0===ae?void 0:ae.taxRate)+" "+e.toDisplayString((null===(se=i.value[null===(ce=null===(ue=l.value)||void 0===ue?void 0:ue.context)||void 0===ce?void 0:ce.amountData])||void 0===se?void 0:se.length)?[0,"0","0%"].includes(null===(fe=i.value[null===(pe=null===(de=l.value)||void 0===de?void 0:de.context)||void 0===pe?void 0:pe.amountData][0])||void 0===fe?void 0:fe.taxRate)?"免税":(null===(he=i.value[null===(ve=null===(me=l.value)||void 0===me?void 0:me.context)||void 0===ve?void 0:ve.amountData][0])||void 0===he?void 0:he.taxRate)+(((null===(xe=i.value[null===(ye=null===(ge=l.value)||void 0===ge?void 0:ge.context)||void 0===ye?void 0:ye.amountData][0])||void 0===xe?void 0:xe.taxRate)+"").includes("%")?"":"%"):"免税"),1)],64))]),ui,e.createElementVNode("td",ci,[(null===(ke=i.value[null===(be=null===(we=l.value)||void 0===we?void 0:we.context)||void 0===be?void 0:be.amountData])||void 0===ke?void 0:ke.find((function(e){var t,n,r;return e.taxRate!==(null===(r=i.value[null===(n=null===(t=l.value)||void 0===t?void 0:t.context)||void 0===n?void 0:n.amountData][0])||void 0===r?void 0:r.taxRate)})))?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(i.value[null===(Ne=null===(Ce=l.value)||void 0===Ce?void 0:Ce.context)||void 0===Ne?void 0:Ne.amountData],(function(t){return e.openBlock(),e.createElementBlock("div",null,[e.createTextVNode(e.toDisplayString(e.unref(ie)(null==t?void 0:t.taxAmount))+" ",1),((null==t?void 0:t.taxAmount)+"").includes("元")?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",si,"元"))])})),256)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(ie)(null===(Ee=i.value)||void 0===Ee?void 0:Ee.taxAmount))+" ",1),((null===(Ve=i.value)||void 0===Ve?void 0:Ve.taxAmount)+"").includes("元")?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",di,"元"))],64))])]),e.createElementVNode("tr",null,[pi,e.createElementVNode("td",fi,[["ASSET","MRP2","FMS"].includes(null===(Se=l.value)||void 0===Se?void 0:Se.system)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[0===(null===(Be=i.value)||void 0===Be?void 0:Be.businessType)?(e.openBlock(),e.createElementBlock("span",mi," 固定资产 ")):(e.openBlock(),e.createElementBlock("span",vi,[["ASSET","MRP2"].includes(null===(Ae=l.value)||void 0===Ae?void 0:Ae.system)&&(null===(Te=i.value[null===(De=null===(Ie=l.value)||void 0===Ie?void 0:Ie.context)||void 0===De?void 0:De.projectNameAndLocationData])||void 0===Te?void 0:Te.find((function(e){return 2===e.serviceObjectType})))?(e.openBlock(),e.createElementBlock("span",hi," 管理费 ")):1===(null===(qe=i.value[null===(je=null===(_e=l.value)||void 0===_e?void 0:_e.context)||void 0===je?void 0:je.projectNameAndLocationData])||void 0===qe?void 0:qe.length)?(e.openBlock(),e.createElementBlock("span",gi,e.toDisplayString(i.value[null===(Pe=null===(Oe=l.value)||void 0===Oe?void 0:Oe.context)||void 0===Pe?void 0:Pe.projectNameAndLocationData][0].objectName),1)):(null===(Re=i.value[null===(Le=null===(Ue=l.value)||void 0===Ue?void 0:Ue.context)||void 0===Le?void 0:Le.projectNameAndLocationData])||void 0===Re?void 0:Re.length)>1?(e.openBlock(),e.createElementBlock("span",yi," 见附表 ")):e.createCommentVNode("v-if",!0)]))],64)):["MRP"].includes(null===(Me=l.value)||void 0===Me?void 0:Me.system)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(null===(Fe=i.value)||void 0===Fe?void 0:Fe.projectName),1)],64)):e.createCommentVNode("v-if",!0)]),xi,e.createElementVNode("td",wi,[["ASSET","MRP2","FMS"].includes(null===(Qe=l.value)||void 0===Qe?void 0:Qe.system)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[1===(null===($e=i.value[null===(He=null===(ze=l.value)||void 0===ze?void 0:ze.context)||void 0===He?void 0:He.projectNameAndLocationData])||void 0===$e?void 0:$e.length)?(e.openBlock(),e.createElementBlock("span",bi,e.toDisplayString(null===(Ke=i.value[null===(Je=null===(Ye=l.value)||void 0===Ye?void 0:Ye.context)||void 0===Je?void 0:Je.projectNameAndLocationData][0])||void 0===Ke?void 0:Ke.kingDeeNo),1)):e.createCommentVNode("v-if",!0),(null===(Ze=i.value[null===(We=null===(Ge=l.value)||void 0===Ge?void 0:Ge.context)||void 0===We?void 0:We.projectNameAndLocationData])||void 0===Ze?void 0:Ze.length)>1?(e.openBlock(),e.createElementBlock("span",ki," 见附表 ")):e.createCommentVNode("v-if",!0)],64)):e.createCommentVNode("v-if",!0),["MRP"].includes(null===(Xe=l.value)||void 0===Xe?void 0:Xe.system)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(null===(et=i.value)||void 0===et?void 0:et.projectNumber),1)],64)):e.createCommentVNode("v-if",!0)]),Ci,e.createElementVNode("td",Ni,[e.createElementVNode("span",null,e.toDisplayString((null===(nt=null===(tt=l.value)||void 0===tt?void 0:tt.context)||void 0===nt?void 0:nt.attachedInvoiceQuantity)&&i.value[null===(ot=null===(rt=l.value)||void 0===rt?void 0:rt.context)||void 0===ot?void 0:ot.attachedInvoiceQuantity]),1),Ei])]),Vi])):(e.openBlock(),e.createElementBlock("table",Si,[e.createElementVNode("tr",null,[Bi,e.createElementVNode("td",Ai,e.toDisplayString((null===(lt=null===(at=l.value)||void 0===at?void 0:at.context)||void 0===lt?void 0:lt.companyName)&&i.value[null===(ut=null===(it=l.value)||void 0===it?void 0:it.context)||void 0===ut?void 0:ut.companyName]),1),Ii,e.createElementVNode("td",Di,[["ASSET","MRP2","FMS"].includes(null===(ct=l.value)||void 0===ct?void 0:ct.system)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[["ASSET","FMS"].includes(null===(st=l.value)||void 0===st?void 0:st.system)&&0===(null===(dt=i.value)||void 0===dt?void 0:dt.businessType)?(e.openBlock(),e.createElementBlock("span",Ti," 固定资产 ")):(e.openBlock(),e.createElementBlock("span",_i,[["ASSET","MRP2"].includes(null===(pt=l.value)||void 0===pt?void 0:pt.system)&&(null===(vt=i.value[null===(mt=null===(ft=l.value)||void 0===ft?void 0:ft.context)||void 0===mt?void 0:mt.projectNameAndLocationData])||void 0===vt?void 0:vt.find((function(e){return 2===e.serviceObjectType})))?(e.openBlock(),e.createElementBlock("span",ji," 管理费 ")):1===(null===(yt=i.value[null===(gt=null===(ht=l.value)||void 0===ht?void 0:ht.context)||void 0===gt?void 0:gt.projectNameAndLocationData])||void 0===yt?void 0:yt.length)?(e.openBlock(),e.createElementBlock("span",qi,e.toDisplayString(i.value[null===(wt=null===(xt=l.value)||void 0===xt?void 0:xt.context)||void 0===wt?void 0:wt.projectNameAndLocationData][0].objectName),1)):(null===(Ct=i.value[null===(kt=null===(bt=l.value)||void 0===bt?void 0:bt.context)||void 0===kt?void 0:kt.projectNameAndLocationData])||void 0===Ct?void 0:Ct.length)>1?(e.openBlock(),e.createElementBlock("span",Oi," 见附表 ")):e.createCommentVNode("v-if",!0)]))],64)):["MRP"].includes(null===(Nt=l.value)||void 0===Nt?void 0:Nt.system)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(null===(Et=i.value)||void 0===Et?void 0:Et.projectName),1)],64)):e.createCommentVNode("v-if",!0)])]),e.createElementVNode("tr",null,[Pi,e.createElementVNode("td",Ui,e.toDisplayString((null===(St=null===(Vt=l.value)||void 0===Vt?void 0:Vt.context)||void 0===St?void 0:St.departmentUnit)&&i.value[null===(At=null===(Bt=l.value)||void 0===Bt?void 0:Bt.context)||void 0===At?void 0:At.departmentUnit]),1),Li,e.createElementVNode("td",Ri,[["ASSET","FMS","MRP2"].includes(null===(It=l.value)||void 0===It?void 0:It.system)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[1===(null===(_t=i.value[null===(Tt=null===(Dt=l.value)||void 0===Dt?void 0:Dt.context)||void 0===Tt?void 0:Tt.projectNameAndLocationData])||void 0===_t?void 0:_t.length)?(e.openBlock(),e.createElementBlock("span",Mi,e.toDisplayString(null===(Ot=i.value[null===(qt=null===(jt=l.value)||void 0===jt?void 0:jt.context)||void 0===qt?void 0:qt.projectNameAndLocationData][0])||void 0===Ot?void 0:Ot.kingDeeNo),1)):e.createCommentVNode("v-if",!0),(null===(Lt=i.value[null===(Ut=null===(Pt=l.value)||void 0===Pt?void 0:Pt.context)||void 0===Ut?void 0:Ut.projectNameAndLocationData])||void 0===Lt?void 0:Lt.length)>1?(e.openBlock(),e.createElementBlock("span",Fi," 见附表 ")):e.createCommentVNode("v-if",!0)],64)):e.createCommentVNode("v-if",!0),["MRP"].includes(null===(Rt=l.value)||void 0===Rt?void 0:Rt.system)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(null===(Mt=i.value)||void 0===Mt?void 0:Mt.projectNumber),1)],64)):e.createCommentVNode("v-if",!0)])]),e.createElementVNode("tr",null,[Qi,e.createElementVNode("td",zi,e.toDisplayString((null===(Qt=null===(Ft=l.value)||void 0===Ft?void 0:Ft.context)||void 0===Qt?void 0:Qt.contentPurpose)&&i.value[null===(Ht=null===(zt=l.value)||void 0===zt?void 0:zt.context)||void 0===Ht?void 0:Ht.contentPurpose]),1),Hi,e.createElementVNode("td",$i,[e.createElementVNode("span",null,e.toDisplayString((null===(Yt=null===($t=l.value)||void 0===$t?void 0:$t.context)||void 0===Yt?void 0:Yt.attachedInvoiceQuantity)&&i.value[null===(Kt=null===(Jt=l.value)||void 0===Jt?void 0:Jt.context)||void 0===Kt?void 0:Kt.attachedInvoiceQuantity]),1),Yi])]),e.createElementVNode("tr",null,[Ji,e.createElementVNode("td",Ki,[e.createElementVNode("span",Gi,e.toDisplayString((null===(Wt=null===(Gt=l.value)||void 0===Gt?void 0:Gt.context)||void 0===Wt?void 0:Wt.capitalAmount)&&e.unref(le)(null!==(en=i.value[null===(Xt=null===(Zt=l.value)||void 0===Zt?void 0:Zt.context)||void 0===Xt?void 0:Xt.capitalAmount])&&void 0!==en?en:0)),1),Wi,e.createElementVNode("span",Zi,[e.createTextVNode(e.toDisplayString(e.unref(ie)((null===(nn=null===(tn=l.value)||void 0===tn?void 0:tn.context)||void 0===nn?void 0:nn.capitalAmount)&&i.value[null===(on=null===(rn=l.value)||void 0===rn?void 0:rn.context)||void 0===on?void 0:on.capitalAmount]))+" ",1),(i.value[null===(ln=null===(an=l.value)||void 0===an?void 0:an.context)||void 0===ln?void 0:ln.capitalAmount]+"").includes("元")?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",Xi,"元"))])])]),eu])),tu])],512)),[[e.vShow,!1]])}}});nu.__file="src/print-ui/component/FinancialStatementPrint.vue";var ru=[n,fe,ve,ge,we,ke,Ne,O,H,Ee,Ve,Be,Ie,rt,Nt,zt,gr,$r,ho,Yt,Kt,Wt,gn,yn,Qn,Hn,Po,Yn,Kn,nl,xl,nu];ru.forEach((function(e){e.install=function(t){t.component(e.__name,e)}}));var ou={install:function(e){return ru.forEach((function(t){e.component(null==t?void 0:t.__name,t)})),e}};exports.IVAccessoryTypeSelector=Yn,exports.IVAdjustAmount=xl,exports.IVApproval=nl,exports.IVAssetsTypeSelector=Kn,exports.IVClientSelector=Qn,exports.IVContractSelector=Po,exports.IVFileUpload=gn,exports.IVFinancialStatementPrint=nu,exports.IVInnerContractSelector=Kt,exports.IVLineDropdown=ge,exports.IVMainContractSelector=Yt,exports.IVManagDropdown=Ne,exports.IVMaterialSelector=ho,exports.IVMaterialTypeDropdown=Ie,exports.IVMaterialTypeSelector=Be,exports.IVMeterageSelector=Nt,exports.IVModal=n,exports.IVOrgDropdown=fe,exports.IVOuterContractSelector=Wt,exports.IVPaytypeSelector=Hn,exports.IVPostDropdown=ke,exports.IVProdBaseDropdown=ve,exports.IVProduceProjectSelector=zt,exports.IVProjectSelector=rt,exports.IVRateDropdown=Ee,exports.IVSetofbookDropdown=we,exports.IVTable=O,exports.IVTableControl=H,exports.IVTimeSelector=yn,exports.IVUnitDropdown=Ve,exports.IVUserSelector=gr,exports.IVVendorSelector=$r,exports.default=ou;
|
|
116
|
+
"./src/index.js")}}).default},bl.exports=wl();var kl,Cl=(kl=bl.exports)&&kl.__esModule&&Object.prototype.hasOwnProperty.call(kl,"default")?kl.default:kl,Nl={exports:{}},El=Nl.exports=function(){var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",a="minute",i="hour",u="day",c="week",s="month",d="quarter",p="year",f="date",m="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},y=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},x={s:y,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+y(r,2,"0")+":"+y(o,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),o=t.clone().add(r,s),a=n-o<0,l=t.clone().add(r+(a?-1:1),s);return+(-(r+(n-o)/(a?o-l:l-o))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:s,y:p,w:c,d:u,D:f,h:i,m:a,s:o,ms:r,Q:d}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},w="en",b={};b[w]=g;var k=function(e){return e instanceof V},C=function e(t,n,r){var o;if(!t)return w;if("string"==typeof t){var a=t.toLowerCase();b[a]&&(o=a),n&&(b[a]=n,o=a);var l=t.split("-");if(!o&&l.length>1)return e(l[0])}else{var i=t.name;b[i]=t,o=i}return!r&&o&&(w=o),o||!r&&w},N=function(e,t){if(k(e))return e.clone();var n="object"==l(t)?t:{};return n.date=e,n.args=arguments,new V(n)},E=x;E.l=C,E.i=k,E.w=function(e,t){return N(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var V=function(){function l(e){this.$L=C(e.locale,null,!0),this.parse(e)}var g=l.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(E.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(v);if(r){var o=r[2]-1||0,a=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return E},g.isValid=function(){return!(this.$d.toString()===m)},g.isSame=function(e,t){var n=N(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return N(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<N(e)},g.$g=function(e,t,n){return E.u(e)?this[t]:this.set(n,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var n=this,r=!!E.u(t)||t,l=E.p(e),d=function(e,t){var o=E.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?o:o.endOf(u)},m=function(e,t){return E.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},v=this.$W,h=this.$M,g=this.$D,y="set"+(this.$u?"UTC":"");switch(l){case p:return r?d(1,0):d(31,11);case s:return r?d(1,h):d(0,h+1);case c:var x=this.$locale().weekStart||0,w=(v<x?v+7:v)-x;return d(r?g-w:g+(6-w),h);case u:case f:return m(y+"Hours",0);case i:return m(y+"Minutes",1);case a:return m(y+"Seconds",2);case o:return m(y+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var n,l=E.p(e),c="set"+(this.$u?"UTC":""),d=(n={},n[u]=c+"Date",n[f]=c+"Date",n[s]=c+"Month",n[p]=c+"FullYear",n[i]=c+"Hours",n[a]=c+"Minutes",n[o]=c+"Seconds",n[r]=c+"Milliseconds",n)[l],m=l===u?this.$D+(t-this.$W):t;if(l===s||l===p){var v=this.clone().set(f,1);v.$d[d](m),v.init(),this.$d=v.set(f,Math.min(this.$D,v.daysInMonth())).$d}else d&&this.$d[d](m);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[E.p(e)]()},g.add=function(r,l){var d,f=this;r=Number(r);var m=E.p(l),v=function(e){var t=N(f);return E.w(t.date(t.date()+Math.round(e*r)),f)};if(m===s)return this.set(s,this.$M+r);if(m===p)return this.set(p,this.$y+r);if(m===u)return v(1);if(m===c)return v(7);var h=(d={},d[a]=t,d[i]=n,d[o]=e,d)[m]||1,g=this.$d.getTime()+r*h;return E.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||m;var r=e||"YYYY-MM-DDTHH:mm:ssZ",o=E.z(this),a=this.$H,l=this.$m,i=this.$M,u=n.weekdays,c=n.months,s=function(e,n,o,a){return e&&(e[n]||e(t,r))||o[n].slice(0,a)},d=function(e){return E.s(a%12||12,e,"0")},p=n.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},f={YY:String(this.$y).slice(-2),YYYY:this.$y,M:i+1,MM:E.s(i+1,2,"0"),MMM:s(n.monthsShort,i,c,3),MMMM:s(c,i),D:this.$D,DD:E.s(this.$D,2,"0"),d:String(this.$W),dd:s(n.weekdaysMin,this.$W,u,2),ddd:s(n.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(a),HH:E.s(a,2,"0"),h:d(1),hh:d(2),a:p(a,l,!0),A:p(a,l,!1),m:String(l),mm:E.s(l,2,"0"),s:String(this.$s),ss:E.s(this.$s,2,"0"),SSS:E.s(this.$ms,3,"0"),Z:o};return r.replace(h,(function(e,t){return t||f[e]||o.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(r,l,f){var m,v=E.p(l),h=N(r),g=(h.utcOffset()-this.utcOffset())*t,y=this-h,x=E.m(this,h);return x=(m={},m[p]=x/12,m[s]=x,m[d]=x/3,m[c]=(y-g)/6048e5,m[u]=(y-g)/864e5,m[i]=y/n,m[a]=y/t,m[o]=y/e,m)[v]||y,f?x:E.a(x)},g.daysInMonth=function(){return this.endOf(s).$D},g.$locale=function(){return b[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},g.clone=function(){return E.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},l}(),S=V.prototype;return N.prototype=S,[["$ms",r],["$s",o],["$m",a],["$H",i],["$W",u],["$M",s],["$y",p],["$D",f]].forEach((function(e){S[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),N.extend=function(e,t){return e.$i||(e(t,V,N),e.$i=!0),N},N.locale=C,N.isDayjs=k,N.unix=function(e){return N(1e3*e)},N.en=b[w],N.Ls=b,N.p={},N}(),Vl={class:"print",id:"financialStatementPrint-dom"},Sl={class:"title"},Bl={class:"tips"},Al={key:0},Il={key:1},Dl={style:{position:"relative"}},Tl={class:"title-date"},_l={key:0,class:"title-serialNumber"},jl={key:0,style:{width:"100%"}},ql=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("收款"),e.createElementVNode("br"),e.createTextVNode("单位")],-1),Ol={class:"letter-spacing-4",colspan:"15",style:{"text-align":"left",padding:"10px"}},Pl={style:{"margin-bottom":"5px"}},Ul=e.createTextVNode(" 单位名称: "),Ll={style:{"letter-spacing":"0"},class:"dotted-line"},Rl={style:{"margin-bottom":"5px"}},Ml=e.createTextVNode(" 银行账号: "),Fl={style:{"letter-spacing":"0"},class:"dotted-line"},Ql=e.createTextVNode(" 开户银行: "),zl={style:{"letter-spacing":"0"},class:"dotted-line"},Hl=e.createElementVNode("td",{colspan:"3",rowspan:"2",class:"td-full"},[e.createElementVNode("div",{class:"border-b-000 letter-spacing-4",style:{height:"40px","line-height":"40px","text-align":"center"}}," 说明 "),e.createElementVNode("div",{class:"letter-spacing-4 notification"}," 本通知单仅用于财务入账,非付款签字流程 ")],-1),$l=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("部门"),e.createElementVNode("br"),e.createTextVNode("或单位")],-1),Yl={colspan:"7"},Jl=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("内容"),e.createElementVNode("br"),e.createTextVNode("或用途")],-1),Kl={colspan:"6"},Gl=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("金额"),e.createElementVNode("br"),e.createTextVNode("(大写)")],-1),Wl={colspan:"18"},Zl={style:{"letter-spacing":"4px"}},Xl=e.createTextVNode(" ¥"),ei={class:"money_underline"},ti={key:0},ni=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("不含税"),e.createElementVNode("br"),e.createTextVNode("金额")],-1),ri={colspan:"6"},oi={key:0},ai={key:0},li=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},"税率",-1),ii={colspan:"2"},ui=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},"税额",-1),ci={colspan:"6"},si={key:0},di={key:0},pi=e.createElementVNode("td",{colspan:"2"},[e.createElementVNode("div",{style:{"font-size":"14px"}},[e.createTextVNode("项目名称:"),e.createElementVNode("br"),e.createTextVNode("地点:")])],-1),fi={colspan:"8"},mi={key:0},vi={key:1},hi={key:0},gi={key:1},yi={key:2},xi=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("项目"),e.createElementVNode("br"),e.createTextVNode("编号")],-1),wi={colspan:"4"},bi={key:0},ki={key:1},Ci=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},"附单据",-1),Ni={colspan:"2",style:{"padding-right":"5px"}},Ei=e.createTextVNode(" 张 "),Vi=e.createElementVNode("tr",null,[e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},"经办人"),e.createElementVNode("td",{colspan:"3"}),e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("部门"),e.createElementVNode("br"),e.createTextVNode("负责人")]),e.createElementVNode("td",{colspan:"3"}),e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("分管"),e.createElementVNode("br"),e.createTextVNode("负责人")]),e.createElementVNode("td",{colspan:"3"}),e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("主要"),e.createElementVNode("br"),e.createTextVNode("负责人")]),e.createElementVNode("td",{colspan:"3"})],-1),Si={key:1,style:{width:"100%"}},Bi=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"4",style:{"line-height":"2.5"}}," 单位 ",-1),Ai={colspan:"6"},Ii=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"4"},"项目名称",-1),Di={colspan:"6"},Ti={key:0},_i={key:1},ji={key:0},qi={key:1},Oi={key:2},Pi=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"4",style:{"line-height":"2.5"}}," 部门 ",-1),Ui={colspan:"6"},Li=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"4"},[e.createTextVNode(" 项目或"),e.createElementVNode("br"),e.createTextVNode("成本中心编号 ")],-1),Ri={colspan:"6"},Mi={key:0},Fi={key:1},Qi=e.createElementVNode("td",{colspan:"4"},[e.createElementVNode("div",{style:{"line-height":"5"}},"用途")],-1),zi={colspan:"12"},Hi=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},"附单据",-1),$i={colspan:"2",style:{"padding-right":"5px"}},Yi=e.createTextVNode(" 张 "),Ji=e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2",style:{"line-height":"3"}}," 金额 ",-1),Ki={colspan:"18"},Gi={style:{"letter-spacing":"4px"}},Wi=e.createTextVNode(" ¥"),Zi={class:"money_underline"},Xi={key:0},eu=e.createElementVNode("tr",{style:{"padding-top":"20px","padding-bottom":"20px"}},[e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},"经办人"),e.createElementVNode("td",{colspan:"3"}),e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("部门"),e.createElementVNode("br"),e.createTextVNode("负责人")]),e.createElementVNode("td",{colspan:"3"}),e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("分管"),e.createElementVNode("br"),e.createTextVNode("负责人")]),e.createElementVNode("td",{colspan:"3"}),e.createElementVNode("td",{class:"letter-spacing-4",colspan:"2"},[e.createTextVNode("主要"),e.createElementVNode("br"),e.createTextVNode("负责人")]),e.createElementVNode("td",{colspan:"3"})],-1),tu=e.createElementVNode("div",{class:"footer"},[e.createElementVNode("span",null,"财务审核"),e.createElementVNode("span",{style:{"margin-left":"250px"}},"发票认证")],-1),nu=e.defineComponent({__name:"FinancialStatementPrint",props:{data:{type:null,required:!0},colum:{type:Object,required:!0}},setup:function(t,n){var r=n.expose,o=t;e.onBeforeMount((function(){return c()})),e.watch((function(){return o.data}),(function(){o.data&&o.colum&&c()}));var l=e.ref(),i=e.ref(),c=function(){i.value=o.data,l.value=o.colum},s=function(){var e=u(a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"\n .print {\n font-family:\"simsun\";\n position: relative;\n width:800px;\n height:500px;\n // border:1px solid #00ffcc;\n\n }\n .print .title{\n margin-bottom:5px;\n font-weight: 700;\n text-align:center;\n font-size:22px;\n }\n .print .title-date{\n margin-top:5px;\n text-align:center;\n font-size:16px;\n }\n .print .title-serialNumber{\n position: absolute;\n right:0;\n bottom:0;\n margin-top:5px;\n text-align:right;\n font-size:16px;\n }\n .print .tips{\n font-size:20px;\n text-align:center;\n margin-bottom:5px;\n }\n .print table {\n width: 100%;\n box-sizing: border-box;\n border-collapse: collapse;\n table-layout:fixed;\n word-break:break-all;\n word-wrap:break-word;\n }\n .print table td,\n .print table th {\n box-sizing: border-box;\n border: 1px solid #000;\n font-size: 18px;\n font-weight: 600;\n text-align: center;\n padding-top:5px;\n padding-bottom:5px;\n }\n .footer{\n text-align:left;\n margin-top:15px;\n }\n .td-full{\n text-align: left !important;\n vertical-align: top;\n }\n .h-150{\n height: 150px;\n }\n .h-300{\n height: 300px;\n }\n .mx-15{\n margin-left:15px;\n margin-right:15px;\n }\n .mx-10{\n margin-left:10px;\n margin-right:10px;\n }\n .dotted-line{\n position: relative;\n }\n .dotted-line::after{\n content:'';\n position: absolute;\n bottom:-5px;\n left:0;\n width: 400px;\n height:2px;\n border-bottom: 1px dashed #333;\n }\n .border-b-000{\n border-bottom: 1px solid #000;\n }\n .letter-spacing-4{\n letter-spacing:4px;\n }\n .notification {\n padding: 0px;\n box-sizing: border-box;\n text-align: center;\n padding: 2px;\n margin-top: 10px;\n }\n .money_underline {\n display: inline-block;\n width: 150px;\n border-bottom: 1px solid #000;\n }\n ",Cl({printable:"financialStatementPrint-dom",type:"html",style:"\n .print {\n font-family:\"simsun\";\n position: relative;\n width:800px;\n height:500px;\n // border:1px solid #00ffcc;\n\n }\n .print .title{\n margin-bottom:5px;\n font-weight: 700;\n text-align:center;\n font-size:22px;\n }\n .print .title-date{\n margin-top:5px;\n text-align:center;\n font-size:16px;\n }\n .print .title-serialNumber{\n position: absolute;\n right:0;\n bottom:0;\n margin-top:5px;\n text-align:right;\n font-size:16px;\n }\n .print .tips{\n font-size:20px;\n text-align:center;\n margin-bottom:5px;\n }\n .print table {\n width: 100%;\n box-sizing: border-box;\n border-collapse: collapse;\n table-layout:fixed;\n word-break:break-all;\n word-wrap:break-word;\n }\n .print table td,\n .print table th {\n box-sizing: border-box;\n border: 1px solid #000;\n font-size: 18px;\n font-weight: 600;\n text-align: center;\n padding-top:5px;\n padding-bottom:5px;\n }\n .footer{\n text-align:left;\n margin-top:15px;\n }\n .td-full{\n text-align: left !important;\n vertical-align: top;\n }\n .h-150{\n height: 150px;\n }\n .h-300{\n height: 300px;\n }\n .mx-15{\n margin-left:15px;\n margin-right:15px;\n }\n .mx-10{\n margin-left:10px;\n margin-right:10px;\n }\n .dotted-line{\n position: relative;\n }\n .dotted-line::after{\n content:'';\n position: absolute;\n bottom:-5px;\n left:0;\n width: 400px;\n height:2px;\n border-bottom: 1px dashed #333;\n }\n .border-b-000{\n border-bottom: 1px solid #000;\n }\n .letter-spacing-4{\n letter-spacing:4px;\n }\n .notification {\n padding: 0px;\n box-sizing: border-box;\n text-align: center;\n padding: 2px;\n margin-top: 10px;\n }\n .money_underline {\n display: inline-block;\n width: 150px;\n border-bottom: 1px solid #000;\n }\n ",scanStyles:!1});case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return r({onPrint:s}),function(n,r){var o,a,u,c,s,d,p,f,m,v,h,g,y,x,w,b,k,C,N,E,V,S,B,A,I,D,T,_,j,q,O,P,U,L,R,M,F,Q,z,H,$,Y,J,K,G,W,Z,X,ee,te,ne,re,oe,ae,ue,ce,se,de,pe,fe,me,ve,he,ge,ye,xe,we,be,ke,Ce,Ne,Ee,Ve,Se,Be,Ae,Ie,De,Te,_e,je,qe,Oe,Pe,Ue,Le,Re,Me,Fe,Qe,ze,He,$e,Ye,Je,Ke,Ge,We,Ze,Xe,et,tt,nt,rt,ot,at,lt,it,ut,ct,st,dt,pt,ft,mt,vt,ht,gt,yt,xt,wt,bt,kt,Ct,Nt,Et,Vt,St,Bt,At,It,Dt,Tt,_t,jt,qt,Ot,Pt,Ut,Lt,Rt,Mt,Ft,Qt,zt,Ht,$t,Yt,Jt,Kt,Gt,Wt,Zt,Xt,en,tn,nn,rn,on,an,ln,un;return e.withDirectives((e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",Vl,[e.createElementVNode("div",Sl,e.toDisplayString((null===(o=l.value)||void 0===o?void 0:o.title)&&i.value[null===(a=l.value)||void 0===a?void 0:a.title]),1),e.createElementVNode("div",Bl,[e.createTextVNode(e.toDisplayString(null!==(c=null===(u=l.value)||void 0===u?void 0:u.tips)&&void 0!==c?c:"财务入账通知单")+" ",1),t.colum.type({data:i.value,colum:l.value})?(e.openBlock(),e.createElementBlock("span",Al,"(增值税专用发票版)")):(e.openBlock(),e.createElementBlock("span",Il,"(增值税普通发票版)"))]),e.createElementVNode("div",Dl,[e.createElementVNode("div",Tl,e.toDisplayString(e.unref(El)().format("YYYY年MM月DD日")),1),(null===(s=l.value)||void 0===s?void 0:s.serialNumber)&&i.value[null===(d=l.value)||void 0===d?void 0:d.serialNumber]?(e.openBlock(),e.createElementBlock("div",_l," 入帐单编号:"+e.toDisplayString((null===(p=l.value)||void 0===p?void 0:p.serialNumber)&&i.value[null===(f=l.value)||void 0===f?void 0:f.serialNumber]),1)):e.createCommentVNode("v-if",!0)]),t.colum.type({data:i.value,colum:l.value})?(e.openBlock(),e.createElementBlock("table",jl,[e.createElementVNode("tr",null,[ql,e.createElementVNode("td",Ol,[e.createElementVNode("div",Pl,[Ul,e.createElementVNode("span",Ll," "+e.toDisplayString((null===(v=null===(m=l.value)||void 0===m?void 0:m.context)||void 0===v?void 0:v.companyName)&&i.value[null===(g=null===(h=l.value)||void 0===h?void 0:h.context)||void 0===g?void 0:g.companyName]),1)]),e.createElementVNode("div",Rl,[Ml,e.createElementVNode("span",Fl," "+e.toDisplayString((null===(x=null===(y=l.value)||void 0===y?void 0:y.context)||void 0===x?void 0:x.bankAccount)&&i.value[null===(b=null===(w=l.value)||void 0===w?void 0:w.context)||void 0===b?void 0:b.bankAccount]),1)]),e.createElementVNode("div",null,[Ql,e.createElementVNode("span",zl," "+e.toDisplayString((null===(C=null===(k=l.value)||void 0===k?void 0:k.context)||void 0===C?void 0:C.bankOfCeposit)&&i.value[null===(E=null===(N=l.value)||void 0===N?void 0:N.context)||void 0===E?void 0:E.bankOfCeposit]),1)])]),Hl]),e.createElementVNode("tr",null,[$l,e.createElementVNode("td",Yl,e.toDisplayString((null===(S=null===(V=l.value)||void 0===V?void 0:V.context)||void 0===S?void 0:S.departmentUnit)&&i.value[null===(A=null===(B=l.value)||void 0===B?void 0:B.context)||void 0===A?void 0:A.departmentUnit]),1),Jl,e.createElementVNode("td",Kl,e.toDisplayString((null===(D=null===(I=l.value)||void 0===I?void 0:I.context)||void 0===D?void 0:D.contentPurpose)&&i.value[null===(_=null===(T=l.value)||void 0===T?void 0:T.context)||void 0===_?void 0:_.contentPurpose]),1)]),e.createElementVNode("tr",null,[Gl,e.createElementVNode("td",Wl,[e.createElementVNode("span",Zl,e.toDisplayString((null===(q=null===(j=l.value)||void 0===j?void 0:j.context)||void 0===q?void 0:q.capitalAmount)&&e.unref(le)(null!==(U=i.value[null===(P=null===(O=l.value)||void 0===O?void 0:O.context)||void 0===P?void 0:P.capitalAmount])&&void 0!==U?U:0)),1),Xl,e.createElementVNode("span",ei,[e.createTextVNode(e.toDisplayString(e.unref(ie)((null===(R=null===(L=l.value)||void 0===L?void 0:L.context)||void 0===R?void 0:R.capitalAmount)&&i.value[null===(F=null===(M=l.value)||void 0===M?void 0:M.context)||void 0===F?void 0:F.capitalAmount]))+" ",1),(i.value[null===(z=null===(Q=l.value)||void 0===Q?void 0:Q.context)||void 0===z?void 0:z.capitalAmount]+"").includes("元")?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",ti,"元"))])])]),e.createElementVNode("tr",null,[ni,e.createElementVNode("td",ri,[(null===(Y=i.value[null===($=null===(H=l.value)||void 0===H?void 0:H.context)||void 0===$?void 0:$.amountData])||void 0===Y?void 0:Y.find((function(e){var t,n,r;return e.taxRate!==(null===(r=i.value[null===(n=null===(t=l.value)||void 0===t?void 0:t.context)||void 0===n?void 0:n.amountData][0])||void 0===r?void 0:r.taxRate)})))?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(i.value[null===(K=null===(J=l.value)||void 0===J?void 0:J.context)||void 0===K?void 0:K.amountData],(function(t){return e.openBlock(),e.createElementBlock("div",null,[e.createTextVNode(e.toDisplayString(e.unref(ie)(null==t?void 0:t.untaxedAmount))+" ",1),((null==t?void 0:t.untaxedAmount)+"").includes("元")?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",oi,"元"))])})),256)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(ie)(null===(G=i.value)||void 0===G?void 0:G.untaxedAmount))+" ",1),((null===(W=i.value)||void 0===W?void 0:W.untaxedAmount)+"").includes("元")?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",ai,"元"))],64))]),li,e.createElementVNode("td",ii,[(null===(ee=i.value[null===(X=null===(Z=l.value)||void 0===Z?void 0:Z.context)||void 0===X?void 0:X.amountData])||void 0===ee?void 0:ee.find((function(e){var t,n,r;return e.taxRate!==(null===(r=i.value[null===(n=null===(t=l.value)||void 0===t?void 0:t.context)||void 0===n?void 0:n.amountData][0])||void 0===r?void 0:r.taxRate)})))?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(i.value[null===(ne=null===(te=l.value)||void 0===te?void 0:te.context)||void 0===ne?void 0:ne.amountData],(function(t){return e.openBlock(),e.createElementBlock("div",null,e.toDisplayString(0===(null==t?void 0:t.taxRate)||"0"===(null==t?void 0:t.taxRate)||"0%"===(null==t?void 0:t.taxRate)?"免税":(null==t?void 0:t.taxRate)+(((null==t?void 0:t.taxRate)+"").includes("%")?"":"%")),1)})),256)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(null===(ae=i.value[null===(oe=null===(re=l.value)||void 0===re?void 0:re.context)||void 0===oe?void 0:oe.amountData])||void 0===ae?void 0:ae.taxRate)+" "+e.toDisplayString((null===(se=i.value[null===(ce=null===(ue=l.value)||void 0===ue?void 0:ue.context)||void 0===ce?void 0:ce.amountData])||void 0===se?void 0:se.length)?[0,"0","0%"].includes(null===(fe=i.value[null===(pe=null===(de=l.value)||void 0===de?void 0:de.context)||void 0===pe?void 0:pe.amountData][0])||void 0===fe?void 0:fe.taxRate)?"免税":(null===(he=i.value[null===(ve=null===(me=l.value)||void 0===me?void 0:me.context)||void 0===ve?void 0:ve.amountData][0])||void 0===he?void 0:he.taxRate)+(((null===(xe=i.value[null===(ye=null===(ge=l.value)||void 0===ge?void 0:ge.context)||void 0===ye?void 0:ye.amountData][0])||void 0===xe?void 0:xe.taxRate)+"").includes("%")?"":"%"):"免税"),1)],64))]),ui,e.createElementVNode("td",ci,[(null===(ke=i.value[null===(be=null===(we=l.value)||void 0===we?void 0:we.context)||void 0===be?void 0:be.amountData])||void 0===ke?void 0:ke.find((function(e){var t,n,r;return e.taxRate!==(null===(r=i.value[null===(n=null===(t=l.value)||void 0===t?void 0:t.context)||void 0===n?void 0:n.amountData][0])||void 0===r?void 0:r.taxRate)})))?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(i.value[null===(Ne=null===(Ce=l.value)||void 0===Ce?void 0:Ce.context)||void 0===Ne?void 0:Ne.amountData],(function(t){return e.openBlock(),e.createElementBlock("div",null,[e.createTextVNode(e.toDisplayString(e.unref(ie)(null==t?void 0:t.taxAmount))+" ",1),((null==t?void 0:t.taxAmount)+"").includes("元")?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",si,"元"))])})),256)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(ie)(null===(Ee=i.value)||void 0===Ee?void 0:Ee.taxAmount))+" ",1),((null===(Ve=i.value)||void 0===Ve?void 0:Ve.taxAmount)+"").includes("元")?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",di,"元"))],64))])]),e.createElementVNode("tr",null,[pi,e.createElementVNode("td",fi,[["ASSET","MRP2","FMS"].includes(null===(Se=l.value)||void 0===Se?void 0:Se.system)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[["ASSET","FMS"].includes(null===(Be=l.value)||void 0===Be?void 0:Be.system)&&0===(null===(Ae=i.value)||void 0===Ae?void 0:Ae.businessType)?(e.openBlock(),e.createElementBlock("span",mi," 固定资产 ")):(e.openBlock(),e.createElementBlock("span",vi,[["ASSET","MRP2"].includes(null===(Ie=l.value)||void 0===Ie?void 0:Ie.system)&&(null===(_e=i.value[null===(Te=null===(De=l.value)||void 0===De?void 0:De.context)||void 0===Te?void 0:Te.projectNameAndLocationData])||void 0===_e?void 0:_e.find((function(e){return 2===e.serviceObjectType})))?(e.openBlock(),e.createElementBlock("span",hi," 管理费 ")):1===(null===(Oe=i.value[null===(qe=null===(je=l.value)||void 0===je?void 0:je.context)||void 0===qe?void 0:qe.projectNameAndLocationData])||void 0===Oe?void 0:Oe.length)?(e.openBlock(),e.createElementBlock("span",gi,e.toDisplayString(i.value[null===(Ue=null===(Pe=l.value)||void 0===Pe?void 0:Pe.context)||void 0===Ue?void 0:Ue.projectNameAndLocationData][0].objectName),1)):(null===(Me=i.value[null===(Re=null===(Le=l.value)||void 0===Le?void 0:Le.context)||void 0===Re?void 0:Re.projectNameAndLocationData])||void 0===Me?void 0:Me.length)>1?(e.openBlock(),e.createElementBlock("span",yi," 见附表 ")):e.createCommentVNode("v-if",!0)]))],64)):["MRP"].includes(null===(Fe=l.value)||void 0===Fe?void 0:Fe.system)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(null===(Qe=i.value)||void 0===Qe?void 0:Qe.projectName),1)],64)):e.createCommentVNode("v-if",!0)]),xi,e.createElementVNode("td",wi,[["ASSET","MRP2","FMS"].includes(null===(ze=l.value)||void 0===ze?void 0:ze.system)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[1===(null===(Ye=i.value[null===($e=null===(He=l.value)||void 0===He?void 0:He.context)||void 0===$e?void 0:$e.projectNameAndLocationData])||void 0===Ye?void 0:Ye.length)?(e.openBlock(),e.createElementBlock("span",bi,e.toDisplayString(null===(Ge=i.value[null===(Ke=null===(Je=l.value)||void 0===Je?void 0:Je.context)||void 0===Ke?void 0:Ke.projectNameAndLocationData][0])||void 0===Ge?void 0:Ge.kingDeeNo),1)):e.createCommentVNode("v-if",!0),(null===(Xe=i.value[null===(Ze=null===(We=l.value)||void 0===We?void 0:We.context)||void 0===Ze?void 0:Ze.projectNameAndLocationData])||void 0===Xe?void 0:Xe.length)>1?(e.openBlock(),e.createElementBlock("span",ki," 见附表 ")):e.createCommentVNode("v-if",!0)],64)):e.createCommentVNode("v-if",!0),["MRP"].includes(null===(et=l.value)||void 0===et?void 0:et.system)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(null===(tt=i.value)||void 0===tt?void 0:tt.projectNumber),1)],64)):e.createCommentVNode("v-if",!0)]),Ci,e.createElementVNode("td",Ni,[e.createElementVNode("span",null,e.toDisplayString((null===(rt=null===(nt=l.value)||void 0===nt?void 0:nt.context)||void 0===rt?void 0:rt.attachedInvoiceQuantity)&&i.value[null===(at=null===(ot=l.value)||void 0===ot?void 0:ot.context)||void 0===at?void 0:at.attachedInvoiceQuantity]),1),Ei])]),Vi])):(e.openBlock(),e.createElementBlock("table",Si,[e.createElementVNode("tr",null,[Bi,e.createElementVNode("td",Ai,e.toDisplayString((null===(it=null===(lt=l.value)||void 0===lt?void 0:lt.context)||void 0===it?void 0:it.companyName)&&i.value[null===(ct=null===(ut=l.value)||void 0===ut?void 0:ut.context)||void 0===ct?void 0:ct.companyName]),1),Ii,e.createElementVNode("td",Di,[["ASSET","MRP2","FMS"].includes(null===(st=l.value)||void 0===st?void 0:st.system)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[["ASSET","FMS"].includes(null===(dt=l.value)||void 0===dt?void 0:dt.system)&&0===(null===(pt=i.value)||void 0===pt?void 0:pt.businessType)?(e.openBlock(),e.createElementBlock("span",Ti," 固定资产 ")):(e.openBlock(),e.createElementBlock("span",_i,[["ASSET","MRP2"].includes(null===(ft=l.value)||void 0===ft?void 0:ft.system)&&(null===(ht=i.value[null===(vt=null===(mt=l.value)||void 0===mt?void 0:mt.context)||void 0===vt?void 0:vt.projectNameAndLocationData])||void 0===ht?void 0:ht.find((function(e){return 2===e.serviceObjectType})))?(e.openBlock(),e.createElementBlock("span",ji," 管理费 ")):1===(null===(xt=i.value[null===(yt=null===(gt=l.value)||void 0===gt?void 0:gt.context)||void 0===yt?void 0:yt.projectNameAndLocationData])||void 0===xt?void 0:xt.length)?(e.openBlock(),e.createElementBlock("span",qi,e.toDisplayString(i.value[null===(bt=null===(wt=l.value)||void 0===wt?void 0:wt.context)||void 0===bt?void 0:bt.projectNameAndLocationData][0].objectName),1)):(null===(Nt=i.value[null===(Ct=null===(kt=l.value)||void 0===kt?void 0:kt.context)||void 0===Ct?void 0:Ct.projectNameAndLocationData])||void 0===Nt?void 0:Nt.length)>1?(e.openBlock(),e.createElementBlock("span",Oi," 见附表 ")):e.createCommentVNode("v-if",!0)]))],64)):["MRP"].includes(null===(Et=l.value)||void 0===Et?void 0:Et.system)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(null===(Vt=i.value)||void 0===Vt?void 0:Vt.projectName),1)],64)):e.createCommentVNode("v-if",!0)])]),e.createElementVNode("tr",null,[Pi,e.createElementVNode("td",Ui,e.toDisplayString((null===(Bt=null===(St=l.value)||void 0===St?void 0:St.context)||void 0===Bt?void 0:Bt.departmentUnit)&&i.value[null===(It=null===(At=l.value)||void 0===At?void 0:At.context)||void 0===It?void 0:It.departmentUnit]),1),Li,e.createElementVNode("td",Ri,[["ASSET","FMS","MRP2"].includes(null===(Dt=l.value)||void 0===Dt?void 0:Dt.system)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[1===(null===(jt=i.value[null===(_t=null===(Tt=l.value)||void 0===Tt?void 0:Tt.context)||void 0===_t?void 0:_t.projectNameAndLocationData])||void 0===jt?void 0:jt.length)?(e.openBlock(),e.createElementBlock("span",Mi,e.toDisplayString(null===(Pt=i.value[null===(Ot=null===(qt=l.value)||void 0===qt?void 0:qt.context)||void 0===Ot?void 0:Ot.projectNameAndLocationData][0])||void 0===Pt?void 0:Pt.kingDeeNo),1)):e.createCommentVNode("v-if",!0),(null===(Rt=i.value[null===(Lt=null===(Ut=l.value)||void 0===Ut?void 0:Ut.context)||void 0===Lt?void 0:Lt.projectNameAndLocationData])||void 0===Rt?void 0:Rt.length)>1?(e.openBlock(),e.createElementBlock("span",Fi," 见附表 ")):e.createCommentVNode("v-if",!0)],64)):e.createCommentVNode("v-if",!0),["MRP"].includes(null===(Mt=l.value)||void 0===Mt?void 0:Mt.system)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(null===(Ft=i.value)||void 0===Ft?void 0:Ft.projectNumber),1)],64)):e.createCommentVNode("v-if",!0)])]),e.createElementVNode("tr",null,[Qi,e.createElementVNode("td",zi,e.toDisplayString((null===(zt=null===(Qt=l.value)||void 0===Qt?void 0:Qt.context)||void 0===zt?void 0:zt.contentPurpose)&&i.value[null===($t=null===(Ht=l.value)||void 0===Ht?void 0:Ht.context)||void 0===$t?void 0:$t.contentPurpose]),1),Hi,e.createElementVNode("td",$i,[e.createElementVNode("span",null,e.toDisplayString((null===(Jt=null===(Yt=l.value)||void 0===Yt?void 0:Yt.context)||void 0===Jt?void 0:Jt.attachedInvoiceQuantity)&&i.value[null===(Gt=null===(Kt=l.value)||void 0===Kt?void 0:Kt.context)||void 0===Gt?void 0:Gt.attachedInvoiceQuantity]),1),Yi])]),e.createElementVNode("tr",null,[Ji,e.createElementVNode("td",Ki,[e.createElementVNode("span",Gi,e.toDisplayString((null===(Zt=null===(Wt=l.value)||void 0===Wt?void 0:Wt.context)||void 0===Zt?void 0:Zt.capitalAmount)&&e.unref(le)(null!==(tn=i.value[null===(en=null===(Xt=l.value)||void 0===Xt?void 0:Xt.context)||void 0===en?void 0:en.capitalAmount])&&void 0!==tn?tn:0)),1),Wi,e.createElementVNode("span",Zi,[e.createTextVNode(e.toDisplayString(e.unref(ie)((null===(rn=null===(nn=l.value)||void 0===nn?void 0:nn.context)||void 0===rn?void 0:rn.capitalAmount)&&i.value[null===(an=null===(on=l.value)||void 0===on?void 0:on.context)||void 0===an?void 0:an.capitalAmount]))+" ",1),(i.value[null===(un=null===(ln=l.value)||void 0===ln?void 0:ln.context)||void 0===un?void 0:un.capitalAmount]+"").includes("元")?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",Xi,"元"))])])]),eu])),tu])],512)),[[e.vShow,!1]])}}});nu.__file="src/print-ui/component/FinancialStatementPrint.vue";var ru=[n,fe,ve,ge,we,ke,Ne,O,H,Ee,Ve,Be,Ie,rt,Nt,zt,gr,$r,ho,Yt,Kt,Wt,gn,yn,Qn,Hn,Po,Yn,Kn,nl,xl,nu];ru.forEach((function(e){e.install=function(t){t.component(e.__name,e)}}));var ou={install:function(e){return ru.forEach((function(t){e.component(null==t?void 0:t.__name,t)})),e}};exports.IVAccessoryTypeSelector=Yn,exports.IVAdjustAmount=xl,exports.IVApproval=nl,exports.IVAssetsTypeSelector=Kn,exports.IVClientSelector=Qn,exports.IVContractSelector=Po,exports.IVFileUpload=gn,exports.IVFinancialStatementPrint=nu,exports.IVInnerContractSelector=Kt,exports.IVLineDropdown=ge,exports.IVMainContractSelector=Yt,exports.IVManagDropdown=Ne,exports.IVMaterialSelector=ho,exports.IVMaterialTypeDropdown=Ie,exports.IVMaterialTypeSelector=Be,exports.IVMeterageSelector=Nt,exports.IVModal=n,exports.IVOrgDropdown=fe,exports.IVOuterContractSelector=Wt,exports.IVPaytypeSelector=Hn,exports.IVPostDropdown=ke,exports.IVProdBaseDropdown=ve,exports.IVProduceProjectSelector=zt,exports.IVProjectSelector=rt,exports.IVRateDropdown=Ee,exports.IVSetofbookDropdown=we,exports.IVTable=O,exports.IVTableControl=H,exports.IVTimeSelector=yn,exports.IVUnitDropdown=Ve,exports.IVUserSelector=gr,exports.IVVendorSelector=$r,exports.default=ou;
|
|
117
117
|
//# sourceMappingURL=index.cjs.js.map
|