2 lines
1.8 KiB
JavaScript
2 lines
1.8 KiB
JavaScript
|
import{F as f}from"./element-plus.9990c39e.js";import{P as l}from"./index.1fdb40b8.js";import{b as u}from"./cashierinfo.14ca2440.js";import{d as s,s as p,r as d,Z as _,o as h,c as x,U as m,L as y,u as D}from"./@vue.18505fe0.js";import"./lodash-es.bdeecbdb.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.ef95d8c0.js";import"./axios.77245e3c.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.9424646f.js";import"./lodash.be6e4bb5.js";import"./vue-router.886c5f5a.js";import"./pinia.a969beab.js";import"./css-color-function.6061d63f.js";import"./color.1580a89c.js";import"./clone.4ed29f58.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.b29ee5e2.js";import"./vue-clipboard3.15c43b43.js";import"./clipboard.4a3580c9.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";const k={class:"edit-popup"},w=s({name:"cashierinfoDETAILS"}),pt=s({...w,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(B,{expose:a,emit:R}){const n=p(),r=p();d("add");const e=_({id:""}),i=async t=>{for(const o in e)t[o]!=null&&t[o]!=null&&(e[o]=t[o])};return a({open:()=>{var t;(t=r.value)==null||t.open()},setFormData:i,getDetail:async t=>{const o=await u({id:t.id});i(o)}}),(t,o)=>{const c=f;return h(),x("div",k,[m(l,{ref_key:"popupRef",ref:r,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:y(()=>[m(c,{ref_key:"formRef",ref:n,model:D(e),"label-width":"90px"},null,8,["model"])]),_:1},512)])}}});export{pt as default};
|