import{_ as F,d as T,p as x,x as N,bc as _,r as o,o as l,c as u,l as t,D as a,m as e,ar as V,a as r,G as A,aN as g,F as w}from"./index.js";import{u as I}from"./useDetail.748c7288.js";import{h as P,b as U}from"./index.d03c0f13.js";import{R as j}from"./index.79a52a46.js";import q from"./return-form.6e58f9.js";import{t as G}from"./ticketReturnRelive.aa2925d6.js";import"./porder.cb2a60e8.js";import"./orderRecord.bd0f73d4.js";import"./choose-modal.3114d1.js";import"./_details.3bafafe5.js";import"./index.80104a95.js";import"./date-range.019e953f.js";import"./_rules.b6cc96d5.js";import"./ticketReturn.8c918810.js";const L={class:"padding__container"},z={key:0},H=T({__name:"detail",setup(J){const{push:f}=x(),C=N(null),{id:E,isDetail:s,title:i,collapses:n}=I({baseName:"\u91C7\u8D2D\u5F00\u7968\u89E3\u9664",collapseLen:5}),{run:v,data:c}=_({initalData:{}}),{run:D}=_({success:()=>f("/supply/supplyTicketReturnRelive")}),R=()=>v(P({returnCode:E.value})),k=m=>D(U(m));return s.value&&R(),(m,p)=>{const d=o("ElCollapseItem"),y=o("ElCollapse"),b=o("ElTabPane"),B=o("ElTabs");return l(),u("div",L,[t(B,null,{default:a(()=>[t(b,{label:e(i)},{default:a(()=>[t(y,{modelValue:e(n),"onUpdate:modelValue":p[0]||(p[0]=h=>V(n)?n.value=h:null)},{default:a(()=>[t(d,{name:"1",title:e(i)},{default:a(()=>[r(" \u56DE\u7968\u8BE6\u60C5 "),e(s)?(l(),A(e(g),{key:0,columns:e(G),data:e(c)},null,8,["columns","data"])):(l(),u(w,{key:1},[r(" \u521B\u5EFA\u56DE\u7968\u9000\u7968 "),t(q,{onCreate:k})],2112))]),_:1},8,["title"]),e(s)?(l(),u("div",z,[t(d,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:a(()=>[t(e(j),{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 le=F(H,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/supply/ticketReturnRelive/detail.vue"]]);export{le as default};
