import{u as P}from"./useFormEdit-fb8b8504-1782729249161v=1.0.0.js";import{g as I}from"./orderApi-e08ea9a5-1782729249161v=1.0.0.js";import{b as R,a as q,D as A,_ as M}from"./index-b309bf9f-1782729249161v=1.0.0.js";import{E as N}from"./eleVendor-5008d1ec-1782729249161v=1.0.0.js";import{y as _,r as t,m as V,al as o,z as c,I as d,J as a,R as n,u as r,M as h,A as O,Q as S,a4 as T,F as H,B as Z,O as z}from"./vendor-1e24e3ad-1782729249161v=1.0.0.js";import"./keepAlive-20a782c5-1782729249161v=1.0.0.js";const J={class:"pt20 mt30"},Q=_({name:"orderDetail"}),U=_({...Q,setup(j){const i=t({xs:24,sm:22,md:20,lg:14,xl:23}),f=t({xs:24,sm:24,md:12,lg:12,xl:12}),p=t({xs:24,sm:22,md:18,lg:16,xl:8}),{closeCurrent:y}=P();R();const u=t({}),l=q(),b=t(""),g=t([{key:"type",col:2,label:"\u7C7B\u578B "},{key:"name",col:2,label:"\u540D\u79F0"},{key:"dictTypeSign",col:2,label:"\u5B57\u5178\u6807\u8BC6"},{key:"status",col:2,label:"\u72B6\u6001"},{key:"creatorOrganUnitType",col:2,label:"\u521B\u5EFA\u4EBA"}]),x=t({1:i,2:f,3:p}),v=async m=>{let e=await I(m);if(e.code!==0){N.error(e.msg);return}e.data,u.value={...e.data}};V(()=>{l.query.id&&(b.value=l.query.id,u.value.id=l.query.id,v(l.query.id))});const B=()=>{y()};return(m,e)=>{const k=o("PaCol"),C=o("PaRow"),F=o("el-button"),E=o("el-form-item"),w=o("el-form"),D=o("HZPageLayout");return c(),d(D,{isBack:!0,title:r(l).meta.title},{default:a(()=>[n(w,{model:r(u),ref:"ruleFormRef","label-width":"170px"},{default:a(()=>[h(' <div class="divider mt16 mb28">\u57FA\u672C\u4FE1\u606F</div> '),n(C,null,{default:a(()=>[(c(!0),O(S,null,T(r(g),(s,L)=>(c(),d(k,H({key:L},{ref_for:!0},r(x)[s.col]),{default:a(()=>[n(A,{label:s.label,value:r(u)[s.key],type:s.type,enum:s.enum},null,8,["label","value","type","enum"])]),_:2},1040))),128))]),_:1}),n(E,null,{default:a(()=>[Z("div",J,[n(F,{onClick:B},{default:a(()=>e[0]||(e[0]=[z("\u8FD4\u56DE",-1)])),_:1,__:[0]})])]),_:1})]),_:1},8,["model"])]),_:1},8,["title"])}}});const ee=M(U,[["__scopeId","data-v-b8feed18"]]);export{ee as default};
