detail.60c61b91.js 997 B

1
  1. import{_ as r,d as m,z as d,af as p,E as _,bo as f,aI as g,F as v,o as C,N as h,u as s}from"./index.743f0c80.js";import B from"./basic-settings.efc3d158.js";import{g as E}from"./configs.5457d001.js";import{b as y}from"./index.86c5ab98.js";import"./basic-descriptions.e56bd542.js";import"./configs.da7a34da.js";const D=m({__name:"detail",setup(S){const{query:n}=d(),i=p(()=>n.id),o=_(null),{hasPermissionWithCode:u}=f("commodityCostDetail"),c=g();async function l(){const{code:a,message:t,data:e}=await y({spuCode:i.value});c({code:a,message:t,handler:()=>o.value=e})}return v(()=>l()),(a,t)=>{var e;return C(),h(B,{title:"\u9500\u552E\u6210\u672C\u7C7B\u76EE\u8BBE\u7F6E","back-route":"/InvoiceSaleSettings/commodityCost","can-change":s(u)("005"),name:(e=o.value)==null?void 0:e.good_name,detail:o.value,columns:s(E)},null,8,["can-change","name","detail","columns"])}}});var F=r(D,[["__file","D:/work/accout-vue3-ui/src/views/InvoiceSaleSettings/commodityCost/detail.vue"]]);export{F as default};