import{d as C,r as a,b as h,c,e as g,f as E,g as o,h as e,i as l,t as m,R as w,S as y,_ as v}from"./index.0308b213.js";const B=u=>(w("data-v-b3db72b8"),u=u(),y(),u),f=B(()=>o("div",{class:"section-title"},"\u5546\u54C1\u660E\u7EC6",-1)),D={class:"table-container"},F=C({setup(u,{expose:i}){const n=a(!1);h({source:"",status:"",keyword:""});const p=a([{id:"26554",source:"\u6536\u8D27",status:"\u5728\u552E",category:"\u54C1\u724C\u7BB1\u5305",name:"\u5305\u8FEA\u5965",spec:"\u4E2A",quantity:1,cost_price:4e3,price:6e3},{id:"26555",source:"\u6536\u8D27",status:"\u5728\u552E",category:"\u54C1\u724C\u7BB1\u5305",name:"\u82AC\u8FEA\u5305",spec:"\u4E2A",quantity:1,cost_price:1500,price:3800},{id:"27358",source:"\u6536\u8D27",status:"\u5728\u552E",category:"\u54C1\u724C\u7BB1\u5305",name:"\u8FEA\u5965\u540D\u5305",spec:"\u4E2A",quantity:1,cost_price:2e3,price:5800}]),r=a([]);a();const d=s=>{r.value=s};return i({visible:n}),(s,A)=>{const t=c("el-table-column"),_=c("el-table");return g(),E("div",null,[f,o("div",D,[e(_,{data:p.value,onSelectionChange:d,style:{width:"100%","--el-font-size-base":"10px"}},{default:l(()=>[e(t,{type:"selection",width:"55"}),e(t,{label:"\u5546\u54C1\u7F16\u53F7",prop:"id",width:"100"}),e(t,{label:"\u5546\u54C1\u6765\u6E90",prop:"source",width:"100"}),e(t,{label:"\u5546\u54C1\u72B6\u6001",prop:"status",width:"80"}),e(t,{label:"\u5546\u54C1\u7C7B\u522B",prop:"category",width:"80"}),e(t,{label:"\u540D\u79F0",prop:"name"}),e(t,{label:"\u89C4\u683C",prop:"spec",width:"80",align:"center"}),e(t,{label:"\u6570\u91CF",prop:"quantity",width:"80",align:"center"}),e(t,{label:"\u6210\u672C\u4EF7",prop:"cost_price",width:"80",align:"right"}),e(t,{label:"\u6807\u4EF7",prop:"price",width:"100",align:"right"},{default:l(b=>[o("span",null,"\xA5 "+m(b.row.price||"0.00"),1)]),_:1})]),_:1},8,["data"])])])}}});const S=v(F,[["__scopeId","data-v-b3db72b8"]]);export{S as default};
