moreShopAdmin/build/admin/assets/details.b5690618.js

2 lines
1.9 KiB
JavaScript
Raw Normal View History

2024-11-15 19:58:31 +08:00
import{m as d,s as m,r as F,aT as D,p as y,q as E,t as l,v as r,u,aW as V,aX as b,aY as x}from"./.pnpm.1b0299fb.js";import{P as B}from"./index.6c48d0ba.js";import{b as h}from"./user_ship.e5857786.js";import"./lodash.c3b66c05.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.abac7546.js";import"./index.689cfa31.js";import"./@vueuse.72d44d91.js";import"./@vue.9d708d7c.js";const k={class:"edit-popup"},v=d({name:"userShipDETAILS"}),L=d({...v,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(w,{expose:f,emit:C}){const c=m(),n=m();F("add");const t=D({id:"",title:"",limit:"",sort:""}),i=async o=>{for(const e in t)o[e]!=null&&o[e]!=null&&(t[e]=o[e])};return f({open:()=>{var o;(o=n.value)==null||o.open()},setFormData:i,getDetail:async o=>{const e=await h({id:o.id});i(e)}}),(o,e)=>{const s=V,p=b,_=x;return y(),E("div",k,[l(B,{ref_key:"popupRef",ref:n,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:r(()=>[l(_,{ref_key:"formRef",ref:c,model:u(t),"label-width":"90px"},{default:r(()=>[l(p,{label:"\u4F1A\u5458\u540D\u79F0",prop:"title"},{default:r(()=>[l(s,{modelValue:u(t).title,"onUpdate:modelValue":e[0]||(e[0]=a=>u(t).title=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4F1A\u5458\u540D\u79F0",readonly:!0},null,8,["modelValue"])]),_:1}),l(p,{label:"\u5145\u503C\u91D1\u989D",prop:"limit"},{default:r(()=>[l(s,{modelValue:u(t).limit,"onUpdate:modelValue":e[1]||(e[1]=a=>u(t).limit=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5145\u503C\u91D1\u989D",readonly:!0},null,8,["modelValue"])]),_:1}),l(p,{label:"\u6392\u5E8F\u5012\u5E8F",prop:"sort"},{default:r(()=>[l(s,{modelValue:u(t).sort,"onUpdate:modelValue":e[2]||(e[2]=a=>u(t).sort=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u6392\u5E8F\u5012\u5E8F",readonly:!0},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});export{L as default};