import{q as f,B as i,a4 as F,r as n,o as g,K as B,H as t,t as o,v as D,aD as V,S as y}from"./index.d8ce26ef.js";const C=y("\u4FDD\u5B58"),x=f({__name:"set-post",emits:["changeStatus"],setup(b,{emit:m}){const p=i(null),e=F({post_company:"",post_code:"",post_fee:""}),d={post_company:[{message:"\u8BF7\u8F93\u5165\u7269\u6D41\u5FEB\u9012\u516C\u53F8",trigger:"change",required:!0}],post_code:[{message:"\u8BF7\u8F93\u5165\u7269\u6D41\u5FEB\u9012\u516C\u53F8",trigger:"change",required:!0}],post_fee:[{message:"\u8BF7\u8F93\u5165\u7269\u6D41\u5FEB\u9012\u516C\u53F8",trigger:"change",required:!0}]},_=()=>p.value.validate(r=>r&&m("changeStatus",e));return(r,u)=>{const s=n("el-input"),l=n("el-form-item"),c=n("el-button");return g(),B(D(V),{ref_key:"formRef",ref:p,"label-width":"150px",rules:d,model:e,size:"small"},{default:t(()=>[o(l,{label:"\u7269\u6D41\u5FEB\u9012\u516C\u53F8",prop:"post_company"},{default:t(()=>[o(s,{modelValue:e.post_company,"onUpdate:modelValue":u[0]||(u[0]=a=>e.post_company=a)},null,8,["modelValue"])]),_:1}),o(l,{label:"\u7269\u6D41\u7F16\u53F7",prop:"post_code"},{default:t(()=>[o(s,{modelValue:e.post_code,"onUpdate:modelValue":u[1]||(u[1]=a=>e.post_code=a)},null,8,["modelValue"])]),_:1}),o(l,{label:"\u7269\u6D41\u8D39",prop:"post_fee"},{default:t(()=>[o(s,{modelValue:e.post_fee,"onUpdate:modelValue":u[2]||(u[2]=a=>e.post_fee=a)},null,8,["modelValue"])]),_:1}),o(l,null,{default:t(()=>[o(c,{type:"primary",onClick:_},{default:t(()=>[C]),_:1})]),_:1})]),_:1},8,["model"])}}});export{x as default};
