1 |
- import{_ as k,d as w,n as M,x as V,ah as c,bG as m,ai as q,aM as G,y as L,a0 as j,r as l,aD as H,H as W,m as e,o as p,c as z,l as t,D as a,a as u,aN as d,G as E,I as J}from"./index.js";import{a as K}from"./index.4e61d38f.js";import Q from"./approval-pending.52b17d.js";import{h as X,a as Y}from"./index.f01a7198.js";import Z from"./receipt-payment.1528df.js";import{C as $}from"./tragelog.647eeacd.js";import{O as ee,G as te}from"./sale.ca731a82.js";import"./use-review-process.e3266bf9.js";import"./global.9ad647c8.js";import"./configs.05320623.js";const ae={1:{title:"\u5F85\u5BA1\u6279",component:Q}},oe={class:"capital__content","bg-white":""},se=w({__name:"index",setup(ne){const{query:B}=M(),_=V(["1","2","3","4","5"]),i=c(()=>B.id),N="capitalDetail",{data:o,run:h,loading:g}=m({initalData:{}}),{isSuperUser:A}=q(),{hasPermissionWithCode:S}=G(N),{data:b,run:x}=m({initalData:{}}),{run:P}=m({success:()=>{f()}}),f=()=>{h(X({logNo:i.value}))},I=()=>{x(K({tradNo:C.value}))},r=c(()=>{const{status:s}=o.value;return ae[s]}),C=c(()=>{const{tradNo:s}=o.value;return s}),O=s=>{P(Y({logNo:i.value,...s}))};function R(){!i.value||f()}return L(()=>R()),j(()=>C.value&&I()),(s,D)=>{const n=l("ElCollapseItem"),U=l("ElCollapse"),v=l("ElTabPane"),y=l("ElTabs"),F=H("loading");return W((p(),z("div",oe,[t(y,null,{default:a(()=>[t(v,{label:"\u8BE6\u60C5"},{default:a(()=>[t(U,{modelValue:_.value,"onUpdate:modelValue":D[0]||(D[0]=T=>_.value=T)},{default:a(()=>[t(n,{title:"\u8D44\u91D1\u8BE6\u60C5",name:"1"},{default:a(()=>[t(Z,{"trade-info":e(b)},null,8,["trade-info"])]),_:1}),u(" \u8BE6\u60C5 "),t(n,{title:"\u8BA4\u9886\u8D44\u91D1\u8BE6\u60C5",name:"4"},{default:a(()=>[t(e(d),{columns:e($),data:e(o)},null,8,["columns","data"])]),_:1}),u(" \u5173\u8054\u8BA2\u5355 "),t(n,{title:"\u5173\u8054\u8BA2\u5355\u4FE1\u606F",name:"2"},{default:a(()=>[t(e(d),{columns:e(ee),data:e(o).orderinfo?e(o).orderinfo:{}},null,8,["columns","data"])]),_:1}),t(n,{title:"\u5546\u54C1\u4FE1\u606F",name:"3"},{default:a(()=>[t(e(d),{columns:e(te),data:e(o).orderinfo?e(o).orderinfo:{}},null,8,["columns","data"])]),_:1}),u(" \u5BA1\u6838 "),e(r)&&!e(A)&&e(S)("025")?(p(),E(n,{key:0,name:"5",title:e(r).title},{default:a(()=>[(p(),E(J(e(r).component),{onChangeStatus:O},null,32))]),_:1},8,["title"])):u("v-if",!0)]),_:1},8,["modelValue"])]),_:1}),t(v,{label:"\u5BA1\u6279\u8BB0\u5F55"})]),_:1})])),[[F,e(g)]])}}});var Ce=k(se,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/InvoiceSales/capitalClaim/components/capitalDetail/index.vue"]]);export{Ce as default};
|