1 |
- import{_ as U,d as k,z as V,E as q,af as c,br as m,ai as L,bo as M,F as G,a9 as z,x as s,aA as K,O as Q,u as t,o as p,c as W,y as a,K as e,a as u,N as E,Q as j}from"./index.743f0c80.js";import{a as H}from"./index.52029f71.js";import J from"./approval-pending.c7404cb7.js";import{B as d}from"./basic-descriptions.e56bd542.js";import{h as X,a as Y}from"./index.374ff017.js";import Z from"./receipt-payment.2e486c6a.js";import{C as $}from"./tragelog.16ac9d74.js";import{O as tt,G as at}from"./sale.fe3b5968.js";import"./global.9ad647c8.js";import"./configs.f1e22553.js";import"./tootip.48acd346.js";import"./purchase.7131464f.js";import"./status.868e86c0.js";const et={1:{title:"\u5F85\u5BA1\u6279",component:J}},ot={class:"capital__content","bg-white":""},nt=k({__name:"index",setup(lt){const{query:B}=V(),f=q(["1","2","3","4","5"]),i=c(()=>B.id),N="capitalDetail",{data:o,run:h,loading:A}=m({initalData:{}}),{isSuperUser:g}=L(),{hasPermissionWithCode:b}=M(N),{data:S,run:O}=m({initalData:{}}),{run:P}=m({success:()=>{_()}}),_=()=>{h(X({logNo:i.value}))},x=()=>{O(H({tradNo:C.value}))},r=c(()=>{const{status:n}=o.value;return et[n]}),C=c(()=>{const{tradNo:n}=o.value;return n}),F=n=>{P(Y({logNo:i.value,...n}))};function R(){!i.value||_()}return G(()=>R()),z(()=>C.value&&x()),(n,v)=>{const l=s("ElCollapseItem"),w=s("ElCollapse"),D=s("ElTabPane"),y=s("ElTabs"),I=K("loading");return Q((p(),W("div",ot,[a(y,null,{default:e(()=>[a(D,{label:"\u8BE6\u60C5"},{default:e(()=>[a(w,{modelValue:f.value,"onUpdate:modelValue":v[0]||(v[0]=T=>f.value=T)},{default:e(()=>[a(l,{title:"\u8D44\u91D1\u8BE6\u60C5",name:"1"},{default:e(()=>[a(Z,{"trade-info":t(S)},null,8,["trade-info"])]),_:1}),u(" \u8BE6\u60C5 "),a(l,{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(l,{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(l,{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(g)&&t(b)("025")?(p(),E(l,{key:0,name:"5",title:t(r).title},{default:e(()=>[(p(),E(j(t(r).component),{onChangeStatus:F},null,32))]),_:1},8,["title"])):u("v-if",!0)]),_:1},8,["modelValue"])]),_:1}),a(D,{label:"\u5BA1\u6279\u8BB0\u5F55"})]),_:1})])),[[I,t(A)]])}}});var Et=U(nt,[["__file","D:/work/accout-vue3-ui/src/views/InvoiceSales/capitalClaim/components/capital-detail/index.vue"]]);export{Et as default};
|