import{_ as x,d as C,cU as k,m as i,cl as y,d1 as D,r as a,o as l,A as p,x as t,h as w,u as e,D as A,H as R,a as S}from"./index.aedafc85.js";import{s,c as b}from"./content.config.5ab039a4.js";import{u as B}from"./use-page-search.76f1460d.js";import{h as F}from"./export.443e72b5.js";import"./tootip.f07f52fd.js";import"./createRequset.72613757.js";import"./xlsx.ed122d16.js";const n="logisticsDaily",N=C({__name:"all",setup(P){const{hasPermissionWithCode:u}=k(n),c=i(null),o=y(!1);D(),i(s);const m={pageSearchHook:()=>B(void 0,void 0,s)},f={onSuccess:()=>o.value=!1,onStart:()=>o.value=!0,onFail:()=>o.value=!1};async function _(){const r=c.value.getBasicParams()||{};await F({params:r,...f,isAdmin:!1,name:"\u5907\u5E93\u91C7\u8D2D\u5355.xlsx",fileType:"aplication/x-msexecl",url:"/purchease/purchase/bkexport"})}return(r,E)=>{const g=a("el-button"),h=a("page-container"),d=a("page-auth");return l(),p(d,{"page-name":n},{default:t(()=>[w(h,{hooks:m,"page-name":n,"get-content-ref":v=>c.value=v,"content-config":e(b),"search-config":e(s)},{content_header:t(()=>[e(u)("9")?(l(),p(g,{key:0,onClick:_,size:"small",icon:e(A)("arrow-up-line"),type:"primary"},{default:t(()=>[R("\u5BFC\u51FA")]),_:1},8,["icon"])):S("v-if",!0)]),_:1},8,["get-content-ref","content-config","search-config"])]),_:1})}}});var I=x(N,[["__file","C:/Users/63107/Desktop/projects/report-v3/src/views/time/logisticsDaily/components/all.vue"]]);export{I as default};
