import{_ as V,i as b,r as i,m as x,y as h,a as e,o as w,x as A,w as o,g as r,b0 as y,X as U,B as D,G as I,J as M,__tla as N}from"./index-7d5b26d3.js";import{E as g,__tla as z}from"./el-tree-select-50c86e57.js";import{g as E,__tla as P}from"./index-d0499c4f.js";import{d as R}from"./tree-0af4953a.js";import{u as B,__tla as F}from"./useMessage-c81eaa5b.js";let n,G=Promise.all([(()=>{try{return N}catch{}})(),(()=>{try{return z}catch{}})(),(()=>{try{return P}catch{}})(),(()=>{try{return F}catch{}})()]).then(async()=>{n=V({__name:"UpdateAddress",setup(J,{expose:_}){b(),B(),i(!1);const c=i(!1),a=i({id:0,receiverName:"",receiverMobile:"",receiverAreaId:null,receiverDetailAddress:""}),u=i([]);return _({validateForm:function(){return new Promise((m,l)=>{formRef.value.validate(d=>{d?m(a.value):(y.error("\u8868\u5355\u9A8C\u8BC1\u5931\u8D25"),l(new Error("Validation failed")))})})}}),x(async()=>{u.value=await E()}),(m,l)=>{const d=U,s=D,p=g,f=I,v=M;return h((w(),A(f,{ref:"formRef",model:e(a),"label-width":"120px"},{default:o(()=>[r(s,{label:"\u6536\u4EF6\u4EBA"},{default:o(()=>[r(d,{modelValue:e(a).receiverName,"onUpdate:modelValue":l[0]||(l[0]=t=>e(a).receiverName=t),placeholder:"\u8BF7\u8F93\u5165\u6536\u4EF6\u4EBA\u540D\u79F0"},null,8,["modelValue"])]),_:1}),r(s,{label:"\u624B\u673A\u53F7"},{default:o(()=>[r(d,{modelValue:e(a).receiverMobile,"onUpdate:modelValue":l[1]||(l[1]=t=>e(a).receiverMobile=t),placeholder:"\u8BF7\u8F93\u5165\u6536\u4EF6\u4EBA\u624B\u673A\u53F7"},null,8,["modelValue"])]),_:1}),r(s,{label:"\u6240\u5728\u5730"},{default:o(()=>[r(p,{modelValue:e(a).receiverAreaId,"onUpdate:modelValue":l[2]||(l[2]=t=>e(a).receiverAreaId=t),data:e(u),props:e(R),"render-after-expand":!0},null,8,["modelValue","data","props"])]),_:1}),r(s,{label:"\u8BE6\u7EC6\u5730\u5740"},{default:o(()=>[r(d,{modelValue:e(a).receiverDetailAddress,"onUpdate:modelValue":l[3]||(l[3]=t=>e(a).receiverDetailAddress=t),rows:3,placeholder:"\u8BF7\u8F93\u5165\u6536\u4EF6\u4EBA\u8BE6\u7EC6\u5730\u5740",type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])),[[v,e(c)]])}}},[["__file","D:/zx/mall-newfeifan-zx-business/src/views/mall/trade/order/form/UpdateAddress.vue"]])});export{G as __tla,n as default};
