1 |
- import{am as n,bO as p,aR as o,ae as d,_ as F,d as f,bd as B,aM as _,r as h,o as m,c as v,l as t,D as b,h as C,m as u,bE as D,bF as E,a as g}from"./index.js";import{h as w}from"./index.288fc1c2.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 n(o,null,{default:()=>p.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 n(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})=>d(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:w}};const R={class:"main role"},y={"w-full":""},x=f({__name:"index",setup(e){const{pageContentRef:a,handleResetClick:l,handleSearchClick:s}=B(),{hasPermissionWithCode:i,permissions:r}=_("redInk");return(M,N)=>{const c=h("PagePower");return m(),v("div",R,[t(c,{"is-show":u(i)("001")},{default:b(()=>[C("div",y,[t(u(D),{"form-config":u(A),onSearchBtnClick:u(s),onResetBtnClick:u(l)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),t(u(E),{ref_key:"pageContentRef",ref:a,"content-config":u(k),powers:u(r)},null,8,["content-config","powers"])])]),_:1},8,["is-show"]),g(' <OpenDialog ref="openDialogRef" /> ')])}}});var I=F(x,[["__scopeId","data-v-95da2584"],["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/InvoiceSales/redInk/index.vue"]]);export{I as default};
|