import{_ as N,d as B,aM as y,p as I,x as T,ai as x,bc as r,r as s,o as c,c as _,l as t,D as a,m as e,ar as V,a as m,G as g,aN as P}from"./index.js";import{u as U}from"./useDetail.748c7288.js";import{h as w}from"./index.80104a95.js";import{R as A}from"./index.79a52a46.js";import{I as F}from"./index.a1a4a0ff.js";import{t as j}from"./ticketReturn.8c918810.js";import"./porder.cb2a60e8.js";import"./orderRecord.bd0f73d4.js";const q={class:"padding__container"},G={key:0},L=B({__name:"detail",setup(M){y("supplierTicketReturnDetail");const{push:v}=I(),l=T(null);x();const{id:D,isDetail:o,title:p,collapses:n}=U({baseName:"\u901A\u7528\u91C7\u8D2D\u56DE\u7968",collapseLen:5}),{run:C,data:u}=r({initalData:{}});r({success:()=>v("/purchase/ticketReturn")}),r({success:()=>E()});function E(){f(),l.value&&l.value.refresh()}const f=()=>C(w({hpNo:D.value}));return o.value&&f(),(z,d)=>{const i=s("ElCollapseItem"),b=s("ElCollapse"),k=s("ElTabPane"),h=s("ElTabs");return c(),_("div",q,[t(h,null,{default:a(()=>[t(k,{label:e(p)},{default:a(()=>[t(b,{modelValue:e(n),"onUpdate:modelValue":d[0]||(d[0]=R=>V(n)?n.value=R:null)},{default:a(()=>[t(i,{name:"1",title:e(p)},{default:a(()=>[m(" \u56DE\u7968\u8BE6\u60C5 "),e(o)?(c(),g(e(P),{key:0,columns:e(j),data:e(u)},null,8,["columns","data"])):m("v-if",!0)]),_:1},8,["title"]),e(o)?(c(),_("div",G,[t(i,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:a(()=>[t(e(A),{ref_key:"formRef",ref:l,readonly:"",id:e(u).payNo},null,8,["id"])]),_:1}),t(i,{name:"3",title:"\u53D1\u7968\u8BE6\u60C5"},{default:a(()=>[t(e(F),{type:"purchase","inv-number":e(u).invoiceNumber},null,8,["inv-number"])]),_:1})])):m("v-if",!0)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])}}});var Z=N(L,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/InvoiceSales/supplierTicketReturn/detail.vue"]]);export{Z as default};
