index.ca479e66.js 3.5 KB

1
  1. import{_ as v,d as b,aP as E,r as _,o as m,G as w,C as c,b as l,l as F,u as d,L as h,Q as x,R as D}from"./index.fd765376.js";import{h as y}from"./index.6d2138d8.js";import{s as B}from"./status.0f05917e.js";import{a as t}from"./calc.1104f430.js";const A=[{value:"1",label:"\u672A\u56DE\u6B3E"},{value:"2",label:"\u90E8\u5206\u56DE\u6B3E"},{value:"3",label:"\u5DF2\u56DE\u6B3E"}],g=[{value:"1",label:"\u672A\u5F00\u7968"},{value:"2",label:"\u5F00\u7968\u4E2D"},{value:"3",label:"\u5DF2\u5F00\u7968"}],N=[{label:"\u5E8F\u53F7",prop:"index"},{label:"\u786E\u8BA4\u5355\u7F16\u7801",prop:"sequenceNo",width:"115px"},{label:"\u9500\u552E\u8BA2\u5355\u4E3B\u7F16\u53F7",prop:"cxCode",width:"115px"},{label:"\u786E\u8BA4\u5355\u4E0B\u5355\u65F6\u95F4",prop:"createdTime",width:"115px"},{label:"\u5BA2\u6237\u540D\u79F0",prop:"customerName"},{label:"\u4E1A\u52A1\u5458\u90E8\u95E8",prop:"department"},{label:"\u4E1A\u52A1\u5458",prop:"ownerName"},{label:"\u4EA7\u54C1\u540D\u79F0",prop:"goodName"},{label:"\u4E0B\u5355\u6570\u91CF",prop:"goodNum"},{label:"\u9500\u552E\u5355\u4EF7",prop:"goodPrice"},{label:"\u9500\u552E\u603B\u989D",prop:"totalPrice",width:90},{label:"\u5DF2\u56DE\u6B3E",prop:"apay_fee",width:90},{label:"\u672A\u56DE\u6B3E",prop:"wpay_fee",width:90},{label:"\u5DF2\u5F00\u7968",prop:"ainv_fee",width:90},{label:"\u672A\u5F00\u7968",prop:"winv_fee",width:90},{label:"\u5F00\u7968\u8FDB\u884C\u4E2D",prop:"inv_fee",width:90},{label:"\u5DF2\u5F00\u7968\u672A\u56DE\u6B3E",prop:"ainv_wpay",width:"110px"},{label:"\u8D26\u671F",prop:"dz_day"},{label:"\u56DE\u6B3E\u72B6\u6001",prop:"pay_status",cellRenderer({row:u}){var e;return((e=A.find(({value:a})=>a===u.pay_status))==null?void 0:e.label)||"--"}},{label:"\u5F00\u7968\u72B6\u6001",prop:"inv_status",cellRenderer({row:u}){var e;return((e=g.find(({value:a})=>a===u.inv_status))==null?void 0:e.label)||"--"}},{label:"\u53D1\u8D27\u72B6\u6001",prop:"sendStatus",cellRenderer({row:u}){var e;return((e=B.find(({value:a})=>a===u.sendStatus))==null?void 0:e.label)||"--"}}],C={title:"",superUserNoAction:!1,maxHeight:"700px",showTitle:!1,columns:N,tableRowClassName({rowIndex:u}){if(u===0)return"warning-row"},handleData(u){const e={index:"\u5408\u8BA1",totalPrice:0,apay_fee:0,wpay_fee:0,ainv_fee:0,winv_fee:0,inv_fee:0,ainv_wpay:0};return u.forEach(a=>{const{totalPrice:o,apay_fee:s,wpay_fee:n,ainv_fee:r,winv_fee:p,inv_fee:i,ainv_wpay:f}=a;e.totalPrice=Number(t(e.totalPrice,o)).toFixed(2),e.apay_fee=Number(t(e.apay_fee,s)).toFixed(2),e.wpay_fee=Number(t(e.wpay_fee,n)).toFixed(2),e.ainv_fee=Number(t(e.ainv_fee,r)).toFixed(2),e.winv_fee=Number(t(e.winv_fee,p)).toFixed(2),e.inv_fee=Number(t(e.inv_fee,i)).toFixed(2),e.ainv_wpay=Number(t(e.ainv_wpay,f)).toFixed(2)}),[e,...u.map((a,o)=>({index:o+1,...a}))]},apis:{httpList:y}};const P=u=>(x("data-v-5e27c73a"),u=u(),D(),u),R={"w-full":""},S={class:"flex justify-between"},k=P(()=>l("h1",{class:"font-700"},"\u8D85\u671F\u5E94\u6536\u8D26\u660E\u7EC6\u8868",-1)),I={class:"font-700"},T=b({__name:"index",setup(u){const e="accountsReceivableExpired",a=E(0);function o(n){a.value=n?n.length:0}const s={content:{result:o}};return(n,r)=>{const p=_("PageContainer"),i=_("PageAuth");return m(),w(i,{pageName:e,style:{"background-color":"#fff"}},{default:c(()=>[l("div",R,[F(p,{contentConfig:d(C),events:s},{content_table_header:c(()=>[l("div",S,[k,l("div",I,"\u5171\u8BA1:"+h(d(a))+" \u6761",1)])]),_:1},8,["contentConfig"])])]),_:1})}}});var q=v(T,[["__scopeId","data-v-5e27c73a"],["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/dashboardCompany/accountsReceivableExpired/index.vue"]]);export{q as default};