import{u as c,_ as F}from"./use-page-search.665e4825.js";import{P as d}from"./page-content.c90a59ec.js";import{h as m}from"./index.70af0e5c.js";import{ah as f,aE as _,aX as B,_ as h,q as E,r as v,o as C,n as b,t as o,H as D,p as g,v as u}from"./index.d8ce26ef.js";import{u as A}from"./use-permission.314b29b7.js";import"./basic-form.147ada95.js";import"./global.9ad647c8.js";import"./hooks.3def80f5.js";import"./index.4ed99b91.js";import"./responseHandle.f073653a.js";import"./use-response-handle.e6cae34f.js";const k={formItems:[{field:"invRed",type:"input",placeholder:"\u7EA2\u51B2\u7533\u8BF7\u7F16\u53F7"},{field:"invNo",type:"input",placeholder:"\u539F\u53D1\u7968\u7F16\u53F7"},{field:"apply_name",type:"input",placeholder:"\u7533\u8BF7\u4EBA\u540D\u79F0"}]},w=[{value:"0",label:"\u5F85\u63D0\u4EA4\u7533\u8BF7"},{value:"1",label:"\u7533\u8BF7\u4E2D"},{value:"2",label:"\u5F85\u5F00\u7EA2\u51B2"},{value:"3",label:"\u7EA2\u51B2\u5F00\u7968\u63D0\u4EA4"},{value:"4",label:"\u5F00\u7968\u6210\u529F"},{value:"5",label:"\u63D0\u4EA4\u7533\u8BF7\u5931\u8D25"},{value:"6",label:"\u7533\u8BF7\u6210\u529F\u5F00\u7968\u5931\u8D25"},{value:"7",label:"\u53D6\u6D88\u7533\u8BF7"}],S=[{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:"\u539F\u53D1\u7968\u7533\u8BF7\u7F16\u53F7",prop:"invNo"},{label:"\u7EA2\u51B2\u7533\u8BF7\u7F16\u53F7",prop:"invRed"},{label:"\u7EA2\u51B2\u7533\u8BF7\u6D41\u6C34\u53F7",prop:"SQBSCQQLSH"},{label:"\u7EA2\u51B2\u7533\u8BF7\u6279\u6B21\u53F7",prop:"SQBSCQQPCH"},{label:"\u53D1\u7968\u7C7B\u578B\u4EE3\u7801",prop:"FPLXDM"},{label:"\u72B6\u6001",prop:"status",cellRenderer({row:e}){return f(_,null,{default:()=>{var t;return((t=w.find(a=>a.value===e.status))==null?void 0:t.label)||"--"}})}},{label:"\u521B\u5EFA\u65F6\u95F4",prop:"addtime",formatter:({addtime:e})=>B(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:80,slot:"operation"}],n={title:"\u7EA2\u5B57\u4E13\u7968\u4FE1\u606F\u8868",powers:["001","002","003","004","005","006","007","008"],columns:S,apis:{httpList:m,httpUpdate:!0}};const x={class:"main role"},y={"w-full":""},P=E({__name:"index",setup(e){const{pageContentRef:t,handleResetClick:a,handleSearchClick:s}=c(),{permission:i,contentConfigRef:r}=A({pageName:"redInk",contentConfig:n,callback:l=>n.powers=l});return(l,R)=>{const p=v("PagePower");return C(),b("div",x,[o(p,{"is-show":u(i).list},{default:D(()=>[g("div",y,[o(u(F),{"form-config":u(k),onSearchBtnClick:u(s),onResetBtnClick:u(a)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),o(u(d),{ref_key:"pageContentRef",ref:t,"content-config":u(r)},null,8,["content-config"])])]),_:1},8,["is-show"])])}}});var j=h(P,[["__scopeId","data-v-5fc12eb9"]]);export{j as default};
