import{q as i,w as r,a2 as c,B as m,C as d,o as p,K as _,v as f}from"./index.d8ce26ef.js";import{u as g}from"./use-response-handle.e6cae34f.js";import B from"./basic-settings.2a14f758.js";import{g as C,d as v}from"./index.b1f9698b.js";import"./remote-select.0c28bf23.js";import"./basic-descriptions.43c3a1ff.js";import"./configs.a7e7e50a.js";const x=i({__name:"detail",setup(E){const{query:s}=r(),n=c(()=>s.id),o=m(null),u=g();async function l(){const{code:t,message:a,data:e}=await v({spuCode:n.value});u({code:t,message:a,handler:()=>o.value=e})}return d(()=>l()),(t,a)=>{var e;return p(),_(B,{title:"\u9500\u552E\u6210\u672C\u7C7B\u76EE\u8BBE\u7F6E","back-route":"/InvoiceSaleSettings/commodityCost",name:(e=o.value)==null?void 0:e.good_name,detail:o.value,columns:f(C)},null,8,["name","detail","columns"])}}});export{x as default};
