1 |
- import{aj as r,aF as p,ah as c,_ as d,d as F,aZ as _,x as B,o as f,c as h,y as t,K as m,b as v,u,a_ as C,a$ as E,a as D}from"./index.1417328f.js";import{u as b}from"./use-page-search.7e7b4728.js";import{h as g}from"./index.bc9c1b35.js";const w={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(p,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})=>c(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:g}};const k={class:"main role"},y={"w-full":""},x=F({__name:"index",setup(e){const{pageContentRef:a,handleResetClick:o,handleSearchClick:l}=b(),{hasPermissionWithCode:n,permissions:s}=_("redInk");return(R,N)=>{const i=B("PagePower");return f(),h("div",k,[t(i,{"is-show":u(n)("001")},{default:m(()=>[v("div",y,[t(u(C),{"form-config":u(w),onSearchBtnClick:u(l),onResetBtnClick:u(o)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),t(u(E),{ref_key:"pageContentRef",ref:a,"content-config":u(S),powers:u(s)},null,8,["content-config","powers"])])]),_:1},8,["is-show"]),D(' <OpenDialog ref="openDialogRef" /> ')])}}});var Y=d(x,[["__scopeId","data-v-95da2584"],["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/views/InvoiceSales/redInk/index.vue"]]);export{Y as default};
|