import{_ as x,d as C,cp as k,m as i,cl as y,cs as A,r as a,o as l,A as p,x as t,h as D,u as e,D as E,H as S,a as w}from"./index.56449854.js";import{s,c as B}from"./content.config.8e91e814.js";import{u as R}from"./use-page-search.59eb5443.js";import{h as F}from"./export.a2ce61c0.js";import"./tootip.9dcedb27.js";import"./createRequset.56e9fc42.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);A(),i(s);const m={pageSearchHook:()=>R(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:"\u7269\u6D41\u65E5\u62A5\u5E93\u5B58.xlsx",fileType:"aplication/x-msexecl",url:"/purchease/sale/GoodStockEveryDayExport"})}return(r,b)=>{const g=a("el-button"),h=a("page-container"),d=a("page-auth");return l(),p(d,{"page-name":n},{default:t(()=>[D(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(E)("arrow-up-line"),type:"primary"},{default:t(()=>[S("\u5BFC\u51FA")]),_:1},8,["icon"])):w("v-if",!0)]),_:1},8,["get-content-ref","content-config","search-config"])]),_:1})}}});var G=x(N,[["__file","C:/Users/89793/Desktop/projects/report-v3/src/views/time/logisticsDaily/components/all.vue"]]);export{G as default};