import{al as p,aS as n,ae as _,_ as g,d as y,n as E,r as i,o as m,G as B,C as F,l as w,u as r}from"./index.1d1a5ecb.js";import{h as b}from"./index.ce75be05.js";import{i as a,p as d,t as v}from"./_options.31f08d77.js";import{u as C}from"./use-page-search.f4c305e2.js";const P=[{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:"\u4E70\u65B9\u516C\u53F8\u7F16\u7801",prop:"companyNo",width:150,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=a.find(t=>t.value===e))==null?void 0:u.label},cellRenderer:({row:e})=>p(n,null,{default:()=>{var u;return(u=a.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:"\u672A\u56DE\u7968\u91D1\u989D",prop:"winv_fee",width:110,align:"left"},{label:"\u4ED8\u6B3E\u72B6\u6001",width:110,cellRenderer:({row:e})=>p(n,null,{default:()=>{var u;return(u=d.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:"\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:160,prop:"addtime",formatter:({addtime:e})=>_(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:120,slot:"operation"}],N={title:"\u8BA2\u5355\u5BF9\u8D26\u67E5\u8BE2",columns:P,deleteProp:"payNo",superUserNoAction:!0,apis:{httpList:b},payProps:{prop:"payNo",type:"1"},returnProps:{prop:"payNo",type:"2"}},s={formItems:[{field:"companyNo",type:"input",placeholder:"\u4E70\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:v},{field:"inv_status",type:"select",placeholder:"\u56DE\u7968\u72B6\u6001",options:a},{field:"pay_status",type:"select",placeholder:"\u4ED8\u6B3E\u72B6\u6001",options:d},{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startProp:"startTime",endProp:"endTime",startPlaceholder:"\u5F00\u59CB\u65E5\u671F",endPlaceholder:"\u7ED3\u675F\u65E5\u671F"}}]},x=y({__name:"index",setup(e){const u="supplyOrderRecordQuery",t="/supply/supplyOrderRecordDetail",{push:l}=E(),c={pageSearchHook:()=>C(void 0,void 0,s)},f={content:{preview:({payNo:o})=>l(`${t}?id=${o}&isQuery=1`),create:()=>l(t)}};return(o,A)=>{const h=i("PageContainer"),D=i("PageAuth");return m(),B(D,{pageName:u},{default:F(()=>[w(h,{hooks:c,events:f,"content-config":r(N),"search-config":r(s)},null,8,["content-config","search-config"])]),_:1})}}});var T=g(x,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/supply/orderRecordQuery/index.vue"]]);export{T as default};
