1 |
- import{_ as F,d as N,n as T,w as V,b2 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.3f1ca816.js";import{u as A}from"./useDetail.ded17831.js";import{b as g,c as q}from"./index.e0c74124.js";import{B as P}from"./basic-descriptions.78acbb1a.js";import{R as U}from"./index.61c4ab3f.js";import j from"./return-form.18c46d29.js";import{I as G}from"./index.21667f14.js";import{t as L}from"./ticketReturn.214155c0.js";import"./porder.d16f24ea.js";import"./index.b8874ffe.js";import"./tootip.1805b3e1.js";import"./status.d6b2a53d.js";import"./choose-modal.b8748d97.js";import"./_details.930f66d0.js";import"./date-range.912a8f3e.js";import"./_options.31f08d77.js";import"./invoice-table.71daa729.js";import"./invoice-form.cc372232.js";import"./global.9ad647c8.js";import"./invoice.225c047c.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")}),b=()=>E(g({hpNo:v.value})),k=c=>D(q(c));return s.value&&b(),(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:k})],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 pe=F(J,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/supply/ticketReturn/detail.vue"]]);export{pe as default};
|