import{al as a,aS as p,aT as o,ae as E,_ as m,d as D,n as y,r as n,o as B,G as F,C as w,l as b,u as s}from"./index.1d1a5ecb.js";import{h as v}from"./index.ce75be05.js";import{i as l,p as c,t as C}from"./_options.b664a184.js";import{u as x}from"./use-page-search.f4c305e2.js";const N=[{type:"selection",width:40,align:"center",hide:({checkList:e})=>!e.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",minWidth:60,align:"left",hide:({checkList:e})=>!e.includes("\u5E8F\u53F7\u5217")},{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",width:150,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u7F16\u7801",prop:"supplierNo",width:150,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u540D\u79F0",prop:"supplierName",minWidth:180,align:"left"},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u7801",prop:"companyNo",width:150,align:"left"},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180,align:"left"},{label:"\u603B\u989D\u6B3E",prop:"total_fee",width:110,align:"total_fee"},{label:"\u56DE\u7968\u72B6\u6001",width:110,transform:e=>{var u;return(u=l.find(t=>t.value===e))==null?void 0:u.label},cellRenderer:({row:e})=>a(p,null,{default:()=>{var u;return(u=l.find(t=>t.value===String(e.inv_status)))==null?void 0:u.label}})},{label:"\u5DF2\u56DE\u7968\u91D1\u989D",prop:"ainv_fee",width:110,align:"left"},{label:"\u56DE\u7968\u4E2D",prop:"inv_fee",width:110},{label:"\u56DE\u7968\u6807\u7B7E\u91D1\u989D",prop:"inv_tag_fee",width:110,align:"left"},{label:"\u56DE\u7968\u6807\u7B7E\u56FE\u7247",width:"120px",cellRenderer({row:e}){return e.inv_tag_img?a(o,{src:e.inv_tag_img,previewSrcList:[e.inv_tag_img],previewTeleported:!0,style:{height:"20px",width:"20px"}}):null}},{label:"\u56DE\u7968\u6807\u7B7E\u6807\u6CE8",width:"120px",prop:"inv_tag_remark"},{label:"\u672A\u56DE\u7968\u91D1\u989D",prop:"winv_fee",width:110,align:"left"},{label:"\u4ED8\u6B3E\u72B6\u6001",width:110,cellRenderer:({row:e})=>a(p,null,{default:()=>{var u;return(u=c.find(t=>t.value===String(e.pay_status)))==null?void 0:u.label}})},{label:"\u5DF2\u4ED8\u6B3E\u91D1\u989D",prop:"apay_fee",width:110,align:"left"},{label:"\u4ED8\u6B3E\u4E2D\u91D1\u989D",prop:"pay_fee",width:110,align:"left"},{label:"\u4ED8\u6B3E\u6807\u7B7E\u91D1\u989D",prop:"pay_tag_fee",width:110,align:"left"},{label:"\u4ED8\u6B3E\u6807\u7B7E\u56FE\u7247",width:"120px",cellRenderer({row:e}){return e.pay_tag_img?a(o,{src:e.pay_tag_img,previewSrcList:[e.pay_tag_img],previewTeleported:!0,style:{height:"20px",width:"20px"}}):null}},{label:"\u672A\u4ED8\u6B3E\u91D1\u989D",prop:"wpay_fee",width:110,align:"left"},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",width:80,align:"left"},{label:"\u7533\u8BF7\u65F6\u95F4",width:140,prop:"addtime",formatter:({addtime:e})=>E(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:140,slot:"operation"}],P={title:"\u8BA2\u5355\u5BF9\u8D26\u67E5\u8BE2",columns:N,deleteProp:"payNo",superUserNoAction:!0,apis:{httpList:v},payProps:{prop:"payNo",type:"1"},returnProps:{prop:"payNo",type:"2"}},d={formItems:[{field:"supplierNo",type:"input",placeholder:"\u5356\u65B9\u516C\u53F8\u7F16\u7801"},{field:"payNo",type:"input",placeholder:"\u5BF9\u8D26\u7F16\u7801"},{field:"tag_id",type:"select",placeholder:"\u6807\u7B7E\u7C7B\u578B",options:C},{field:"inv_status",type:"select",placeholder:"\u56DE\u7968\u72B6\u6001",options:l},{field:"pay_status",type:"select",placeholder:"\u4ED8\u6B3E\u72B6\u6001",options:c},{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startProp:"startTime",endProp:"endTime",startPlaceholder:"\u5F00\u59CB\u65E5\u671F",endPlaceholder:"\u7ED3\u675F\u65E5\u671F"}}]},S=D({__name:"index",setup(e){const u="orderRecordQuery",t="/purchase/orderRecordDetail",{push:i}=y(),f={pageSearchHook:()=>x(void 0,void 0,d)},h={content:{preview:({payNo:r})=>i(`${t}?id=${r}&isQuery=1`),create:()=>i(t)}};return(r,R)=>{const g=n("PageContainer"),_=n("PageAuth");return B(),F(_,{pageName:u},{default:w(()=>[b(g,{hooks:f,events:h,contentConfig:s(P),"search-config":s(d)},null,8,["contentConfig","search-config"])]),_:1})}}});var Y=m(S,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/purchase/orderRecordQuery/index.vue"]]);export{Y as default};
