import{af as t,db as d,ce as o,a7 as p,_ as F,d as f,cC as B,c9 as _,r as h,o as m,c as v,h as n,y as C,e as D,i as u,d1 as E,d2 as b,a as w}from"./index.js";import{h as g}from"./index.e9c3d7c7.js";const A={formItems:[{field:"invRed",type:"input",placeholder:"\u7EA2\u51B2\u7533\u8BF7\u7F16\u7801",span:6},{field:"invNo",type:"input",placeholder:"\u53D1\u7968\u7533\u8BF7\u7F16\u7801",span:6},{field:"apply_name",type:"input",placeholder:"\u7533\u8BF7\u4EBA",span:4}]},P=[{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:40,align:"center",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\u7801",width:150,prop:"invRed"},{label:"\u7EA2\u51B2\u7533\u8BF7\u6D41\u6C34\u53F7",width:150,prop:"SQBSCQQLSH"},{label:"\u7EA2\u51B2\u7533\u8BF7\u6279\u6B21\u53F7",width:150,prop:"SQBSCQQPCH"},{label:"\u53D1\u7968\u7C7B\u578B",width:160,prop:"FPLXDM",cellRenderer({row:e}){return t(o,null,{default:()=>d.find(({scanValue:a})=>"0"+a===e.FPLXDM).label||"--"})}},{label:"\u539F\u53D1\u7968\u7533\u8BF7\u7F16\u7801",width:150,prop:"invNo"},{label:"\u539F\u53D1\u7968\u53F7\u7801",width:130,prop:"YFPHM"},{label:"\u72B6\u6001",prop:"status",cellRenderer({row:e}){return t(o,null,{default:()=>{var a;return((a=P.find(l=>l.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")}],k={title:"\u7EA2\u5B57\u4E13\u7968\u4FE1\u606F\u8868",columns:S,inv:!0,superUserNoAction:!0,notPreview:!0,apis:{httpList:g}};const y={class:"main role"},R={"w-full":""},x=f({__name:"index",setup(e){const{pageContentRef:a,handleResetClick:l,handleSearchClick:s}=B(),{hasPermissionWithCode:i,permissions:r}=_("redInk");return(N,Q)=>{const c=h("PagePower");return m(),v("div",y,[n(c,{"is-show":u(i)("001")},{default:C(()=>[D("div",R,[n(u(E),{"form-config":u(A),onSearchBtnClick:u(s),onResetBtnClick:u(l)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),n(u(b),{ref_key:"pageContentRef",ref:a,"content-config":u(k),powers:u(r)},null,8,["content-config","powers"])])]),_:1},8,["is-show"]),w(' <OpenDialog ref="openDialogRef" /> ')])}}});var L=F(x,[["__scopeId","data-v-95da2584"],["__file","D:/work/jiesuan/settle-vue3/src/views/InvoiceSales/redInk/index.vue"]]);export{L as default};
