import{aj as r,aL as c,ah as p,_ as d,d as F,bo as B,x as _,o as f,c as h,y as t,K as m,b as v,u,bp as b,bq as C,a as E}from"./index.743f0c80.js";import{u as D}from"./use-page-search.a895acdb.js";import{h as w}from"./index.398a38e6.js";const g={formItems:[{field:"invRed",type:"input",placeholder:"\u7EA2\u51B2\u7533\u8BF7\u7F16\u53F7",span:6},{field:"invNo",type:"input",placeholder:"\u53D1\u7968\u7533\u8BF7\u7F16\u53F7",span:6},{field:"apply_name",type:"input",placeholder:"\u7533\u8BF7\u4EBA",span:4}]},A=[{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"}],P=[{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:"\u7EA2\u51B2\u7533\u8BF7\u7F16\u53F7",width:130,prop:"invRed"},{label:"\u7EA2\u51B2\u7533\u8BF7\u6D41\u6C34\u53F7",width:130,prop:"SQBSCQQLSH"},{label:"\u7EA2\u51B2\u7533\u8BF7\u6279\u6B21\u53F7",width:130,prop:"SQBSCQQPCH"},{label:"\u53D1\u7968\u7C7B\u578B",width:90,prop:"FPLXDM"},{label:"\u539F\u53D1\u7968\u7533\u8BF7\u7F16\u53F7",width:130,prop:"invNo"},{label:"\u539F\u53D1\u7968\u53F7\u7801",prop:"YFPHM"},{label:"\u72B6\u6001",prop:"status",cellRenderer({row:e}){return r(c,null,{default:()=>{var a;return((a=A.find(o=>o.value===e.status))==null?void 0:a.label)||"--"}})}},{label:"\u521B\u5EFA\u65F6\u95F4",prop:"addtime",formatter:({addtime:e})=>p(e).format("YYYY-MM-DD HH:mm:ss")}],S={title:"\u7EA2\u5B57\u4E13\u7968\u4FE1\u606F\u8868",columns:P,inv:!0,superUserNoAction:!0,notPreview:!0,apis:{httpList:w}};const k={class:"main role"},x={"w-full":""},y=F({__name:"index",setup(e){const{pageContentRef:a,handleResetClick:o,handleSearchClick:l}=D(),{hasPermissionWithCode:n,permissions:s}=B("redInk");return(R,N)=>{const i=_("PagePower");return f(),h("div",k,[t(i,{"is-show":u(n)("001")},{default:m(()=>[v("div",x,[t(u(b),{"form-config":u(g),onSearchBtnClick:u(l),onResetBtnClick:u(o)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),t(u(C),{ref_key:"pageContentRef",ref:a,"content-config":u(S),powers:u(s)},null,8,["content-config","powers"])])]),_:1},8,["is-show"]),E(' ')])}}});var Y=d(y,[["__scopeId","data-v-95da2584"],["__file","D:/work/accout-vue3-ui/src/views/InvoiceSales/redInk/index.vue"]]);export{Y as default};