1 |
- import{u as h,_ as B}from"./use-page-search.726caae6.js";import{P as F}from"./page-content.d948a327.js";import{h as D}from"./index.73dfa195.js";import{ah as l,br as E,bq as C,b8 as g,_ as y,q as b,r as k,H as v,t as w,o as x,n as R,w as n,D as t,x as s,z as A}from"./index.f47bb45b.js";import{s as P}from"./configs.fed68dd6.js";import S from"./payment-list-dialog.8ce26f7b.js";import"./hooks.d7601f5e.js";import"./index.ec081681.js";import"./responseHandle.420c64c5.js";import"./use-response-handle.a0fb8de0.js";import"./payment-table.f358b193.js";import"./index.8f3e7834.js";import"./create-ticket-dialog.3abfbfdd.js";import"./index.6ebeab99.js";import"./user.1398a4e9.js";const N={formItems:[{field:"status",type:"select",placeholder:"\u5BA1\u6838\u72B6\u6001"},{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startPlaceholder:"\u65B0\u5EFA\u8D77\u59CB\u65F6\u95F4",endPlaceholder:"\u65B0\u5EFA\u7ED3\u675F\u65F6\u95F4"}}]},T=[{type:"selection",width:55,hide:({checkList:e})=>!e.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",width:70,hide:({checkList:e})=>!e.includes("\u5E8F\u53F7\u5217")},{label:"\u5BF9\u8D26\u7F16\u53F7",prop:"payNo",width:180},{label:"\u5BF9\u8D26\u56DE\u7968\u7533\u8BF7",prop:"hpNo",width:180},{label:"\u7533\u8BF7\u4EBA\u540D\u79F0",prop:"apply_name",width:120},{label:"\u53D1\u7968\u7C7B\u578B",prop:"invType",width:120},{label:"\u72B6\u6001",prop:"status",width:120,cellRenderer:({row:e,props:u})=>l(E,{size:u.size},{default:()=>P.find(a=>e.status===a.value).label})},{label:"\u8054\u7CFB\u4EBA",prop:"contector"},{label:"\u53D1\u7968\u56FE\u7247",prop:"inv_img",width:100,cellRenderer:({row:e})=>l(C,{src:e.inv_img,previewSrcList:[e.inv_img],previewTeleported:!0})},{label:"\u8FDB\u9879\u8BBE\u7F6E",prop:"input_ticket",width:100,cellRenderer:({row:e})=>String(e.input_ticket)==="1"?"\u91D1\u7A0E":"\u4EBA\u5DE5"},{label:"\u9500\u9879\u8BBE\u7F6E",prop:"out_ticket",width:100,cellRenderer:({row:e})=>String(e.out_ticket)==="1"?"\u91D1\u7A0E":"\u4EBA\u5DE5"},{label:"\u5F00\u7968\u65F6\u95F4",prop:"open_time",width:150,formatter:({createTime:e})=>g(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",slot:"operation",width:60}],Y={title:"\u91C7\u8D2D\u56DE\u7968",statusProp:"companyNo",columns:T,apis:{httpList:D}};const q={class:"main role"},z=A("\u65B0\u5EFA"),H={name:"finance"},I=b({...H,setup(e){const u=k(null),{push:a}=v();function p({timer:o}){const[i,r]=o;return{result:{start:i,end:r},deleteProps:["timer"]}}const{pageContentRef:c,handleResetClick:d,handleSearchClick:m}=h(p);function _(){u.value.onDisplay()}function f({hpNo:o}){a({path:"/purchase/ticketReturnDetail",query:{id:o}})}return(o,i)=>{const r=w("el-button");return x(),R("div",q,[n(t(B),{"form-config":t(N),onSearchBtnClick:t(m),onResetBtnClick:t(d)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),n(t(F),{ref_key:"pageContentRef",ref:c,onPreviewBtnClick:f,"content-config":t(Y)},{create:s(()=>[n(r,{type:"primary",onClick:_},{default:s(()=>[z]),_:1})]),_:1},8,["content-config"]),n(S,{ref_key:"PaymentDialog",ref:u},null,512)])}}});var te=y(I,[["__scopeId","data-v-a5f32020"]]);export{te as default};
|