import{a as s,c as p}from"./status.0f771e9a.js";import{ac as n,aZ as r}from"./index.js";import{c as d}from"./tootip.51743c5b.js";const o=[{field:"id",label:"\u5546\u54C1ID",span:6},{span:6,label:"\u72B6\u6001",render(l,{status:u}){var e;return n(r,{size:"small",type:((e=s.find(a=>a.value==u))==null?void 0:e.type)||"warning"},{default:()=>{var a;return((a=s.find(i=>i.value==u))==null?void 0:a.label)||"--"}})}},{span:6,field:"apply_name",label:"\u521B\u5EFA\u4EBA"},{span:6,field:"create_time",label:"\u521B\u5EFA\u65F6\u95F4"},{span:12,field:"seller_name",label:"\u9500\u552E\u65B9\u516C\u53F8",render(l,{seller_code:u,seller_name:e}){return d(e,"\u9500\u552E\u65B9\u516C\u53F8\u7F16\u53F7:"+u,300)}},{span:12,field:"buyer_name",label:"\u8D2D\u4E70\u65B9\u516C\u53F8",render(l,{buyer_code:u,buyer_name:e}){return d(e,"\u8D2D\u4E70\u65B9\u516C\u53F8\u7F16\u53F7:"+u,300)}},{span:6,label:"\u5546\u54C1\u6765\u6E90",render(l,{good_source:u}){return u=="1"?"\u91C7\u9500\u5546\u54C1":"\u975E\u91C7\u9500\u5546\u54C1"}},{span:6,label:"\u7EC4\u5408\u7C7B\u578B",render(l,{is_combind:u}){return u=="0"?"\u975E\u7EC4\u5408\u5546\u54C1":"\u7EC4\u5408\u5546\u54C1"}},{span:6,label:"\u5546\u54C1\u7C7B\u578B",render(l,{good_type:u}){return n(r,{size:"small"},{default:()=>{var e;return((e=p.find(a=>a.value==u))==null?void 0:e.label)||"--"}})}},{span:6,label:"\u6210\u672C\u72B6\u6001",render(l,{basic_status:u}){return n(r,{size:"small"},{default:()=>{var e;return((e=t.find(a=>a.value==u))==null?void 0:e.label)||"--"}})}},{span:12,field:"inv_good_name",label:"\u53D1\u7968\u5546\u54C1\u540D\u79F0"},{span:12,field:"goodName",label:"\u8BA2\u5355\u5546\u54C1\u540D\u79F0"},{field:"skuCode",label:"\u5546\u54C1\u7F16\u53F7",span:6},{span:6,field:"unit",label:"\u5355\u4F4D"},{span:6,field:"spec",label:"\u89C4\u683C"},{span:6,label:"\u91CD\u91CF",render(l,{unit_weight:u}){return u+"g"}},{span:6,label:"\u53D1\u7968\u7C7B\u578B",render(l,{inv_type:u}){return u.includes("special")?"\u4E13\u7968":"\u666E\u7968"}},{span:6,field:"subunit_price",label:"\u7A0E\u524D\u5355\u4EF7"},{span:6,field:"unit_price",label:"\u7A0E\u540E\u5355\u4EF7"},{span:6,field:"good_code",label:"\u5546\u54C1\u4EE3\u7801"},{field:"cat_name",label:"\u8FDB\u9879\u7C7B\u76EE",span:12,render(l,{cat_code:u,cat_name:e,short_name:a}){return`${u}-${e}-${a}`}},{label:"\u8FDB\u9879\u7A0E\u7387",span:6,render(l,{cat_tax:u}){return u+"%"}},{span:6,field:"spectral",label:"\u5206\u5149"}],t=[{value:"1",label:"\u771F\u5B9E\u6210\u672C"},{value:"2",label:"\u9884\u4F30\u6210\u672C"}];export{t as b,o as g};
