import{al as a,aO as n,aP as d}from"./index.3f1ca816.js";import{c as i}from"./tootip.1805b3e1.js";const t=[{value:"0",label:"\u672A\u8BBE\u7F6E"},{value:"1",label:"\u5DF2\u8BBE\u7F6E"}],s=[{value:"0",label:"\u975E\u5E93\u5B58"},{value:"1",label:"\u5E93\u5B58"}],F=[{field:"spuCode",span:6,label:"\u5546\u54C1\u7F16\u7801"},{field:"good_name",span:18,label:"\u5546\u54C1\u540D\u79F0"},{field:"is_stock",label:"\u5546\u54C1\u7C7B\u578B",span:6,render(e){return a(n,null,{default:()=>{var u;return(u=s.find(l=>l.value===String(e)))==null?void 0:u.label}})}},{field:"inv_good_name",span:18,label:"\u5F00\u7968\u5546\u54C1\u540D\u79F0"},{field:"companyName",label:"\u4E1A\u52A1\u516C\u53F8\u540D\u79F0",render:(e,{companyNo:u})=>i(e,"\u4E1A\u52A1\u516C\u53F8\u7F16\u7801 : "+u,270),span:12},{field:"supplierName",label:"\u4F9B\u5E94\u5546\u540D\u79F0",render:(e,{supplierNo:u})=>i(e,"\u4F9B\u5E94\u5546\u7F16\u7801 : "+u,270),span:12},{field:"cat_name",span:12,label:"\u5206\u7C7B\u540D\u79F0"},{field:"unit_name",label:"\u5355\u4F4D\u540D\u79F0"},{field:"status",label:"\u662F\u5426\u8BBE\u7F6E\u5F00\u7968\u7C7B\u76EE",render(e){return a(n,null,{default:()=>{var u;return(u=t.find(l=>l.value===String(e)))==null?void 0:u.label}})}},{field:"inv_cat_name",label:"\u7C7B\u76EE\u540D\u79F0",span:12},{field:"inv_cat_code",label:"\u7C7B\u76EE\u7F16\u7801"},{field:"inv_tax",label:"\u7C7B\u76EE\u7A0E\u7387\u989D"},{field:"good_img",label:"\u5546\u54C1\u56FE",span:12,render(e){return e.split(",").map(u=>a(d,{src:u,previewSrcList:[u],style:{height:"20px",marginRight:"5px"}}))}},{field:"creater",label:"\u521B\u5EFA\u4EBA"},{field:"addtime",label:"\u7533\u8BF7\u65F6\u95F4"},{field:"after_sales",span:24,label:"\u552E\u540E\u8BF4\u660E"},{field:"craft_desc",span:24,label:"\u5DE5\u827A\u8BF4\u660E"}];export{t as a,F as g};