1 |
- import{_ as h,d as N,z as k,A as D,af as P,aZ as R,ai as x,E as o,aC as S,b3 as B,F as I,o as r,c as q,y as A,u as n,N as U,a as g}from"./index.1417328f.js";import w from"./related-order.941b2d60.js";import E from"./receipt-payment.9e340eb3.js";import{h as H,a as O}from"./index.644f3a37.js";import"./configs.511ce139.js";import"./global.9ad647c8.js";import"./sales-modal.5f0b30c6.js";import"./status.727086c1.js";import"./basic-descriptions.cadaf928.js";const V=N({__name:"index",setup(b){const i="claimDetail",{query:c}=k(),{push:l}=D(),a=P(()=>c.id),{hasPermissionWithCode:u}=R(i),{isSuperUser:d}=x(),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:y}=await O({tradNo:a.value});p({code:y,message:s,handler:()=>t.value=e})}function C(){!a.value||_()}return I(()=>C()),(e,s)=>(r(),q("div",null,[A(E,{"trade-info":t.value},null,8,["trade-info"]),!n(d)||n(u)("002")?(r(),U(w,{key:0,"trade-order-list":m.value,onCreateBtnClick:v},null,8,["trade-order-list"])):g("v-if",!0)]))}});var J=h(V,[["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/views/InvoiceSales/capitalClaim/components/claim-detail/index.vue"]]);export{J as default};
|