import{_ as F,d as T,k as V,n as x,cB as _,r as o,o as l,c as u,h as t,y as a,i as e,ak as A,a as r,A as N,ca as w,F as g}from"./index.js";import{u as I}from"./useDetail.da468487.js";import{h as P,b as j}from"./index.dd3bcd78.js";import{R as q}from"./index.6004c99e.js";import L from"./return-form.35ca04.js";import{t as U}from"./ticketReturnRelive.1639dbbe.js";import"./porder.827c74bc.js";import"./orderRecord.92bbc10f.js";import"./choose-modal.4986ea.js";import"./_details.3bafafe5.js";import"./index.9c129b93.js";import"./_rules.b6cc96d5.js";import"./ticketReturn.e53d6b17.js";const z={class:"padding__container"},G={key:0},H=T({__name:"detail",setup(J){const{push:f}=V(),C=x(null),{id:E,isDetail:s,title:i,collapses:n}=I({baseName:"\u91C7\u8D2D\u5F00\u7968\u89E3\u9664",collapseLen:5}),{run:k,data:c}=_({initalData:{}}),{run:v}=_({success:()=>f("/supply/supplyTicketReturnRelive")}),R=()=>k(P({returnCode:E.value})),D=m=>v(j(m));return s.value&&R(),(m,p)=>{const d=o("ElCollapseItem"),y=o("ElCollapse"),B=o("ElTabPane"),b=o("ElTabs");return l(),u("div",z,[t(b,null,{default:a(()=>[t(B,{label:e(i)},{default:a(()=>[t(y,{modelValue:e(n),"onUpdate:modelValue":p[0]||(p[0]=h=>A(n)?n.value=h:null)},{default:a(()=>[t(d,{name:"1",title:e(i)},{default:a(()=>[r(" \u56DE\u7968\u8BE6\u60C5 "),e(s)?(l(),N(e(w),{key:0,columns:e(U),data:e(c)},null,8,["columns","data"])):(l(),u(g,{key:1},[r(" \u521B\u5EFA\u56DE\u7968\u9000\u7968 "),t(L,{onCreate:D})],2112))]),_:1},8,["title"]),e(s)?(l(),u("div",G,[t(d,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:a(()=>[t(e(q),{ref_key:"formRef",ref:C,readonly:"",id:e(c).payNo},null,8,["id"])]),_:1})])):r("v-if",!0)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])}}});var oe=F(H,[["__file","D:/work/jiesuan/settle-vue3/src/views/supply/ticketReturnRelive/detail.vue"]]);export{oe as default};
