Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

index.e3d0ab4e.js 20KB

před 3 měsíci
před 4 měsíci
před 3 měsíci
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. var _e=Object.defineProperty,we=Object.defineProperties;var ke=Object.getOwnPropertyDescriptors;var Q=Object.getOwnPropertySymbols;var xe=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable;var X=(e,c,l)=>c in e?_e(e,c,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[c]=l,E=(e,c)=>{for(var l in c||(c={}))xe.call(c,l)&&X(e,l,c[l]);if(Q)for(var l of Q(c))Fe.call(c,l)&&X(e,l,c[l]);return e},L=(e,c)=>we(e,ke(c));var M=(e,c,l)=>new Promise((k,g)=>{var n=f=>{try{p(l.next(f))}catch(t){g(t)}},D=f=>{try{p(l.throw(f))}catch(t){g(t)}},p=f=>f.done?k(f.value):Promise.resolve(f.value).then(n,D);p((l=l.apply(e,c)).next())});import{e as Ce,l as Te,a as Ne}from"./settlementDocManage.f30ed3f7.js";import{N as V,d as Ye,z as De,k as Se,u as $e,r as v,O as T,o as Ve,R as Oe,f as b,g as y,c as $,x as r,p as I,w as i,e as o,F as W,q as w,Y as Me,b as N,t as Ie,Z as je,h as Y,B as Be,E as Ee,i as ze}from"./index.551f5afa.js";import Ue from"./confirmDialog.dff1319d.js";import{u as qe}from"./useExportExc.d21c8116.js";import{u as Le}from"./useTreeSelectData.cd9b00f2.js";import We from"./mergeDialog.e72302eb.js";import"./uploadAction.69ee4a64.js";function Pe(e){let c="",l="\u4EDF\u4F70\u62FE\u4EBF\u4EDF\u4F70\u62FE\u4E07\u4EDF\u4F70\u62FE\u5143\u89D2\u5206";e+="00";const k=e.indexOf(".");k>=0&&(e=e.substring(0,k)+e.substr(k+1,2)),l=l.substr(l.length-e.length);for(let g=0;g<e.length;g++)c+="\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396".substr(e.substr(g,1),1)+l.substr(g,1);return c.replace(/零角零分$/,"\u6574").replace(/零[仟佰拾]/g,"\u96F6").replace(/零{2,}/g,"\u96F6").replace(/零([亿|万])/g,"$1").replace(/零+元/,"\u5143").replace(/亿零{0,3}万/,"\u4EBF").replace(/^元/,"\u96F6\u5143")}const Re=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">${V(e.startTime).format("YYYY-MM-DD")}\u81F3${V(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">${Pe(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. `;const Ge={class:"statementList"},Ae=N("div",{style:{height:"0",width:"0",overflow:"hidden"}},[N("iframe",{id:"printContent"})],-1),Qe=Y("\u67E5\u8BE2"),Xe=Y("\u91CD\u7F6E"),Ze={class:"flex items-center"},He=N("span",{style:{"margin-right":"20px"}},"\u7ED3\u7B97\u5355\u5217\u8868",-1),Je=Y(" \u5408\u5E76\u7ED3\u7B97\u5355 "),Ke=Y("\u786E\u8BA4\u5408\u5E76 "),ea=Y("\u53D6\u6D88 "),aa=N("div",{style:{flex:"1"}},null,-1),ta=Y(" \u5BFC\u51FA "),la=Y(" \u91CD\u65B0\u751F\u6210\u4E0A\u6708\u7ED3\u7B97\u5355 "),na=["onClick"],sa=["onClick"],oa=["onClick"],ia=Ye({name:"statementList"}),ha=Object.assign(ia,{props:{state:String},setup(e,{expose:c}){const l=e,{proxy:k}=ze(),g=De.userStore.userBaseInfo,n=Se(),D=$e(),p=v({}),f=v(!1),t={statementToBeConfirmed:1,pendingPaymentSettlementDoc:2,settlementDocToBeInvoiced:3,invoicedSettlementDocument:4,personalSettlementForm:5},x=v(),z=v(0),j=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:a=>T("span",V(a.startTime).format("YYYY-MM-DD")),width:"140"},{label:"\u6708\u5C3E\u65E5\u671F",key:"endTime",render:a=>T("span",V(a.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:"\u7ED3\u7B97\u8D39\u7528\uFF08\u5143\uFF09",key:"pendingTotalFee",prop:"pendingTotalFee",width:"140",fixed:"right"},{label:(t[n.name]||t[l.state])===4?"\u5DF2\u786E\u8BA4\u7ED3\u7B97\u5355":"\u5DF2\u7B7E\u5B57\u76D6\u7AE0\u7ED3\u7B97\u5355",key:"examineFile",render:a=>T("a",{class:"text-primary",onclick(){const s=D.resolve({path:"/fileView",query:{id:a.examineFile}});window.open(s.href,"_blank")}},"\u67E5\u770B"),hidden:[2,3,4].every(a=>a!==(t[n.name]||t[l.state])),width:"160"},{label:"\u6536\u6B3E\u8BC1\u660E",key:"collectionFile",render:a=>T("a",{class:"text-primary",onclick(){const s=D.resolve({path:"/fileView",query:{id:a.collectionFile}});window.open(s.href,"_blank")}},"\u67E5\u770B"),hidden:[3,4].every(a=>a!==(t[n.name]||t[l.state])),width:"160"},{label:"\u53D1\u7968",key:"invoiceFile",render:a=>T("a",{class:"text-primary",onclick(){const s=D.resolve({path:"/fileView",query:{id:a.invoiceFile}});window.open(s.href,"_blank")}},"\u67E5\u770B"),hidden:(t[n.name]||t[l.state])!==4,width:"160"},{label:"\u64CD\u4F5C",key:"action",slot:"action",width:(t[n.name]||t[l.state])===1?"240":(t[n.name]||t[l.state])===4?"120":"160",fixed:"right"}]),P=v([]),{cascaderProps:Z}=Le(),H=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:a=>T("span",V(a.startTime).format("YYYY-MM-DD")),width:"140"},{label:"\u7ED3\u675F\u65F6\u95F4",key:"endTime",render:a=>T("span",V(a.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"}]),R=v([]),F=(...s)=>M(this,[...s],function*(a=x.value.pageParams){var d,h;console.log(a);const m=yield Te(t[n.name]||t[l.state],L(E(E({},a),p.value),{pageSize:t[n.name]?a.pageSize:5,startTime:(d=p.value.times)==null?void 0:d[0],endTime:(h=p.value.times)==null?void 0:h[1],times:void 0}));z.value=m.data.total,R.value=m.data.records}),J=()=>{F()},K=()=>{p.value={},x.value.pageParams.pageNumber=1,x.value.pageParams.pageSize=10,F()},{exportLoading:ee,exportData:ae}=qe(),te=a=>{const s=n.name.toString();D.push({name:"orderListInSettlementDoc",query:{companyName:a.companyName,times:[a.startTime,a.endTime],activeMenu:s,isOrder:1,projectId:a.projectId,settlementId:[1,2,3,4].indexOf(t[n.name])!==-1?a.id:""}})},le=a=>M(this,null,function*(){const s=Re(a);yield Be();let m=document.getElementById("printContent");m.contentDocument.write(s),m.contentDocument.close(),m.contentWindow.onload=()=>{m.contentWindow.print(),m=null}}),B=v(),U=v(!1),ne=a=>{B.value=a,U.value=!0},se=a=>{U.value=!1,a&&F()},q=v(!1),oe=a=>{q.value=!1,_=[],S.value=!1,re(),x.value.clearSelection(),a&&F()},ie=()=>M(this,null,function*(){try{f.value=!0,yield Ne(),F(),x.value.clearSelection(),_=[],k.$message.success("\u91CD\u65B0\u751F\u6210\u4E0A\u6708\u7ED3\u7B97\u5355\u6210\u529F\uFF01")}finally{f.value=!1}});Ve(()=>M(this,null,function*(){n.name==="personalSettlementForm"&&(P.value=(yield Oe()).data),F()})),c({total:z});const re=pe(function(){j.value.shift()},1e3);function pe(a,s){let m;return function(){const d=this,h=arguments;clearTimeout(m),m=setTimeout(function(){a.apply(d,h)},s)}}const S=v(!1);function ce(){S.value=!0,j.value.unshift({label:"",reserveSelection:!0,type:"selection",width:"50"})}function me(){if(_.length<2){Ee.warning("\u8BF7\u81F3\u5C11\u9009\u62E9\u4E24\u4E2A\u8981\u5408\u5E76\u7684\u7ED3\u7B97\u5355");return}B.value=_,q.value=!0}function de(){S.value=!1,_=[],j.value.shift(),x.value.clearSelection()}function ue(a){if(_.length>0){let s=!0;for(let m=0;m<_.length;m++){const d=_[m];if(d.id===a.id){s=!0;break}if(d.companyId===a.companyId&&d.projectIds!==a.projectIds&&d.startTime===a.startTime&&d.endTime===a.endTime)console.log("");else{s=!1;break}}return s}else return!0}let _=[];function ve(a){_=a}return(a,s)=>{const m=b("el-input"),d=b("el-form-item"),h=b("el-col"),fe=b("el-cascader"),he=b("el-date-picker"),C=b("el-button"),ye=b("el-row"),be=b("el-form"),G=b("el-card"),ge=b("table-list");return y(),$("div",Ge,[Ae,t[r(n).name]?(y(),I(G,{key:0,shadow:"never",class:"search mb-16"},{default:i(()=>[o(be,{"label-suffix":":",model:p.value,size:"small"},{default:i(()=>[o(ye,{gutter:16},{default:i(()=>[r(n).name!=="personalSettlementForm"?(y(),$(W,{key:0},[o(h,{span:6},{default:i(()=>[o(d,{label:"\u6240\u5C5E\u4F01\u4E1A"},{default:i(()=>[o(m,{modelValue:p.value.companyName,"onUpdate:modelValue":s[0]||(s[0]=u=>p.value.companyName=u),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),o(h,{span:6},{default:i(()=>[o(d,{label:"\u6240\u5C5E\u9879\u76EE"},{default:i(()=>[o(m,{modelValue:p.value.projectName,"onUpdate:modelValue":s[1]||(s[1]=u=>p.value.projectName=u),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})],64)):(y(),$(W,{key:1},[o(h,{span:6},{default:i(()=>[o(d,{label:"\u59D3\u540D"},{default:i(()=>[o(m,{modelValue:p.value.name,"onUpdate:modelValue":s[2]||(s[2]=u=>p.value.name=u),maxlength:"10",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1}),o(h,{span:6},{default:i(()=>[o(d,{label:"\u6240\u5C5E\u533A\u57DF"},{default:i(()=>[o(fe,{modelValue:p.value.regionCode,"onUpdate:modelValue":s[3]||(s[3]=u=>p.value.regionCode=u),props:r(Z),options:P.value,clearable:"",class:"w-full"},null,8,["modelValue","props","options"])]),_:1})]),_:1})],64)),o(h,{span:7},{default:i(()=>[o(d,{label:"\u65F6\u95F4\u8303\u56F4"},{default:i(()=>[o(he,{modelValue:p.value.times,"onUpdate:modelValue":s[4]||(s[4]=u=>p.value.times=u),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}),o(h,{span:5},{default:i(()=>[o(d,{class:"btn"},{default:i(()=>[o(C,{type:"primary",onClick:J},{default:i(()=>[Qe]),_:1}),o(C,{type:"info",onClick:K},{default:i(()=>[Xe]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})):w("",!0),o(G,{shadow:"never",class:je(t[r(n).name]?"":"noCardStyle")},Me({default:i(()=>[o(ge,{ref_key:"tableListRef",ref:x,class:"hide-selection-all",column:r(n).name!=="personalSettlementForm"?j.value:H.value,data:R.value,selectable:ue,total:z.value,"row-key":"id",pagination:Boolean(t[r(n).name]),"empty-temp":Boolean(t[r(n).name]),onSelectionChange:ve,onGetTableData:F},{action:i(({scope:u})=>[N("a",{class:"text-primary",onClick:O=>te(u.row)},"\u8BA2\u5355\u8BE6\u60C5",8,na),r(n).name!=="personalSettlementForm"?(y(),$(W,{key:0},[(t[r(n).name]||t[l.state])!==4?(y(),$("a",{key:0,class:"text-primary",onClick:O=>ne(u.row)},Ie((t[r(n).name]||t[l.state])===1?"\u786E\u8BA4\u7ED3\u7B97\u5355":(t[r(n).name]||t[l.state])===2?"\u786E\u8BA4\u6536\u6B3E":(t[r(n).name]||t[l.state])===3?"\u786E\u8BA4\u5F00\u7968":""),9,sa)):w("",!0),(t[r(n).name]||t[l.state])===1?(y(),$("a",{key:1,class:"text-primary",onClick:O=>le(u.row)},"\u7ED3\u7B97\u5355\u4E0B\u8F7D",8,oa)):w("",!0)],64)):w("",!0)]),_:1},8,["column","data","total","pagination","empty-temp"])]),_:2},[t[r(n).name]?{name:"header",fn:i(()=>[N("div",Ze,[He,!S.value&&t[r(n).name]===1?(y(),I(C,{key:0,type:"primary",onClick:ce},{default:i(()=>[Je]),_:1})):w("",!0),S.value&&t[r(n).name]===1?(y(),I(C,{key:1,type:"primary",onClick:me},{default:i(()=>[Ke]),_:1})):w("",!0),S.value&&t[r(n).name]===1?(y(),I(C,{key:2,type:"info",onClick:de},{default:i(()=>[ea]),_:1})):w("",!0),aa,N("div",null,[o(C,{loading:r(ee),type:"primary",plain:"",icon:"Download",size:"small",onClick:s[5]||(s[5]=u=>r(ae)(()=>{var O,A;return r(Ce)(L(E({},p.value),{startTime:(O=p.value.times)==null?void 0:O[0],endTime:(A=p.value.times)==null?void 0:A[1],times:void 0,status:(t[r(n).name]||t[l.state])&&["TO_BE_CONFIRM","TO_BE_PAY","TO_BE_INVOICING","INVOICING"][(t[r(n).name]||t[l.state])-1]}))}))},{default:i(()=>[ta]),_:1},8,["loading"]),[1,5].includes(t[r(n).name])&&r(g).role==="super_admin"?(y(),I(C,{key:0,loading:f.value,type:"primary",plain:"",size:"small",onClick:ie},{default:i(()=>[la]),_:1},8,["loading"])):w("",!0)])])]),key:"0"}:void 0]),1032,["class"]),o(Ue,{visible:U.value,data:B.value,onClose:se},null,8,["visible","data"]),o(We,{visible:q.value,data:B.value,onClose:oe},null,8,["visible","data"])])}}});export{ha as default};