index.chH6ceut.js 1.0 KB

1
  1. import{k as y}from"./index.BwY0rYM0.js";import{G as g}from"./api.CL4YMe0Y.js";import{createCrudOptions as v}from"./crud.DyiDHAl9.js";import{h as C}from"./columnPermission.DBs7n1yx.js";import k from"./index.DFs1WZMG.js";import{_ as D}from"./index.vue_vue_type_script_setup_true_lang.X3rlVEdW.js";import{a as m,r as i,q as h,aj as f,J as O,o as R,K as x,S as n,H as w,u as r}from"./vue.D1BjjNmv.js";import"./_plugin-vue_export-helper.DlAUqK2U.js";const B=m({name:"Inventorycount"}),M=m({...B,setup(P){const t=i(),s=i(),{crudBinding:p,crudRef:c,crudExpose:e,crudOptions:u,resetCrudOptions:l}=y({createCrudOptions:o=>v({...o,inventoryDialog:t,inventoryDetailDialog:s})});return h(async()=>{const o=await C(g,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(p)),null,16),n(k,{ref_key:"inventoryDialog",ref:t,onCompleted:a[0]||(a[0]=G=>r(e)&&r(e).doRefresh&&r(e).doRefresh())},null,512),n(D,{ref_key:"inventoryDetailDialog",ref:s},null,512)]),_:1})}}});export{M as default};