moreShopAdmin/dist/admin/assets/details.476aed27.js

2 lines
2.7 KiB
JavaScript
Raw Normal View History

2024-09-03 18:00:11 +08:00
import{C as F,D,F as y}from"./element-plus.4a7d92a3.js";import{P as E}from"./index.bc1a2af8.js";import{b as V}from"./user_ship.8ced3564.js";import"./lodash.9dc701ad.js";import{d,s as n,r as b,Z as x,o as B,c as C,U as l,L as i,u as r}from"./@vue.18505fe0.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.7347fedc.js";import"./axios.4607972f.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";import"./index.b17b0724.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.bb8c34b2.js";import"./color.fbd63fe8.js";import"./clone.31a3aa2c.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.0d2736b7.js";import"./vue-clipboard3.7d5a7a5d.js";import"./clipboard.860a1cea.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";const h={class:"edit-popup"},k=d({name:"userShipDETAILS"}),nt=d({...k,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(w,{expose:f,emit:R}){const c=n(),a=n();b("add");const e=x({id:"",title:"",limit:"",sort:""}),s=async o=>{for(const t in e)o[t]!=null&&o[t]!=null&&(e[t]=o[t])};return f({open:()=>{var o;(o=a.value)==null||o.open()},setFormData:s,getDetail:async o=>{const t=await V({id:o.id});s(t)}}),(o,t)=>{const u=F,m=D,_=y;return B(),C("div",h,[l(E,{ref_key:"popupRef",ref:a,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:i(()=>[l(_,{ref_key:"formRef",ref:c,model:r(e),"label-width":"90px"},{default:i(()=>[l(m,{label:"\u4F1A\u5458\u540D\u79F0",prop:"title"},{default:i(()=>[l(u,{modelValue:r(e).title,"onUpdate:modelValue":t[0]||(t[0]=p=>r(e).title=p),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4F1A\u5458\u540D\u79F0",readonly:!0},null,8,["modelValue"])]),_:1}),l(m,{label:"\u5145\u503C\u91D1\u989D",prop:"limit"},{default:i(()=>[l(u,{modelValue:r(e).limit,"onUpdate:modelValue":t[1]||(t[1]=p=>r(e).limit=p),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5145\u503C\u91D1\u989D",readonly:!0},null,8,["modelValue"])]),_:1}),l(m,{label:"\u6392\u5E8F\u5012\u5E8F",prop:"sort"},{default:i(()=>[l(u,{modelValue:r(e).sort,"onUpdate:modelValue":t[2]||(t[2]=p=>r(e).sort=p),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u6392\u5E8F\u5012\u5E8F",readonly:!0},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});export{nt as default};