ERP-admin/build/admin/assets/details.cf927ca4.js

2 lines
2.4 KiB
JavaScript

import{C as F,D,F as y}from"./element-plus.8c800afc.js";import{P as x}from"./index.d0a14c5a.js";import{a as B}from"./bank.35485b31.js";import"./lodash.be6e4bb5.js";import{d as c,s,r as C,Z as E,o as b,c as k,U as r,L as m,u as a}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.2398c167.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 V={class:"edit-popup"},g=c({name:"bankDETAILS"}),ne=c({...g,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(w,{expose:d,emit:R}){const f=s(),i=s();C("add");const t=E({id:"",name:"",image:""}),l=async o=>{for(const e in t)o[e]!=null&&o[e]!=null&&(t[e]=o[e])};return d({open:()=>{var o;(o=i.value)==null||o.open()},setFormData:l,getDetail:async o=>{const e=await B({id:o.id});l(e)}}),(o,e)=>{const u=F,n=D,_=y;return b(),k("div",V,[r(x,{ref_key:"popupRef",ref:i,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:m(()=>[r(_,{ref_key:"formRef",ref:f,model:a(t),"label-width":"90px"},{default:m(()=>[r(n,{label:"\u94F6\u884C\u540D\u79F0",prop:"name"},{default:m(()=>[r(u,{modelValue:a(t).name,"onUpdate:modelValue":e[0]||(e[0]=p=>a(t).name=p),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u94F6\u884C\u540D\u79F0",readonly:!0},null,8,["modelValue"])]),_:1}),r(n,{label:"\u94F6\u884C\u56FE\u7247",prop:"image"},{default:m(()=>[r(u,{modelValue:a(t).image,"onUpdate:modelValue":e[1]||(e[1]=p=>a(t).image=p),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u94F6\u884C\u56FE\u7247",readonly:!0},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});export{ne as default};