import{m as w}from"./pawning.d84bbb72.js";import{_ as x,r as p,p as _,c as n,e as i,f,g as v,h as t,i as r,F as I,j as y,k as S,R as L,S as B}from"./index.0308b213.js";import"./pawnRequest.956aeb8a.js";const D=s=>(L("data-v-92dd6f42"),s=s(),B(),s),F={class:"pawn-form",style:{"min-width":"300px"}},U={class:"form-section"},j=D(()=>v("div",{class:"section-title"},"\u51FA\u5E93\u5355\u4FE1\u606F",-1)),C={props:{formData:Object},emits:["keepInfoForms","getDetail"],setup(s,{emit:b}){const V=s,o=p({input:-1,remark:""}),m=p(),u=p({});return(()=>{w().then(l=>{m.value=l.store,u.value=l.store_name.title})})(),_(()=>V.formData,l=>{o.value=l},{deep:!0,immediate:!0}),_(o,l=>{b("outputInfo",l)},{deep:!0}),(l,a)=>{const c=n("el-input"),d=n("el-form-item"),k=n("el-option"),g=n("el-select"),h=n("el-form");return i(),f("div",F,[v("div",U,[j,t(h,{model:o.value,"label-position":"left","require-asterisk-position":"right",size:"large"},{default:r(()=>[t(d,{label:"\u8C03\u51FA\u95E8\u5E97",class:"disabled"},{default:r(()=>[t(c,{class:"pawn-input",disabled:"",modelValue:u.value,"onUpdate:modelValue":a[0]||(a[0]=e=>u.value=e),placeholder:"\u672C\u5E97"},null,8,["modelValue"])]),_:1}),t(d,{label:"\u8C03\u5165\u95E8\u5E97"},{default:r(()=>[t(g,{class:"pawn-input",modelValue:o.value.input,"onUpdate:modelValue":a[1]||(a[1]=e=>o.value.input=e),placeholder:"\u8BF7\u9009\u62E9\u8C03\u5165\u95E8\u5E97",filterable:"",clearable:""},{default:r(()=>[(i(!0),f(I,null,y(m.value,e=>(i(),S(k,{key:e.id,label:e.title,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(d,{label:"\u5907\u6CE8",style:{"border-bottom":"none"}}),t(d,{style:{"border-bottom":"none"}},{default:r(()=>[t(c,{class:"pawn-textarea",type:"textarea",modelValue:o.value.remark,"onUpdate:modelValue":a[2]||(a[2]=e=>o.value.remark=e),placeholder:"\u6DFB\u52A0\u5907\u6CE8\uFF08\u9009\u586B\uFF09"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])])])}}},A=x(C,[["__scopeId","data-v-92dd6f42"]]);export{A as default};
