index.6adcbdb2.js 1.3 KB

1
  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 w,x as B,o as r,c as I,l as g,u as n,G as q,a as O}from"./index.88f7d256.js";import A from"./related-order.f27f7654.js";import H from"./receipt-payment.57c62471.js";import{h as L,a as U}from"./index.520d0862.js";import"./configs.006d6615.js";import"./global.9ad647c8.js";import"./sales-modal.0ccc2af3.js";import"./status.2df4810d.js";import"./date-range.b361462b.js";import"./basic-descriptions.5c20357d.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}=w({success:()=>l("/InvoiceSales/capitalClaim")}),v=e=>{f(L({tradNo:a.value,orderArr:e}))};async function _(){const{data:e,message:s,code:C}=await U({tradNo:a.value});p({code:C,message:s,handler:()=>t.value=e})}function h(){!a.value||_()}return B(()=>h()),(e,s)=>(r(),I("div",null,[g(H,{"trade-info":t.value},null,8,["trade-info"]),!n(d)&&n(u)("002")?(r(),q(A,{key:0,"trade-order-list":m.value,onCreateBtnClick:v},null,8,["trade-order-list"])):O("v-if",!0)]))}});var Q=y(V,[["__file","D:/work/accout-vue3-ui2/settle-vue3/src/views/InvoiceSales/capitalClaim/components/claim-detail/index.vue"]]);export{Q as default};