import{_ as F,d as T,n as V,w as x,b3 as _,r as a,o as l,c as r,l as t,C as o,u as e,aq as N,a as u,G as w,F as A}from"./index.56c69f5a.js";import{u as g}from"./useDetail.acb31522.js";import{h as q,b as I}from"./index.db9049bd.js";import{B as P}from"./basic-descriptions.5f176484.js";import{R as U}from"./index.e077b65d.js";import j from"./return-form.fa113b78.js";import{t as G}from"./ticketReturnRelive.c1b6ae1e.js";import"./porder.30193b2b.js";import"./index.2e257471.js";import"./orderRecord.9d7001b8.js";import"./tootip.fe6ea468.js";import"./status.2df4810d.js";import"./calc.850c7422.js";import"./choose-modal.f1ced323.js";import"./_details.8934beca.js";import"./index.d4057835.js";import"./date-range.c3f1dbd6.js";import"./_rules.b6cc96d5.js";import"./ticketReturn.1ed463e4.js";const L={class:"padding__container"},z={key:0},H=T({__name:"detail",setup(J){const{push:f}=V(),C=x(null),{id:E,isDetail:s,title:i,collapses:n}=g({baseName:"\u91C7\u8D2D\u5F00\u7968\u89E3\u9664",collapseLen:5}),{run:v,data:m}=_({initalData:{}}),{run:R}=_({success:()=>f("/supply/supplyTicketReturnRelive")}),k=()=>v(q({returnCode:E.value})),D=p=>R(I(p));return s.value&&k(),(p,c)=>{const d=a("ElCollapseItem"),y=a("ElCollapse"),b=a("ElTabPane"),B=a("ElTabs");return l(),r("div",L,[t(B,null,{default:o(()=>[t(b,{label:e(i)},{default:o(()=>[t(y,{modelValue:e(n),"onUpdate:modelValue":c[0]||(c[0]=h=>N(n)?n.value=h:null)},{default:o(()=>[t(d,{name:"1",title:e(i)},{default:o(()=>[u(" \u56DE\u7968\u8BE6\u60C5 "),e(s)?(l(),w(e(P),{key:0,columns:e(G),data:e(m)},null,8,["columns","data"])):(l(),r(A,{key:1},[u(" \u521B\u5EFA\u56DE\u7968\u9000\u7968 "),t(j,{onCreate:D})],2112))]),_:1},8,["title"]),e(s)?(l(),r("div",z,[t(d,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:o(()=>[t(e(U),{ref_key:"formRef",ref:C,readonly:"",id:e(m).payNo},null,8,["id"])]),_:1})])):u("v-if",!0)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])}}});var ie=F(H,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/supply/ticketReturnRelive/detail.vue"]]);export{ie as default};
