detail.afe8f2fb.js 1.0 KB

1
  1. import{_ as l,d as m,m as d,ag as p,w as _,bs as f,aL as g,x as v,o as C,G as h,u as a}from"./index.0bc83371.js";import B from"./basic-settings.37be8217.js";import{g as y}from"./configs.f04f9973.js";import{b as D}from"./index.2b1c3f90.js";import"./basic-descriptions.10a27b1b.js";import"./tootip.d8389d77.js";import"./verification.611d3025.js";const E=m({__name:"detail",setup(S){const{query:n}=d(),i=p(()=>n.id),o=_(null),{hasPermissionWithCode:u}=f("commodityCostDetail"),c=g();async function r(){const{code:t,message:s,data:e}=await D({spuCode:i.value});c({code:t,message:s,handler:()=>o.value=e})}return v(()=>r()),(t,s)=>{var e;return C(),h(B,{title:"\u9500\u552E\u6210\u672C\u7C7B\u76EE\u8BBE\u7F6E","back-route":"/InvoiceSaleSettings/commodityCost","can-change":a(u)("005"),name:(e=o.value)==null?void 0:e.good_name,detail:o.value,columns:a(y)},null,8,["can-change","name","detail","columns"])}}});var I=l(E,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/InvoiceSaleSettings/commodityCost/detail.vue"]]);export{I as default};