1 |
- import{_ as N,d as F,A as T,E as x,b8 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.1417328f.js";import{u as P}from"./useDetail.1c3d5449.js";import{t as g}from"./_details.af0a3d2a.js";import{b as w,c as L}from"./index.28d5e629.js";import{B as U}from"./basic-descriptions.cadaf928.js";import{R as j}from"./index.38882c18.js";import q from"./return-form.5c19d0c2.js";import{I as K}from"./index.82e2a776.js";import"./_opitons.2a65e7c0.js";import"./status.727086c1.js";import"./index.08fe6875.js";import"./tootip.8c37fa8a.js";import"./status.0f757cb5.js";import"./choose-modal.4cbbc2f7.js";import"./reconciliation.53461462.js";import"./invoice-table.cd887915.js";import"./invoice-form.0539c193.js";import"./global.9ad647c8.js";import"./invoice.d2c04353.js";const z={class:"padding__container"},G={key:0},H=F({__name:"detail",setup(J){const{push:f}=T(),C=x(null),{id:E,isDetail:s,title:p,collapses:n}=P({baseName:"\u91C7\u8D2D\u5F00\u7968",collapseLen:5}),{run:v,data:u}=_({initalData:{}}),{run:y}=_({success:()=>f("/supply/supplyTicketReturn")}),D=()=>v(w({hpNo:E.value})),b=c=>y(L(c));return s.value&&D(),(c,d)=>{const r=a("ElCollapseItem"),k=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(k,{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(U),{key:0,columns:e(g),data:e(u)},null,8,["columns","data"])):(l(),i(I,{key:1},[m(" \u521B\u5EFA\u56DE\u7968 "),t(q,{onCreate:b})],2112))]),_:1},8,["title"]),e(s)?(l(),i("div",G,[t(r,{name:"2",title:"\u5BF9\u8D26\u8BE6\u60C5"},{default:o(()=>[t(e(j),{ref_key:"formRef",ref:C,readonly:"",id:e(u).payNo},null,8,["id"])]),_:1}),t(r,{name:"3",title:"\u53D1\u7968\u8BE6\u60C5"},{default:o(()=>[t(e(K),{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(H,[["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/views/supply/ticketReturn/detail.vue"]]);export{me as default};
|