1 |
- import{_ as N,d as F,A as T,E as x,aZ as _,x as a,o as l,c as i,y as t,K as o,u as e,ao as V,a as m,N as A,L as I}from"./index.743f0c80.js";import{u as w}from"./useDetail.50c7b89c.js";import{t as g}from"./_details.5d1563b3.js";import{b as L,c as P}from"./index.cb28f7dd.js";import{B as q}from"./basic-descriptions.e56bd542.js";import{R as K}from"./index.eb1db4ef.js";import U from"./return-form.3f9bd3d1.js";import{I as Z}from"./index.5ce4d23e.js";import"./_opitons.2a65e7c0.js";import"./status.868e86c0.js";import"./index.88e5dbb1.js";import"./tootip.48acd346.js";import"./status.0f757cb5.js";import"./choose-modal.656bb4f4.js";import"./reconciliation.d0aed753.js";import"./invoice-table.da58cc35.js";import"./invoice-form.ddf4fbcb.js";import"./global.9ad647c8.js";import"./invoice.7fa18a6d.js";const j={class:"padding__container"},z={key:0},G=F({__name:"detail",setup(H){const{push:f}=T(),E=x(null),{id:v,isDetail:s,title:p,collapses:n}=w({baseName:"\u91C7\u8D2D\u5F00\u7968",collapseLen:5}),{run:C,data:u}=_({initalData:{}}),{run:D}=_({success:()=>f("/supply/supplyTicketReturn")}),k=()=>C(L({hpNo:v.value})),y=c=>D(P(c));return s.value&&k(),(c,d)=>{const r=a("ElCollapseItem"),b=a("ElCollapse"),B=a("ElTabPane"),R=a("ElTabs");return l(),i("div",j,[t(R,null,{default:o(()=>[t(B,{label:e(p)},{default:o(()=>[t(b,{modelValue:e(n),"onUpdate:modelValue":d[0]||(d[0]=h=>V(n)?n.value=h:null)},{default:o(()=>[t(r,{name:"1",title:e(p)},{default:o(()=>[m(" \u56DE\u7968\u8BE6\u60C5 "),e(s)?(l(),A(e(q),{key:0,columns:e(g),data:e(u)},null,8,["columns","data"])):(l(),i(I,{key:1},[m(" \u521B\u5EFA\u56DE\u7968 "),t(U,{onCreate:y})],2112))]),_:1},8,["title"]),e(s)?(l(),i("div",z,[t(r,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:o(()=>[t(e(K),{ref_key:"formRef",ref:E,readonly:"",id:e(u).payNo},null,8,["id"])]),_:1}),t(r,{name:"3",title:"\u53D1\u7968\u8BE6\u60C5"},{default:o(()=>[t(e(Z),{type:"purchase","inv-number":e(u).invoiceNumber},null,8,["inv-number"])]),_:1})])):m("v-if",!0)]),_:1},8,["modelValue"])]),_:1},8,["label"])]),_:1})])}}});var me=N(G,[["__file","D:/work/accout-vue3-ui/src/views/supply/ticketReturn/detail.vue"]]);export{me as default};
|