detail.50871afb.js 835 B

1
  1. import{e as i,l as r,U as c,q as m,v as d,o as p,C as _,j as f}from"./index.6ca3d92f.js";import{u as g}from"./use-response-handle.a7e28e5a.js";import C from"./basic-settings.19fa104d.js";import{g as v,d as B}from"./index.39f0bce3.js";import"./remote-select.11fbe9fb.js";import"./basic-descriptions.5eafb55f.js";import"./configs.3e74840e.js";const H=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 B({spuCode:n.value});u({code:t,message:a,handler:()=>o.value=e})}return d(()=>l()),(t,a)=>{var e;return p(),_(C,{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(v)},null,8,["name","detail","columns"])}}});export{H as default};