import{_ as B,d as N,aL as y,n as I,w as T,ah as V,b3 as r,r as o,o as c,c as _,l as t,C as a,u as e,aq as x,a as m,G as g}from"./index.56c69f5a.js";import{u as w}from"./useDetail.acb31522.js";import{h as P}from"./index.d4057835.js";import{B as U}from"./basic-descriptions.5f176484.js";import{R as q}from"./index.e077b65d.js";import{I as A}from"./index.ce613775.js";import{t as F}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"./invoice.3cbb6342.js";const L={class:"padding__container"},j={key:0},G=N({__name:"detail",setup(S){y("supplierTicketReturnDetail");const{push:v}=I(),s=T(null);V();const{id:C,isDetail:l,title:p,collapses:u}=w({baseName:"\u901A\u7528\u91C7\u8D2D\u56DE\u7968",collapseLen:5}),{run:D,data:n}=r({initalData:{}});r({success:()=>v("/purchase/ticketReturn")}),r({success:()=>E()});function E(){f(),s.value&&s.value.refresh()}const f=()=>D(P({hpNo:C.value}));return l.value&&f(),(H,d)=>{const i=o("ElCollapseItem"),b=o("ElCollapse"),h=o("ElTabPane"),k=o("ElTabs");return c(),_("div",L,[t(k,null,{default:a(()=>[t(h,{label:e(p)},{default:a(()=>[t(b,{modelValue:e(u),"onUpdate:modelValue":d[0]||(d[0]=R=>x(u)?u.value=R:null)},{default:a(()=>[t(i,{name:"1",title:e(p)},{default:a(()=>[m(" \u56DE\u7968\u8BE6\u60C5 "),e(l)?(c(),g(e(U),{key:0,columns:e(F),data:e(n)},null,8,["columns","data"])):m("v-if",!0)]),_:1},8,["title"]),e(l)?(c(),_("div",j,[t(i,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:a(()=>[t(e(q),{ref_key:"formRef",ref:s,readonly:"",id:e(n).payNo},null,8,["id"])]),_:1}),t(i,{name:"3",title:"\u53D1\u7968\u8BE6\u60C5"},{default:a(()=>[t(e(A),{type:"purchase","inv-number":e(n).invoiceNumber},null,8,["inv-number"])]),_:1})])):m("v-if",!0)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])}}});var se=B(G,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/InvoiceSales/supplierTicketReturn/detail.vue"]]);export{se as default};
