Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

200 строки
18KB

  1. var re=Object.defineProperty,me=Object.defineProperties;var ce=Object.getOwnPropertyDescriptors;var W=Object.getOwnPropertySymbols;var de=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable;var P=(e,m,t)=>m in e?re(e,m,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[m]=t,S=(e,m)=>{for(var t in m||(m={}))de.call(m,t)&&P(e,t,m[t]);if(W)for(var t of W(m))ue.call(m,t)&&P(e,t,m[t]);return e},j=(e,m)=>me(e,ce(m));var Y=(e,m,t)=>new Promise((_,y)=>{var s=u=>{try{o(t.next(u))}catch(a){y(a)}},k=u=>{try{o(t.throw(u))}catch(a){y(a)}},o=u=>u.done?_(u.value):Promise.resolve(u.value).then(s,k);o((t=t.apply(e,m)).next())});import{e as ve,_ as be,l as ye,a as he}from"./confirmDialog.2d657d6e.js";import{M as C,d as fe,y as ge,k as _e,u as we,r as v,O as w,o as ke,R as xe,f as b,g,c as F,v as r,n as R,w as p,e as n,F as B,p as D,Y as Fe,b as T,t as Ce,Z as Te,h as V,A as Ne,i as Ye}from"./index.56ad3315.js";import{u as De}from"./useExportExc.9510a555.js";import{u as $e}from"./useTreeSelectData.f80dc3c9.js";import"./uploadAction.9c148b89.js";function Oe(e){let m="",t="\u4EDF\u4F70\u62FE\u4EBF\u4EDF\u4F70\u62FE\u4E07\u4EDF\u4F70\u62FE\u5143\u89D2\u5206";e+="00";const _=e.indexOf(".");_>=0&&(e=e.substring(0,_)+e.substr(_+1,2)),t=t.substr(t.length-e.length);for(let y=0;y<e.length;y++)m+="\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396".substr(e.substr(y,1),1)+t.substr(y,1);return m.replace(/零角零分$/,"\u6574").replace(/零[仟佰拾]/g,"\u96F6").replace(/零{2,}/g,"\u96F6").replace(/零([亿|万])/g,"$1").replace(/零+元/,"\u5143").replace(/亿零{0,3}万/,"\u4EBF").replace(/^元/,"\u96F6\u5143")}const Se=e=>`
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5. <meta charset="UTF-8" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <meta http-equiv="pragram" content="no-cache" />
  8. <meta
  9. http-equiv="cache-control"
  10. content="no-cache, no-store, must-revalidate"
  11. />
  12. <meta http-equiv="expires" content="0" />
  13. <!-- \u90FD\u9700\u8981\u52A0\u4E0A\u517C\u5BB9| \u5F3A\u5236Chromium\u5185\u6838\uFF0C\u4F5C\u7528\u4E8E360\u6D4F\u89C8\u5668\u3001QQ\u6D4F\u89C8\u5668\u7B49\u56FD\u4EA7\u53CC\u6838\u6D4F\u89C8\u5668 -->
  14. <meta name="renderer" content="webkit" />
  15. <!-- \u5F3A\u5236Chromium\u5185\u6838\uFF0C\u4F5C\u7528\u4E8E\u5176\u4ED6\u53CC\u6838\u6D4F\u89C8\u5668 -->
  16. <meta name="force-rendering" content="webkit" />
  17. <!-- \u5982\u679C\u6709\u5B89\u88C5 Google Chrome Frame \u63D2\u4EF6\u5219\u5F3A\u5236\u4E3AChromium\u5185\u6838\uFF0C\u5426\u5219\u5F3A\u5236\u672C\u673A\u652F\u6301\u7684\u6700\u9AD8\u7248\u672CIE\u5185\u6838\uFF0C\u4F5C\u7528\u4E8EIE\u6D4F\u89C8\u5668 -->
  18. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  19. <title>\u5B81\u8FBE\u79DF\u8F66\u8FD0\u8425\u7BA1\u7406\u7CFB\u7EDF-\u7ED3\u7B97\u5355</title>
  20. <style>
  21. @page {
  22. size: A4 portrait;
  23. margin: 0 2.6cm 0; /* \u56FD\u5BB6\u6807\u51C6\u516C\u6587\u9875\u8FB9\u8DDD GB/T 9704-2012 */
  24. }
  25. body {
  26. margin: 0;
  27. padding: 10% 0 0;
  28. }
  29. ul,
  30. li {
  31. list-style: none;
  32. margin: 0;
  33. padding: 0;
  34. }
  35. h1,
  36. h2 {
  37. text-align: center;
  38. }
  39. h2 {
  40. margin-bottom: 28px;
  41. }
  42. .content {
  43. margin-bottom: 36px;
  44. }
  45. .content p {
  46. margin-bottom: 16px;
  47. }
  48. .label {
  49. font-size: 18px;
  50. vertical-align: middle;
  51. }
  52. .value {
  53. font-size: 18px;
  54. font-family: STSong;
  55. vertical-align: middle;
  56. }
  57. table {
  58. width: 100%;
  59. border-collapse: collapse;
  60. box-sizing: border-box;
  61. }
  62. tr,td {
  63. margin: 0;
  64. padding: 0;
  65. }
  66. td {
  67. padding: 12px 0;
  68. }
  69. </style>
  70. </head>
  71. <body>
  72. <h1>\u676D\u5DDE\u5B81\u8FBE\u79D1\u6280\u6709\u9650\u516C\u53F8</h1>
  73. <h2>\u6570\u636E\u7ED3\u7B97\u786E\u8BA4\u5355</h2>
  74. <div class="content">
  75. <div style="display: flex;justify-content: space-between;margin-bottom: 16px">
  76. <div>
  77. <span class="label">\u5BA2\u6237\u540D\u79F0\uFF1A</span>
  78. <span class="value">${e.companyName}</span>
  79. </div>
  80. <div>
  81. <span class="label">\u9879\u76EE\u7F16\u53F7\uFF1A</span>
  82. <span class="value">${e.projectNum||"-"}</span>
  83. </div>
  84. </div>
  85. <div style="display: flex;justify-content: space-between;margin-bottom: 16px">
  86. <div>
  87. <span class="label">\u9879\u76EE\u540D\u79F0\uFF1A</span>
  88. <span class="value">${e.projectName}</span>
  89. </div>
  90. <div>
  91. <span class="label">\u9879\u76EE\u8D1F\u8D23\u4EBA\uFF1A</span>
  92. <span class="value">${e.projectLeader||"-"}</span>
  93. </div>
  94. </div>
  95. <div style="margin-bottom: 16px">
  96. <span class="label">\u6240\u5C5E\u65F6\u95F4\uFF1A</span>
  97. <span class="value">${C(e.startTime).format("YYYY-MM-DD")}\u81F3${C(e.endTime).format("YYYY-MM-DD")}</span>
  98. </div>
  99. <div style="display: flex;justify-content: space-between">
  100. <div>
  101. <p>
  102. <span class="label">\u79DF\u8F66\u8D39\uFF08\u5143\uFF09\uFF1A</span>
  103. <span class="value">${e.carTotalFee}</span>
  104. </p>
  105. <p>
  106. <span class="label">\u8D85\u65F6\u8D39\uFF08\u5143\uFF09\uFF1A</span>
  107. <span class="value">${e.workingOvertimeFee}</span>
  108. </p>
  109. <p>
  110. <span class="label">\u4E0B\u53BF\u8865\u8D34\uFF08\u5143\uFF09\uFF1A</span>
  111. <span class="value">${e.countySubsidyFee}</span>
  112. </p>
  113. <p>
  114. <span class="label">\u505C\u8F66\u8D39\uFF08\u5143\uFF09\uFF1A</span>
  115. <span class="value">${e.parkingFee}</span>
  116. </p>
  117. <p>
  118. <span class="label">\u5176\u4ED6\u8D39\u7528\uFF08\u5143\uFF09\uFF1A</span>
  119. <span class="value">${e.otherCost}</span>
  120. </p>
  121. <p>
  122. <span class="label">\u7A0E\u8D39\uFF08\u5143\uFF09\uFF1A</span>
  123. <span class="value">${e.taxFee}</span>
  124. </p>
  125. </div>
  126. <div>
  127. <p>
  128. <span class="label">\u91CC\u7A0B\u8D39\uFF08\u5143\uFF09\uFF1A</span>
  129. <span class="value">${e.totalOilCost}</span>
  130. </p>
  131. <p>
  132. <span class="label">\u591C\u73ED\u8D39\uFF08\u5143\uFF09\uFF1A</span>
  133. <span class="value">${e.nightWorkingFee}</span>
  134. </p>
  135. <p>
  136. <span class="label">\u9AD8\u901F\u8D39\uFF08\u5143\uFF09\uFF1A</span>
  137. <span class="value">${e.expresswayFee}</span>
  138. </p>
  139. <p>
  140. <span class="label">\u9644\u52A0\u8D39\uFF08\u5143\uFF09\uFF1A</span>
  141. <span class="value">${e.surcharge}</span>
  142. </p>
  143. <p>
  144. <span class="label">\u6574\u4F53\u7528\u8F66\u8D39\uFF08\u5143\uFF09\uFF1A</span>
  145. <span class="value">${e.totalFee}</span>
  146. </p>
  147. <p>
  148. <span class="label">\u5E73\u53F0\u670D\u52A1\u8D39\uFF08\u542B\u7A0E\uFF09\uFF08\u5143\uFF09\uFF1A</span>
  149. <span class="value">${e.serviceFee}</span>
  150. </p>
  151. </div>
  152. </div>
  153. <p>
  154. <span class="label">\u5408\u8BA1\uFF1A</span>
  155. <span>
  156. <span class="label">\u5927\u5199\uFF1A</span><span class="value">${Oe(Number(e.totalFee)+Number(e.taxFee)+Number(e.serviceFee))}</span>
  157. <span class="label">\u5C0F\u5199\uFF1A</span><span class="value">${Number(e.totalFee)+Number(e.taxFee)+Number(e.serviceFee)}</span>
  158. </span>
  159. </p>
  160. </div>
  161. <table>
  162. <tr>
  163. <td colspan="2" class="label">
  164. \u4EE5\u4E0A\u5185\u5BB9\u8BF7\u4E88\u4EE5\u786E\u8BA4\uFF1A
  165. </td>
  166. </tr>
  167. <tr>
  168. <td style="width: 50%;" class="label">
  169. <p style="margin-bottom: 48px">\u7532\u65B9\u7B7E\u5B57\uFF08\u76D6\u7AE0\uFF09\uFF1A</p>
  170. <p>\u65E5\u671F\uFF1A</p>
  171. </td>
  172. <td style="width: 50%;" class="label">
  173. <p style="margin-bottom: 48px">\u4E59\u65B9\u7B7E\u5B57\uFF08\u76D6\u7AE0\uFF09\uFF1A</p>
  174. <p>\u65E5\u671F\uFF1A</p>
  175. </td>
  176. </tr>
  177. <tr>
  178. <td colspan="2" class="label">
  179. <p>\u8BF7\u5C06\u4E0A\u8FF0\u6B3E\u9879\u4ED8\u81F3\u4E00\u4E0B\u8D26\u6237\uFF1A</p>
  180. <p>\u676D\u5DDE\u5B81\u8FBE\u79D1\u6280\u6709\u9650\u516C\u53F8</p>
  181. <p>
  182. <span>\u5F00\u6237\u884C\uFF1A</span>
  183. <span>xxx</span>
  184. </p>
  185. <p>
  186. <span>\u8D26\u53F7\uFF1A</span>
  187. <span>xxx</span>
  188. </p>
  189. </td>
  190. </tr>
  191. </table>
  192. </body>
  193. </html>
  194. `,Ve={class:"statementList"},Me=T("div",{style:{height:"0",width:"0",overflow:"hidden"}},[T("iframe",{id:"printContent"})],-1),Ie=V("\u67E5\u8BE2"),je=V("\u91CD\u7F6E"),Be={class:"flex justify-between items-center"},Ee=T("span",null,"\u7ED3\u7B97\u5355\u5217\u8868",-1),Ue=V(" \u5BFC\u51FA "),ze=V(" \u91CD\u65B0\u751F\u6210\u4E0A\u6708\u7ED3\u7B97\u5355 "),qe=["onClick"],Le=["onClick"],We=["onClick"],Pe=fe({name:"statementList"}),He=Object.assign(Pe,{props:{state:String},setup(e,{expose:m}){const t=e,{proxy:_}=Ye(),y=ge.userStore.userBaseInfo,s=_e(),k=we(),o=v({}),u=v(!1),a={statementToBeConfirmed:1,pendingPaymentSettlementDoc:2,settlementDocToBeInvoiced:3,invoicedSettlementDocument:4,personalSettlementForm:5},$=v(),M=v(0),G=v([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u6240\u5C5E\u4F01\u4E1A",key:"companyName",prop:"companyName",minWidth:"180",showOverflowTooltip:!0},{label:"\u6240\u5C5E\u9879\u76EE",key:"projectName",prop:"projectName",minWidth:"180",showOverflowTooltip:!0},{label:"\u5F00\u59CB\u65F6\u95F4",key:"startTime",render:l=>w("span",C(l.startTime).format("YYYY-MM-DD")),width:"140"},{label:"\u7ED3\u675F\u65F6\u95F4",key:"endTime",render:l=>w("span",C(l.endTime).format("YYYY-MM-DD")),width:"140"},{label:"\u5E94\u4ED8\u79DF\u8F66\u8D39\uFF08\u5143\uFF09",key:"carTotalFee",prop:"carTotalFee",width:"160"},{label:"\u5E94\u4ED8\u91CC\u7A0B\u8D39\uFF08\u5143\uFF09",key:"totalOilCost",prop:"totalOilCost",width:"160"},{label:"\u5E94\u4ED8\u8D85\u65F6\u8D39\uFF08\u5143\uFF09",key:"workingOvertimeFee",prop:"workingOvertimeFee",width:"160"},{label:"\u5E94\u4ED8\u591C\u73ED\u8D39\uFF08\u5143\uFF09",key:"nightWorkingFee",prop:"nightWorkingFee",width:"160"},{label:"\u5E94\u4ED8\u4E0B\u53BF\u8865\u8D34\uFF08\u5143\uFF09",key:"countySubsidyFee",prop:"countySubsidyFee",width:"160"},{label:"\u5E94\u4ED8\u9AD8\u901F\u8D39\uFF08\u5143\uFF09",key:"expresswayFee",prop:"expresswayFee",width:"160"},{label:"\u5E94\u4ED8\u505C\u8F66\u8D39\uFF08\u5143\uFF09",key:"parkingFee",prop:"parkingFee",width:"160"},{label:"\u5E94\u4ED8\u9644\u52A0\u8D39\uFF08\u5143\uFF09",key:"surcharge",prop:"surcharge",width:"160"},{label:"\u5E94\u4ED8\u5176\u4ED6\u8D39\u7528\uFF08\u5143\uFF09",key:"otherCost",prop:"otherCost",width:"160"},{label:"\u5E94\u4ED8\u670D\u52A1\u8D39\uFF08\u5143\uFF09",key:"serviceFee",prop:"serviceFee",width:"140",fixed:"right"},{label:"\u603B\u8BA1\u8D39\u7528\uFF08\u5143\uFF09",key:"totalFee",prop:"totalFee",width:"140",fixed:"right"},{label:(a[s.name]||a[t.state])===4?"\u5DF2\u786E\u8BA4\u7ED3\u7B97\u5355":"\u5DF2\u7B7E\u5B57\u76D6\u7AE0\u7ED3\u7B97\u5355",key:"examineFile",render:l=>w("a",{class:"text-primary",onclick(){const i=k.resolve({path:"/fileView",query:{id:l.examineFile}});window.open(i.href,"_blank")}},"\u67E5\u770B"),hidden:[2,3,4].every(l=>l!==(a[s.name]||a[t.state])),width:"160"},{label:"\u6536\u6B3E\u8BC1\u660E",key:"collectionFile",render:l=>w("a",{class:"text-primary",onclick(){const i=k.resolve({path:"/fileView",query:{id:l.collectionFile}});window.open(i.href,"_blank")}},"\u67E5\u770B"),hidden:[3,4].every(l=>l!==(a[s.name]||a[t.state])),width:"160"},{label:"\u53D1\u7968",key:"invoiceFile",render:l=>w("a",{class:"text-primary",onclick(){const i=k.resolve({path:"/fileView",query:{id:l.invoiceFile}});window.open(i.href,"_blank")}},"\u67E5\u770B"),hidden:(a[s.name]||a[t.state])!==4,width:"160"},{label:"\u64CD\u4F5C",key:"action",slot:"action",width:(a[s.name]||a[t.state])===1?"240":(a[s.name]||a[t.state])===4?"120":"160",fixed:"right"}]),E=v([]),{cascaderProps:A}=$e(),Q=v([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u59D3\u540D",key:"companyName",prop:"companyName",width:"120"},{label:"\u5F00\u59CB\u65F6\u95F4",key:"startTime",render:l=>w("span",C(l.startTime).format("YYYY-MM-DD")),width:"140"},{label:"\u7ED3\u675F\u65F6\u95F4",key:"endTime",render:l=>w("span",C(l.endTime).format("YYYY-MM-DD")),width:"140"},{label:"\u624B\u673A\u53F7",key:"phoneNo",prop:"phoneNo",width:"180"},{label:"\u6240\u5C5E\u533A\u57DF",key:"regionDisplayName",prop:"regionDisplayName",minWidth:"180",showOverflowTooltip:!0},{label:"\u8BA2\u5355\u6570",key:"carTotalFee",prop:"carTotalFee",width:"160"},{label:"\u5E94\u4ED8\u8D39\u7528\uFF08\u5143\uFF09",key:"totalOilCost",prop:"totalOilCost",width:"160"},{label:"\u64CD\u4F5C",key:"action",slot:"action",width:"120",fixed:"right"}]),U=v([]),x=(...i)=>Y(this,[...i],function*(l=$.value.pageParams){var h,f;const d=yield ye(a[s.name]||a[t.state],j(S(S({},l),o.value),{pageSize:a[s.name]?l.pageSize:5,startTime:(h=o.value.times)==null?void 0:h[0],endTime:(f=o.value.times)==null?void 0:f[1],times:void 0}));M.value=d.data.total,U.value=d.data.records}),X=()=>{x()},Z=()=>{o.value={},$.value.pageParams.pageNumber=1,$.value.pageParams.pageSize=10,x()},{exportLoading:H,exportData:J}=De(),K=l=>{const i=s.name.toString();k.push({name:"orderListInSettlementDoc",query:{companyName:l.companyName,times:[l.startTime,l.endTime],activeMenu:i,isOrder:1,projectId:l.projectId,settlementId:a[s.name]===1?l.id:""}})},ee=l=>Y(this,null,function*(){const i=Se(l);yield Ne();let d=document.getElementById("printContent");d.contentDocument.write(i),d.contentDocument.close(),d.contentWindow.onload=()=>{d.contentWindow.print(),d=null}}),z=v(),I=v(!1),ae=l=>{z.value=l,I.value=!0},te=l=>{I.value=!1,l&&x()},le=()=>Y(this,null,function*(){try{u.value=!0,yield he(),x(),_.$message.success("\u91CD\u65B0\u751F\u6210\u4E0A\u6708\u7ED3\u7B97\u5355\u6210\u529F\uFF01")}finally{u.value=!1}});return ke(()=>Y(this,null,function*(){s.name==="personalSettlementForm"&&(E.value=(yield xe()).data),x()})),m({total:M}),(l,i)=>{const d=b("el-input"),h=b("el-form-item"),f=b("el-col"),se=b("el-cascader"),ne=b("el-date-picker"),O=b("el-button"),oe=b("el-row"),ie=b("el-form"),q=b("el-card"),pe=b("table-list");return g(),F("div",Ve,[Me,a[r(s).name]?(g(),R(q,{key:0,shadow:"never",class:"search mb-16"},{default:p(()=>[n(ie,{"label-suffix":":",model:o.value,size:"small"},{default:p(()=>[n(oe,{gutter:16},{default:p(()=>[r(s).name!=="personalSettlementForm"?(g(),F(B,{key:0},[n(f,{span:6},{default:p(()=>[n(h,{label:"\u6240\u5C5E\u4F01\u4E1A"},{default:p(()=>[n(d,{modelValue:o.value.companyName,"onUpdate:modelValue":i[0]||(i[0]=c=>o.value.companyName=c),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),n(f,{span:6},{default:p(()=>[n(h,{label:"\u6240\u5C5E\u9879\u76EE"},{default:p(()=>[n(d,{modelValue:o.value.projectName,"onUpdate:modelValue":i[1]||(i[1]=c=>o.value.projectName=c),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})],64)):(g(),F(B,{key:1},[n(f,{span:6},{default:p(()=>[n(h,{label:"\u59D3\u540D"},{default:p(()=>[n(d,{modelValue:o.value.name,"onUpdate:modelValue":i[2]||(i[2]=c=>o.value.name=c),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),n(f,{span:6},{default:p(()=>[n(h,{label:"\u6240\u5C5E\u533A\u57DF"},{default:p(()=>[n(se,{modelValue:o.value.regionCode,"onUpdate:modelValue":i[3]||(i[3]=c=>o.value.regionCode=c),props:r(A),options:E.value,clearable:"",class:"w-full"},null,8,["modelValue","props","options"])]),_:1})]),_:1})],64)),n(f,{span:7},{default:p(()=>[n(h,{label:"\u65F6\u95F4\u8303\u56F4"},{default:p(()=>[n(ne,{modelValue:o.value.times,"onUpdate:modelValue":i[4]||(i[4]=c=>o.value.times=c),format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",type:"daterange","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4"},null,8,["modelValue"])]),_:1})]),_:1}),n(f,{span:5},{default:p(()=>[n(h,{class:"btn"},{default:p(()=>[n(O,{type:"primary",onClick:X},{default:p(()=>[Ie]),_:1}),n(O,{type:"info",onClick:Z},{default:p(()=>[je]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})):D("",!0),n(q,{shadow:"never",class:Te(a[r(s).name]?"":"noCardStyle")},Fe({default:p(()=>[n(pe,{ref_key:"tableListRef",ref:$,column:r(s).name!=="personalSettlementForm"?G.value:Q.value,data:U.value,total:M.value,pagination:Boolean(a[r(s).name]),"empty-temp":Boolean(a[r(s).name]),onGetTableData:x},{action:p(({scope:c})=>[T("a",{class:"text-primary",onClick:N=>K(c.row)},"\u8BA2\u5355\u8BE6\u60C5",8,qe),r(s).name!=="personalSettlementForm"?(g(),F(B,{key:0},[(a[r(s).name]||a[t.state])!==4?(g(),F("a",{key:0,class:"text-primary",onClick:N=>ae(c.row)},Ce((a[r(s).name]||a[t.state])===1?"\u786E\u8BA4\u7ED3\u7B97\u5355":(a[r(s).name]||a[t.state])===2?"\u786E\u8BA4\u6536\u6B3E":(a[r(s).name]||a[t.state])===3?"\u786E\u8BA4\u5F00\u7968":""),9,Le)):D("",!0),(a[r(s).name]||a[t.state])===1?(g(),F("a",{key:1,class:"text-primary",onClick:N=>ee(c.row)},"\u7ED3\u7B97\u5355\u4E0B\u8F7D",8,We)):D("",!0)],64)):D("",!0)]),_:1},8,["column","data","total","pagination","empty-temp"])]),_:2},[a[r(s).name]?{name:"header",fn:p(()=>[T("div",Be,[Ee,T("div",null,[n(O,{loading:r(H),type:"primary",plain:"",icon:"Download",size:"small",onClick:i[5]||(i[5]=c=>r(J)(()=>{var N,L;return r(ve)(j(S({},o.value),{startTime:(N=o.value.times)==null?void 0:N[0],endTime:(L=o.value.times)==null?void 0:L[1],times:void 0,status:(a[r(s).name]||a[t.state])&&["TO_BE_CONFIRM","TO_BE_PAY","TO_BE_INVOICING","INVOICING"][(a[r(s).name]||a[t.state])-1]}))}))},{default:p(()=>[Ue]),_:1},8,["loading"]),[1,5].includes(a[r(s).name])&&r(y).role==="super_admin"?(g(),R(O,{key:0,loading:u.value,type:"primary",plain:"",size:"small",onClick:le},{default:p(()=>[ze]),_:1},8,["loading"])):D("",!0)])])]),key:"0"}:void 0]),1032,["class"]),n(be,{visible:I.value,data:z.value,onClose:te},null,8,["visible","data"])])}}});export{He as default};