import{al as a,aS as i,aT as s}from"./index.1d1a5ecb.js";import{c as d}from"./tootip.76f6bcc3.js";const t=[{value:"0",label:"\u5F85\u91C7\u8D2D\u8BBE\u7F6E\u7A0E\u52A1\u7C7B\u76EE"},{value:"1",label:"\u5F85\u8D22\u52A1\u8BBE\u7F6E\u7A0E\u52A1\u7C7B\u76EE"},{value:"2",label:"\u7A0E\u52A1\u7C7B\u76EE\u8BBE\u7F6E\u5B8C\u6210"}],F=[{value:"0",label:"\u975E\u5E93\u5B58\u5546\u54C1"},{value:"1",label:"\u5E93\u5B58\u5546\u54C1"}],o=[{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,{isZx:u,is_stock:l}){return a(i,null,{default:()=>{var n;return Number(u)==1?"\u53CD\u9988\u5546\u54C1":((n=F.find(({value:E})=>E===String(l)))==null?void 0:n.label)||"--"}})}},{field:"good_img",label:"\u5546\u54C1\u56FE",span:18,render(e){return e.split(",").map(u=>a(s,{src:u,previewSrcList:[u],style:{height:"20px",marginRight:"5px"}}))}},{field:"cgd_inv_good_name",span:24,label:"\u91C7\u8D2D\u5F00\u7968\u5546\u54C1\u540D\u79F0"},{field:"cgd_inv_cat_name",label:"\u91C7\u8D2D\u7C7B\u76EE\u540D\u79F0",span:12},{field:"cgd_inv_cat_code",label:"\u91C7\u8D2D\u7C7B\u76EE\u7F16\u7801"},{field:"cgd_inv_tax",label:"\u91C7\u8D2D\u7C7B\u76EE\u7A0E\u7387\u989D"},{field:"inv_good_name",span:24,label:"\u8D22\u52A1\u5F00\u7968\u5546\u54C1\u540D\u79F0"},{field:"inv_cat_name",label:"\u8D22\u52A1\u7C7B\u76EE\u540D\u79F0",span:12},{field:"inv_cat_code",label:"\u8D22\u52A1\u7C7B\u76EE\u7F16\u7801"},{field:"inv_tax",label:"\u8D22\u52A1\u7C7B\u76EE\u7A0E\u7387\u989D"},{field:"companyName",label:"\u4E1A\u52A1\u516C\u53F8\u540D\u79F0",render:(e,{companyNo:u})=>d(e,"\u4E1A\u52A1\u516C\u53F8\u7F16\u7801 : "+u,270),span:12},{field:"supplierName",label:"\u4F9B\u5E94\u5546\u540D\u79F0",render:(e,{supplierNo:u})=>d(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:"\u72B6\u6001",render(e){return a(i,{type:e==="2"?"success":""},{default:()=>{var u;return(u=t.find(l=>l.value===String(e)))==null?void 0:u.label}})}},{field:"creater",label:"\u521B\u5EFA\u4EBA",span:12},{field:"addtime",label:"\u7533\u8BF7\u65F6\u95F4",span:12},{field:"after_sales",span:24,label:"\u552E\u540E\u8BF4\u660E"},{field:"craft_desc",span:24,label:"\u5DE5\u827A\u8BF4\u660E"}];export{t as a,o as g};
