detail.59b58bd5.js 754 B

1
  1. import{d as c,A as d,ad as i,F as r,aG as m,G as p,o as _,O as f,u as g}from"./index.881c16e2.js";import B from"./basic-settings.e48365fa.js";import{g as C,d as v}from"./index.0ed2aa79.js";import"./basic-descriptions.fd00e32a.js";import"./configs.a631387a.js";const S=c({__name:"detail",setup(E){const{query:s}=d(),n=i(()=>s.id),o=r(null),u=m();async function l(){const{code:a,message:t,data:e}=await v({spuCode:n.value});u({code:a,message:t,handler:()=>o.value=e})}return p(()=>l()),(a,t)=>{var e;return _(),f(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:g(C)},null,8,["name","detail","columns"])}}});export{S as default};