1 |
- import{_ as y,d as k,m as x,n as D,ag as N,aL as R,ah as P,w as o,aO as S,bv as B,x as I,o as r,c as g,l as q,u as n,G as w,a as O}from"./index.fd765376.js";import U from"./related-order.46e4d1d6.js";import A from"./receipt-payment.96baab0c.js";import{h as H,a as L}from"./index.d370d888.js";import"./configs.806dabde.js";import"./global.9ad647c8.js";import"./sales-modal.f85c2d76.js";import"./status.0f05917e.js";import"./date-range.03e0d64c.js";import"./basic-descriptions.6db97105.js";const V=k({__name:"index",setup(b){const i="claimDetail",{query:c}=x(),{push:l}=D(),a=N(()=>c.id),{hasPermissionWithCode:u}=R(i),{isSuperUser:d}=P(),m=o([]),t=o({}),p=S(),{run:f}=B({success:()=>l("/InvoiceSales/capitalClaim")}),v=e=>{f(H({tradNo:a.value,orderArr:e}))};async function _(){const{data:e,message:s,code:h}=await L({tradNo:a.value});p({code:h,message:s,handler:()=>t.value=e})}function C(){!a.value||_()}return I(()=>C()),(e,s)=>(r(),g("div",null,[q(A,{"trade-info":t.value},null,8,["trade-info"]),!n(d)&&n(u)("002")?(r(),w(U,{key:0,"trade-order-list":m.value,onCreateBtnClick:v},null,8,["trade-order-list"])):O("v-if",!0)]))}});var Q=y(V,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/InvoiceSales/capitalClaim/components/claim-detail/index.vue"]]);export{Q as default};
|