1 |
- import{_ as y,d as N,z as k,A as D,af as R,bo as x,ai as I,E as o,aI as P,br as S,F as B,o as r,c as q,y as w,u as n,N as A,a as b}from"./index.743f0c80.js";import g from"./related-order.1aab7920.js";import E from"./receipt-payment.2e486c6a.js";import{h as H,a as O}from"./index.52029f71.js";import"./configs.f1e22553.js";import"./global.9ad647c8.js";import"./sales-modal.de647fa8.js";import"./status.868e86c0.js";import"./basic-descriptions.e56bd542.js";const U=N({__name:"index",setup(V){const i="claimDetail",{query:c}=k(),{push:l}=D(),a=R(()=>c.id),{hasPermissionWithCode:u}=x(i),{isSuperUser:d}=I(),m=o([]),t=o({}),p=P(),{run:f}=S({success:()=>l("/InvoiceSales/capitalClaim")}),v=e=>{f(H({tradNo:a.value,orderArr:e}))};async function _(){const{data:e,message:s,code:h}=await O({tradNo:a.value});p({code:h,message:s,handler:()=>t.value=e})}function C(){!a.value||_()}return B(()=>C()),(e,s)=>(r(),q("div",null,[w(E,{"trade-info":t.value},null,8,["trade-info"]),!n(d)||n(u)("002")?(r(),A(g,{key:0,"trade-order-list":m.value,onCreateBtnClick:v},null,8,["trade-order-list"])):b("v-if",!0)]))}});var K=y(U,[["__file","D:/work/accout-vue3-ui/src/views/InvoiceSales/capitalClaim/components/claim-detail/index.vue"]]);export{K as default};
|