import{M as v}from"./index.dfdc0704.js";import{a as F,s as V}from"./system.638e3ebc.js";import{d as y,r as B,c as s,e as h,f as g,h as l,i as u,g as r,m as D,E as b,R as w,S as x,_ as E}from"./index.0308b213.js";import"./index.vue_vue_type_style_index_0_scoped_f00ed21d_lang.2c48f49b.js";import"./vuedraggable.umd.405b1bec.js";import"./index.35b8c9ab.js";import"./index.9e8820cd.js";import"./sort_out.2008c10d.js";import"./pawnRequest.956aeb8a.js";const C=n=>(w("data-v-dac4f469"),n=n(),x(),n),S=C(()=>r("span",null,"\u57FA\u7840\u8BBE\u7F6E",-1)),k={style:{width:"100%",display:"flex","justify-content":"center"}},U=D("\u4FDD\u5B58"),A=y({setup(n){const e=B({address:"",contacts:"",logo:"",phone:"",remarks:"",title:""}),m=()=>{F().then(p=>{e.value=p})};m();const i=()=>{V(e.value).then(p=>{b({message:"\u4FDD\u5B58\u6210\u529F",type:"success"}),m()})};return(p,t)=>{const d=s("el-input"),a=s("el-form-item"),_=s("el-button"),c=s("el-card"),f=s("el-form");return h(),g("div",null,[l(f,{ref:"formRef",model:e.value,"label-width":"180px",size:"default","label-position":"left"},{default:u(()=>[l(c,{shadow:"always","body-style":{padding:"20px"}},{header:u(()=>[S]),default:u(()=>[l(a,{label:"\u5E73\u53F0\u540D\u79F0"},{default:u(()=>[l(d,{modelValue:e.value.title,"onUpdate:modelValue":t[0]||(t[0]=o=>e.value.title=o),placeholder:"\u8F93\u5165\u5E73\u53F0\u540D\u79F0",style:{width:"50%"}},null,8,["modelValue"])]),_:1}),l(a,{label:"\u5E73\u53F0LOGO"},{default:u(()=>[l(v,{modelValue:e.value.logo,"onUpdate:modelValue":t[1]||(t[1]=o=>e.value.logo=o),limit:1,style:{width:"100%"}},null,8,["modelValue"])]),_:1}),l(a,{label:"\u8054\u7CFB\u4EBA"},{default:u(()=>[l(d,{modelValue:e.value.contacts,"onUpdate:modelValue":t[2]||(t[2]=o=>e.value.contacts=o),placeholder:"\u8BF7\u8F93\u5165\u8054\u7CFB\u4EBA",style:{width:"50%"}},null,8,["modelValue"])]),_:1}),l(a,{label:"\u7535\u8BDD"},{default:u(()=>[l(d,{modelValue:e.value.phone,"onUpdate:modelValue":t[3]||(t[3]=o=>e.value.phone=o),placeholder:"\u8BF7\u8F93\u5165\u7535\u8BDD",style:{width:"50%"}},null,8,["modelValue"])]),_:1}),l(a,{label:"\u5730\u5740"},{default:u(()=>[l(d,{modelValue:e.value.address,"onUpdate:modelValue":t[4]||(t[4]=o=>e.value.address=o),placeholder:"\u8BF7\u8F93\u5165\u5730\u5740",style:{width:"50%"}},null,8,["modelValue"])]),_:1}),l(a,{label:"\u5907\u6CE8"},{default:u(()=>[l(d,{modelValue:e.value.remarks,"onUpdate:modelValue":t[5]||(t[5]=o=>e.value.remarks=o),placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8",style:{width:"50%"}},null,8,["modelValue"])]),_:1}),r("div",k,[l(_,{type:"primary",onClick:i,style:{"margin-top":"20rpx"}},{default:u(()=>[U]),_:1})])]),_:1})]),_:1},8,["model"])])}}});const P=E(A,[["__scopeId","data-v-dac4f469"]]);export{P as default};
