import{_ as F,d as N,n as T,w as V,b3 as _,r as a,o as l,c as i,l as t,C as o,u as e,aq as x,a as m,G as I,F as w}from"./index.56c69f5a.js";import{u as A}from"./useDetail.acb31522.js";import{h as g,d as q}from"./index.d4057835.js";import{B as P}from"./basic-descriptions.5f176484.js";import{R as U}from"./index.e077b65d.js";import j from"./return-form.8899da7f.js";import{I as G}from"./index.ce613775.js";import{t as L}from"./ticketReturn.1ed463e4.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.c81dd5d9.js";import"./_details.930f66d0.js";import"./date-range.c3f1dbd6.js";import"./_options.31f08d77.js";import"./invoice-table.e6046128.js";import"./invoice-form.52fff5df.js";import"./global.9ad647c8.js";import"./invoice.3cbb6342.js";const z={class:"padding__container"},H={key:0},J=N({__name:"detail",setup(K){const{push:f}=T(),C=V(null),{id:v,isDetail:s,title:p,collapses:n}=A({baseName:"\u91C7\u8D2D\u5F00\u7968",collapseLen:5}),{run:E,data:r}=_({initalData:{}}),{run:D}=_({success:()=>f("/supply/supplyTicketReturn")}),k=()=>E(g({hpNo:v.value})),b=c=>D(q(c));return s.value&&k(),(c,d)=>{const u=a("ElCollapseItem"),y=a("ElCollapse"),B=a("ElTabPane"),R=a("ElTabs");return l(),i("div",z,[t(R,null,{default:o(()=>[t(B,{label:e(p)},{default:o(()=>[t(y,{modelValue:e(n),"onUpdate:modelValue":d[0]||(d[0]=h=>x(n)?n.value=h:null)},{default:o(()=>[t(u,{name:"1",title:e(p)},{default:o(()=>[m(" \u56DE\u7968\u8BE6\u60C5 "),e(s)?(l(),I(e(P),{key:0,columns:e(L),data:e(r)},null,8,["columns","data"])):(l(),i(w,{key:1},[m(" \u521B\u5EFA\u56DE\u7968 "),t(j,{onCreate:b})],2112))]),_:1},8,["title"]),e(s)?(l(),i("div",H,[t(u,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:o(()=>[t(e(U),{ref_key:"formRef",ref:C,readonly:"",id:e(r).payNo},null,8,["id"])]),_:1}),t(u,{name:"3",title:"\u53D1\u7968\u8BE6\u60C5"},{default:o(()=>[t(e(G),{type:"purchase","inv-number":e(r).invoiceNumber},null,8,["inv-number"])]),_:1})])):m("v-if",!0)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])}}});var de=F(J,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/supply/ticketReturn/detail.vue"]]);export{de as default};
