1 |
- import{_ as h,d as _,n as g,r,o as y,G as B,C as o,j as t,l as e,aS as i,aJ as c,J as l,aV as A}from"./index.js";import{u as F}from"./use-page-search.d8b430d6.js";import{a as k}from"./index.29292458.js";import{a as E}from"./columnRenderHelper.e61d905c.js";import{g as D}from"./status.d3ab78fb.js";const x=[{label:"\u5C01\u5E10\u7F16\u53F7",prop:"fzCode",minWidth:150},{label:"\u8BB0\u5E10\u6708\u4EFD",prop:"fz_date",minWidth:70},{label:"\u4E1A\u52A1\u516C\u53F8\u540D\u79F0",minWidth:160,...E(n=>n.company_code,n=>n.company_name,"\u4E1A\u52A1\u516C\u53F8\u7EB3\u7A0E\u53F7:")},{label:"\u72B6\u6001",minWidth:100},{label:"\u5C01\u88C5\u64CD\u4F5C\u4EBA",prop:"apply_name",minWidth:100},{label:"\u5C01\u88C5\u65F6\u95F4",prop:"create_time",minWidth:120},{label:"\u64CD\u4F5C",fixed:"right",slot:"operation",width:160}],v={columns:x,title:"\u5546\u54C1\u7BA1\u7406",permissions:["007"],apis:{httpList:k,httpAdd:!0}},s={formItems:[{field:"fz_date",type:"date_picker",span:7,otherOptions:{type:"month",placeholder:"\u8BB0\u8D26\u6708\u4EFD",valueFormat:"YYYY-MM",format:"YYYY-MM"}},{field:"goodNo",type:"input",placeholder:"\u5546\u54C1\u7F16\u7801"},{field:"goodType",type:"select",options:D,placeholder:"\u5546\u54C1\u7C7B\u578B"}]},b="productManager",Y=_({__name:"index",setup(n){const p=g(),m={pageSearchHook:()=>F(void 0,void 0,s)},d={content:{preview:a=>p.push(`/invoiceInOut/summaryDetail?data=${JSON.stringify(a)}`)}};async function u(){try{await A.alert("\u662F\u5426\u786E\u8BA4\u5BA1\u6838","\u63D0\u793A",{type:"warning",confirmButtonText:"\u786E\u8BA4",cancelButtonText:"\u53D6\u6D88",showCancelButton:!0})}catch(a){console.error("\u72B6\u6001\u53D8\u66F4\u5931\u8D25:",a)}}return(a,w)=>{const C=r("PageContainer"),f=r("PageAuth");return y(),B(f,{pageName:b},{default:o(()=>[t(C,{hooks:m,events:d,searchConfig:e(s),contentConfig:e(v)},{content_action:o(()=>[t(e(i),{content:"\u5BA1\u6279\u901A\u8FC7",placement:"top"},{default:o(()=>[t(e(c),{link:"",size:"small",type:"primary",onClick:u,icon:e(l)("checkbox-circle-line")},null,8,["icon"])]),_:1}),t(e(i),{content:"\u6539\u4E3A\u672A\u5C01\u8D26",placement:"top"},{default:o(()=>[t(e(c),{link:"",size:"small",type:"primary",onClick:u,icon:e(l)("close-circle-line")},null,8,["icon"])]),_:1}),t(e(i),{content:"\u89E3\u9664\u5C01\u8D26",placement:"top"},{default:o(()=>[t(e(c),{link:"",size:"small",type:"primary",onClick:u,icon:e(l)("link")},null,8,["icon"])]),_:1}),t(e(i),{content:"\u6539\u4E3A\u5F85\u5BA1\u6279",placement:"top"},{default:o(()=>[t(e(c),{link:"",size:"small",type:"primary",onClick:u,icon:e(l)("compass")},null,8,["icon"])]),_:1})]),_:1},8,["searchConfig","contentConfig"])]),_:1})}}});var N=h(Y,[["__file","C:/Users/89793/Desktop/projects/ticket-system/src/views/invoiceInOut/summary/index.vue"]]);export{N as default};
|