import{d as m,b as v,p as _,c as i,e as a,k as o,i as d,f,j as y,m as g,t as b,u as k,F as x,q as B,az as V}from"./index.0308b213.js";const F=m({props:{agentid:{type:Number,default:0},deliveryer_id:{type:Number,default:0}},setup(l){const r=l,s=v({list:[]}),n=u=>V.post("adminapi/deliveryer.deliveryer/selectList",{agentid:r.agentid}).then(t=>{s.list=t});return n(),_(()=>r.agentid,()=>{n()},{immediate:!0}),(u,t)=>{const c=i("el-option"),p=i("el-select");return a(),o(p,{class:"agent-select",modelValue:l.deliveryer_id,"onUpdate:modelValue":t[0]||(t[0]=e=>B(deliveryer_id)?deliveryer_id.value=e:null),placeholder:"\u8BF7\u9009\u62E9\u9A91\u624B",filterable:"",clearable:""},{default:d(()=>[(a(!0),f(x,null,y(k(s).list,(e,h)=>(a(),o(c,{value:e.id,label:e.nickname},{default:d(()=>[g(b(e.nickname),1)]),_:2},1032,["value","label"]))),256))]),_:1},8,["modelValue"])}}});export{F as _};
