import{_ as F,d as T,n as V,w as x,b3 as _,r as a,o as l,c as u,l as t,C as o,u as e,aq as N,a as r,G as w,F as A}from"./index.1d1a5ecb.js";import{u as g}from"./useDetail.def78081.js";import{h as q,b as I}from"./index.06fba49f.js";import{B as P}from"./basic-descriptions.1879b0f8.js";import{R as U}from"./index.15c50815.js";import j from"./return-form.51ce3a5f.js";import{t as G}from"./ticketReturnRelive.f8c7689f.js";import"./porder.0bfb4ddc.js";import"./index.3b07317f.js";import"./tootip.76f6bcc3.js";import"./status.d6b2a53d.js";import"./choose-modal.700ce083.js";import"./_details.8934beca.js";import"./index.48d04e86.js";import"./date-range.04fa85c1.js";import"./_rules.b6cc96d5.js";import"./ticketReturn.0e254b53.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(),u("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(()=>[r(" \u56DE\u7968\u8BE6\u60C5 "),e(s)?(l(),w(e(P),{key:0,columns:e(G),data:e(m)},null,8,["columns","data"])):(l(),u(A,{key:1},[r(" \u521B\u5EFA\u56DE\u7968\u9000\u7968 "),t(j,{onCreate:D})],2112))]),_:1},8,["title"]),e(s)?(l(),u("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})])):r("v-if",!0)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])}}});var ue=F(H,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/supply/ticketReturnRelive/detail.vue"]]);export{ue as default};
