index.BPEnXyG-.js 1.0 KB

1
  1. import{i as g}from"./index.BeV-poOC.js";import{G as y}from"./api.DIKvNYnr.js";import{createCrudOptions as v}from"./crud.CmM0m6tE.js";import{h as C}from"./columnPermission.b5Kk2ui9.js";import D from"./index.CYNy6mBL.js";import{_ as h}from"./index.vue_vue_type_script_setup_true_lang.DDI6uycK.js";import{a as p,r as i,q as k,ae as f,E as O,o as R,H as x,G as n,K as w,u as r}from"./vue.D_RgHSVm.js";import"./_plugin-vue_export-helper.DlAUqK2U.js";const B=p({name:"Inventorycount"}),V=p({...B,setup(G){const t=i(),s=i(),{crudBinding:m,crudRef:c,crudExpose:e,crudOptions:u,resetCrudOptions:l}=g({createCrudOptions:o=>v({...o,inventoryDialog:t,inventoryDetailDialog:s})});return k(async()=>{const o=await C(y,u);l(o),e.doRefresh()}),(o,a)=>{const d=f("fs-crud"),_=f("fs-page");return R(),O(_,null,{default:x(()=>[n(d,w({ref_key:"crudRef",ref:c},r(m)),null,16),n(D,{ref_key:"inventoryDialog",ref:t,onCompleted:a[0]||(a[0]=P=>r(e)&&r(e).doRefresh&&r(e).doRefresh())},null,512),n(h,{ref_key:"inventoryDetailDialog",ref:s},null,512)]),_:1})}}});export{V as default};