index.7d0aa0ca.js 2.6 KB

1
  1. import{_ as k,d as y,m as V,w as q,ag as c,bv as m,ah as L,bs as M,x as G,a0 as j,r as l,aC as H,H as W,u as t,o as p,c as z,l as a,C as e,a as u,G as B,I as J}from"./index.3f1ca816.js";import{a as K}from"./index.cfdf86b7.js";import Q from"./approval-pending.30b46e1d.js";import{B as d}from"./basic-descriptions.78acbb1a.js";import{h as X,a as Y}from"./index.ea8cc409.js";import Z from"./receipt-payment.2f5e0f8d.js";import{C as $}from"./tragelog.2a260772.js";import{O as tt,G as at}from"./sale.cceac1a1.js";import"./global.9ad647c8.js";import"./configs.110ee25c.js";import"./tootip.1805b3e1.js";import"./status.d6b2a53d.js";const et={1:{title:"\u5F85\u5BA1\u6279",component:Q}},ot={class:"capital__content","bg-white":""},st=y({__name:"index",setup(nt){const{query:E}=V(),_=q(["1","2","3","4","5"]),i=c(()=>E.id),h="capitalDetail",{data:o,run:N,loading:g}=m({initalData:{}}),{isSuperUser:A}=L(),{hasPermissionWithCode:b}=M(h),{data:S,run:P}=m({initalData:{}}),{run:x}=m({success:()=>{f()}}),f=()=>{N(X({logNo:i.value}))},I=()=>{P(K({tradNo:C.value}))},r=c(()=>{const{status:s}=o.value;return et[s]}),C=c(()=>{const{tradNo:s}=o.value;return s}),O=s=>{x(Y({logNo:i.value,...s}))};function R(){!i.value||f()}return G(()=>R()),j(()=>C.value&&I()),(s,v)=>{const n=l("ElCollapseItem"),U=l("ElCollapse"),D=l("ElTabPane"),w=l("ElTabs"),F=H("loading");return W((p(),z("div",ot,[a(w,null,{default:e(()=>[a(D,{label:"\u8BE6\u60C5"},{default:e(()=>[a(U,{modelValue:_.value,"onUpdate:modelValue":v[0]||(v[0]=T=>_.value=T)},{default:e(()=>[a(n,{title:"\u8D44\u91D1\u8BE6\u60C5",name:"1"},{default:e(()=>[a(Z,{"trade-info":t(S)},null,8,["trade-info"])]),_:1}),u(" \u8BE6\u60C5 "),a(n,{title:"\u8BA4\u9886\u8D44\u91D1\u8BE6\u60C5",name:"4"},{default:e(()=>[a(t(d),{columns:t($),data:t(o)},null,8,["columns","data"])]),_:1}),u(" \u5173\u8054\u8BA2\u5355 "),a(n,{title:"\u5173\u8054\u8BA2\u5355\u4FE1\u606F",name:"2"},{default:e(()=>[a(t(d),{columns:t(tt),data:t(o).orderinfo?t(o).orderinfo:{}},null,8,["columns","data"])]),_:1}),a(n,{title:"\u5546\u54C1\u4FE1\u606F",name:"3"},{default:e(()=>[a(t(d),{columns:t(at),data:t(o).orderinfo?t(o).orderinfo:{}},null,8,["columns","data"])]),_:1}),u(" \u5BA1\u6838 "),t(r)&&!t(A)&&t(b)("025")?(p(),B(n,{key:0,name:"5",title:t(r).title},{default:e(()=>[(p(),B(J(t(r).component),{onChangeStatus:O},null,32))]),_:1},8,["title"])):u("v-if",!0)]),_:1},8,["modelValue"])]),_:1}),a(D,{label:"\u5BA1\u6279\u8BB0\u5F55"})]),_:1})])),[[F,t(g)]])}}});var Dt=k(st,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/InvoiceSales/capitalClaim/components/capitalDetail/index.vue"]]);export{Dt as default};