import{af as a,ce as p,cf as r,a7 as _,_ as E,d as D,k as m,r as n,o as y,A as B,y as F,h as w,i as o,cC as b}from"./index.js";import{h as v}from"./index.636458f9.js";import{i as l,p as c,t as C}from"./_options.0dc78b5c.js";const x=[{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(r,{src:e.inv_tag_img,previewSrcList:[e.inv_tag_img],previewTeleported:!0,style:{height:"20px",width:"20px"},"text-key":"91110113MA028K5Y7Y"}):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(r,{src:e.pay_tag_img,previewSrcList:[e.pay_tag_img],previewTeleported:!0,style:{height:"20px",width:"20px"},"text-key":"91110113MA028K5Y7Y"}):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).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:140,slot:"operation"}],N={title:"\u8BA2\u5355\u5BF9\u8D26\u67E5\u8BE2",columns:x,deleteProp:"payNo",superUserNoAction:!0,apis:{httpList:v},payProps:{prop:"payNo",type:"1"},returnProps:{prop:"payNo",type:"2"}},s={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"}}]},P="orderRecordQuery",d="/purchase/orderRecordDetail",k=D({__name:"index",setup(e){const{push:u}=m(),t={pageSearchHook:()=>b(void 0,void 0,s)},f={content:{preview:({payNo:i})=>u(`${d}?id=${i}&isQuery=1`),create:()=>u(d)}};return(i,A)=>{const h=n("PageContainer"),g=n("PageAuth");return y(),B(g,{pageName:P},{default:F(()=>[w(h,{hooks:t,events:f,contentConfig:o(N),"search-config":o(s)},null,8,["contentConfig","search-config"])]),_:1})}}});var T=E(k,[["__file","D:/work/jiesuan/settle-vue3/src/views/supplyNew/orderRecordQuery/index.vue"]]);export{T as default};
