moreShopAdmin/build/admin/assets/add.36555610.js

2 lines
17 KiB
JavaScript

import{T as fe,U as _e,P as ge,Q as be,V as Ve,N as Fe,O as ye,D as Ee,C as ce,v as De,w as ve,G as Ce,b as we,H as Be,F as he,L as Ue,K as ke}from"./element-plus.8e273e86.js";import{_ as Ae}from"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.2b1db9a1.js";import{d as Q,r as F,Z as K,o as v,c as I,U as u,L as t,a as c,u as o,T as P,a9 as H,K as S,R as b,aa as j,S as L,j as G,n as h}from"./@vue.76ce7aa3.js";import{a as qe}from"./vue-router.10bd5b90.js";import{a as Ke}from"./beforehand_order.63041bf0.js";import{a as Ie}from"./system_store.35cdeae1.js";import{b as Pe,a as Se}from"./store_product.e5b4f953.js";import{h as Le}from"./index.3cbb290e.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.9ffef7f8.js";import"./@element-plus.73235148.js";import"./dayjs.0112e2c7.js";import"./@babel.80d29b7b.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.vue_vue_type_script_setup_true_lang.d6032bc4.js";import"./usePaging.f8c888e4.js";import"./useDictOptions.419e74f2.js";import"./lodash.4e6d2a38.js";import"./axios.cffda5ac.js";import"./jspdf.6c61b9d3.js";import"./fflate.0418c72f.js";import"./pinia.f3529286.js";import"./css-color-function.bb8c34b2.js";import"./color.fbd63fe8.js";import"./clone.31a3aa2c.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.b502f541.js";import"./vue-clipboard3.e775fc74.js";import"./clipboard.6417898a.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.8d65305c.js";const Re={class:"flex-1 w-full"},Te={class:"mb-2"},xe=Q({name:"storeProductEdit"}),ku=Q({...xe,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(Ne,{emit:Oe}){const R=F(),a=K({warehouse_id:"",is_buyer:-1,supplier_id:"",code:"",total_price:0,order_type:1,store_id:"",arrival_time:"",purpose:"",tables:0,days:0,chef:"",chef_phone:"",splitting_officer:"",merchandiser:"\u4F55\u6708\u82F1",distribution_personnel:"\u4F59\u53CB",transporter:"",system_store_name:"",regional_manager:"\u5F20\u6CE2",mark:"",uid:"",nickname:"",phone:"",address:""}),Z=async r=>{const e=await Pe({id:r.id,user_id:a.uid});U(r,e)},U=(r,e)=>{r.id=e.id,r.image=e.image,r.marques=e.marques,r.store_info=e.store_info,r.price=e.price,r.purchase=e.purchase,r.after_sales=e.after_sales,r.loss=e.loss,r.unit=e.unit,r.store_name=e.store_name,r.unit_name=e.unit_name,r.status_msg=e.status_msg,r.stock=e.stock,r.gross_weight=e.gross_weight,r.net_weight=e.net_weight,r.package=e.package;const n=[];V.value.forEach(f=>{n.push(f.id)}),n.includes(0)==!1&&V.value.push({id:0})},C=F(!1),V=F([{id:0}]),J=r=>{V.value=V.value.filter(e=>e.id!==r)},W=r=>{r.forEach(e=>{V.value.find(n=>n.id==e.id)||V.value.push(e)}),C.value=!1};function X(r){r.total_price=(r.nums*r.price).toFixed(2),r.total_price>0&&(a.total_price=(parseFloat(a.total_price)+parseFloat(r.total_price)).toFixed(2))}function ee(r){a.order_type==7||a.order_type==5?a.is_buyer=0:a.is_buyer=-1}const ue=qe(),le=async r=>{const e=V.value.map(n=>({product_id:n.id,nums:n.nums,price:n.price||0,purchase:n.purchase||0,total_price:n.total_price||0,marques:n.marques,store_info:n.store_info,after_sales:n.after_sales,loss:n.loss,unit:n.unit,gross_weight:n.gross_weight,net_weight:n.net_weight,package:n.package,mark:n.mark}));await r.validate((n,f)=>{n&&Ke({product_arr:e,...a}).then(d=>{setTimeout(()=>{ue.push({path:"/order/beforehand_order"})},2e3)})})},T=F([]);Ie({page_no:1,page_size:100}).then(r=>{T.value=r.lists});const k=F([]),w=F(!1),A=F(),te=r=>{Se({store_name:r.store_name,product_type:[0,6],is_warehouse:1,order_type:a.order_type,user_id:a.uid}).then(e=>{if(e.count==1){const n=e.lists[0];U(r,n)}e.count>1&&(k.value=e.lists,w.value=!0,A.value=r)})},oe=r=>{r!=null&&(U(A.value,r),w.value=!1,k.value=[],A.value=[])},g=K({}),D=(r,e,n)=>{const f=["id","store_name","nums","marques","package","mark"];if(r.keyCode===38){if(e===0)return;g[e+n].blur(),h(()=>{g[e-1+n].focus()})}if(r.keyCode===40){if(e===V.value.length-1)return;g[e+n].blur(),h(()=>{g[e+1+n].focus()})}if(r.keyCode===37){if(e===0&&n===f[0])return;if(g[e+n].blur(),n===f[0])g[e-1+f[f.length-1]].focus();else{const d=f.findIndex(p=>p===n)-1;h(()=>{g[e+f[d]].focus()})}}if(r.keyCode===39){if(e===V.value.length-1&&n===f[f.length-1])return;if(g[e+n].blur(),n===f[f.length-1])g[e+1+f[0]].focus();else{const d=f.findIndex(p=>p===n)+1;h(()=>{g[e+f[d]].focus()})}}},ae=K({uid:[{required:!0,message:"\u8BF7\u8F93\u5165\u91C7\u8D2D\u7528\u6237",trigger:["blur"]}],store_id:[{required:!0,message:"\u8BF7\u9009\u62E9\u95E8\u5E97",trigger:["blur"]}],arrival_time:[{required:!0,message:"\u8BF7\u9009\u62E9\u5230\u8D27\u65F6\u95F4",trigger:["blur"]}],tables:[{required:!0,message:"\u8BF7\u8F93\u5165\u684C\u6570",trigger:["blur"]}],days:[{required:!0,message:"\u8BF7\u8F93\u5165\u5929\u6570",trigger:["blur"]}],chef:[{required:!0,message:"\u8BF7\u8F93\u5165\u53A8\u5E08",trigger:["blur"]}],chef_phone:[{required:!0,message:"\u8BF7\u8F93\u5165\u53A8\u5E08\u7535\u8BDD",trigger:["blur"]}],purpose:[{required:!0,message:"\u8BF7\u8F93\u5165\u91C7\u8D2D\u76EE\u7684",trigger:["blur"]}],system_store_name:[{required:!0,message:"\u8BF7\u8F93\u5165\u95E8\u5E97\u8054\u7CFB\u4EBA",trigger:["blur"]}],splitting_officer:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u5355\u5458",trigger:["blur"]}],merchandiser:[{required:!0,message:"\u8BF7\u8F93\u5165\u8DDF\u5355\u5458",trigger:["blur"]}],distribution_personnel:[{required:!0,message:"\u8BF7\u8F93\u5165\u4ED3\u7BA1\u5458",trigger:["blur"]}],transporter:[{required:!0,message:"\u8BF7\u8F93\u5165\u8FD0\u8F93\u5458",trigger:["blur"]}],regional_manager:[{required:!0,message:"\u8BF7\u8F93\u5165\u533A\u57DF\u7ECF\u7406",trigger:["blur"]}]}),B=F(!1),x=F([]),re=(r="")=>{B.value=!0,Le({nickname:r,page_size:10}).then(e=>{x.value=e.lists,setTimeout(()=>{B.value=!1},300)}).catch(e=>{setTimeout(()=>{B.value=!1},300)})},ne=()=>{C.value=!0},N=F(0),se=r=>{N.value++};return(r,e)=>{const n=Fe,f=ye,d=Ee,p=fe,m=ce,E=_e,y=ge,O=be,de=Ve,M=De,q=ve,_=Ce,$=we,Y=Be,pe=he,ie=Ae,z=Ue,me=ke;return v(),I(P,null,[u(me,null,{default:t(()=>[e[37]||(e[37]=c("div",{class:"mb-4 text-lg font-bold"},"\u9884\u5B9A\u5355\u6DFB\u52A0",-1)),c("div",null,[u(pe,{ref_key:"formRef",ref:R,model:o(a),"label-width":"90px",inline:!0,rules:o(ae)},{default:t(()=>[u(E,null,{default:t(()=>[u(p,{span:5},{default:t(()=>[u(d,{label:"\u7528\u6237",prop:"nickname"},{default:t(()=>[u(f,{modelValue:o(a).uid,"onUpdate:modelValue":e[0]||(e[0]=l=>o(a).uid=l),filterable:"",remote:"","reserve-keyword":"",placeholder:"\u8F93\u5165\u7528\u6237\u540D\u79F0\u641C\u7D22","remote-show-suffix":"","remote-method":re,loading:o(B),style:{width:"220px"},onChange:se},{default:t(()=>[(v(!0),I(P,null,H(o(x),l=>(v(),S(n,{key:l.id,label:`${l.real_name}|${l.mobile} (ID:${l.id})`,value:l.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","loading"])]),_:1})]),_:1}),u(p,{span:4},{default:t(()=>[u(d,{label:"\u59D3\u540D",prop:"nickname"},{default:t(()=>[u(m,{modelValue:o(a).nickname,"onUpdate:modelValue":e[1]||(e[1]=l=>o(a).nickname=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(p,{span:4},{default:t(()=>[u(d,{label:"\u624B\u673A\u53F7",prop:"phone"},{default:t(()=>[u(m,{modelValue:o(a).phone,"onUpdate:modelValue":e[2]||(e[2]=l=>o(a).phone=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(p,{span:6},{default:t(()=>[u(d,{label:"\u5730\u5740",prop:"address"},{default:t(()=>[u(m,{modelValue:o(a).address,"onUpdate:modelValue":e[3]||(e[3]=l=>o(a).address=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),u(E,null,{default:t(()=>[u(p,{span:12},{default:t(()=>[u(d,{label:"\u8BA2\u5355\u7C7B\u578B",prop:"order_type"},{default:t(()=>[u(O,{modelValue:o(a).order_type,"onUpdate:modelValue":e[4]||(e[4]=l=>o(a).order_type=l),onChange:e[5]||(e[5]=l=>ee())},{default:t(()=>[u(y,{label:1},{default:t(()=>e[25]||(e[25]=[b("\u94FA\u8D27\u8BA2\u5355")])),_:1}),u(y,{label:2},{default:t(()=>e[26]||(e[26]=[b("\u644A\u8D29\u8BA2\u5355")])),_:1}),u(y,{label:3},{default:t(()=>e[27]||(e[27]=[b("\u4E00\u6761\u9F99\u8BA2\u5355")])),_:1}),u(y,{label:5},{default:t(()=>e[28]||(e[28]=[b("\u4ED3\u5E93\u8865\u8D27")])),_:1}),u(y,{label:6},{default:t(()=>e[29]||(e[29]=[b("\u5F80\u671F\u8865\u5355")])),_:1}),u(y,{label:8},{default:t(()=>e[30]||(e[30]=[b("\u5176\u4ED6\u8BA2\u5355")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),u(p,{span:12},{default:t(()=>[u(d,{label:"\u95E8\u5E97",prop:"store_id",style:{width:"300px"}},{default:t(()=>[u(f,{modelValue:o(a).store_id,"onUpdate:modelValue":e[6]||(e[6]=l=>o(a).store_id=l),placeholder:"\u8BF7\u9009\u62E9\u95E8\u5E97",size:"large"},{default:t(()=>[(v(!0),I(P,null,H(o(T),l=>(v(),S(n,{key:l.id,label:l.name,value:l.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),u(E,null,{default:t(()=>[u(p,{span:12},{default:t(()=>[u(d,{label:"\u4E00\u952E\u4E0D\u91C7\u8D2D",prop:"is_buyer"},{default:t(()=>[u(O,{modelValue:o(a).is_buyer,"onUpdate:modelValue":e[7]||(e[7]=l=>o(a).is_buyer=l)},{default:t(()=>[u(y,{label:0},{default:t(()=>e[31]||(e[31]=[b("\u5F85\u5904\u7406")])),_:1}),u(y,{label:-1},{default:t(()=>e[32]||(e[32]=[b("\u4E0D\u91C7\u8D2D")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),u(E,null,{default:t(()=>[u(p,{span:4},{default:t(()=>[u(d,{label:"\u5230\u8D27\u65F6\u95F4",prop:"arrival_time"},{default:t(()=>[u(de,{modelValue:o(a).arrival_time,"onUpdate:modelValue":e[8]||(e[8]=l=>o(a).arrival_time=l),type:"datetime",readonly:!1,clearable:"","value-format":"YYYY-MM-DD HH:mm:ss",placeholder:"\u8BF7\u9009\u62E9\u5230\u8D27\u65F6\u95F4",style:{width:"180px"}},null,8,["modelValue"])]),_:1})]),_:1}),u(p,{span:4},{default:t(()=>[u(d,{label:"\u684C\u6570",prop:"tables"},{default:t(()=>[u(M,{modelValue:o(a).tables,"onUpdate:modelValue":e[9]||(e[9]=l=>o(a).tables=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(p,{span:4},{default:t(()=>[u(d,{label:"\u529E\u4E8B\u5929\u6570",prop:"days"},{default:t(()=>[u(M,{modelValue:o(a).days,"onUpdate:modelValue":e[10]||(e[10]=l=>o(a).days=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(p,{span:4},{default:t(()=>[u(d,{label:"\u53A8\u5E08",prop:"chef"},{default:t(()=>[u(m,{modelValue:o(a).chef,"onUpdate:modelValue":e[11]||(e[11]=l=>o(a).chef=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(p,{span:4},{default:t(()=>[u(d,{label:"\u7535\u8BDD",prop:"chef_phone"},{default:t(()=>[u(m,{modelValue:o(a).chef_phone,"onUpdate:modelValue":e[12]||(e[12]=l=>o(a).chef_phone=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),u(E,null,{default:t(()=>[u(p,{span:12},{default:t(()=>[u(d,{label:"\u5907\u6CE8",prop:"purpose"},{default:t(()=>[u(m,{modelValue:o(a).purpose,"onUpdate:modelValue":e[13]||(e[13]=l=>o(a).purpose=l),type:"input",style:{width:"480px"}},null,8,["modelValue"])]),_:1})]),_:1}),u(p,{span:12},{default:t(()=>[u(d,{label:"\u5185\u90E8\u5907\u6CE8",prop:"mark"},{default:t(()=>[u(m,{modelValue:o(a).mark,"onUpdate:modelValue":e[14]||(e[14]=l=>o(a).mark=l),type:"input",style:{width:"480px"}},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),u(E,null,{default:t(()=>[u(p,{span:4},{default:t(()=>[u(d,{label:"\u5206\u5355\u5458",prop:"splitting_officer"},{default:t(()=>[u(m,{modelValue:o(a).splitting_officer,"onUpdate:modelValue":e[15]||(e[15]=l=>o(a).splitting_officer=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(p,{span:4},{default:t(()=>[u(d,{label:"\u8DDF\u5355\u5458",prop:"merchandiser"},{default:t(()=>[u(m,{modelValue:o(a).merchandiser,"onUpdate:modelValue":e[16]||(e[16]=l=>o(a).merchandiser=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(p,{span:4},{default:t(()=>[u(d,{label:"\u4ED3\u7BA1\u5458",prop:"distribution_personnel"},{default:t(()=>[u(m,{modelValue:o(a).distribution_personnel,"onUpdate:modelValue":e[17]||(e[17]=l=>o(a).distribution_personnel=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(p,{span:4},{default:t(()=>[u(d,{label:"\u8FD0\u8F93\u5458",prop:"transporter"},{default:t(()=>[u(m,{modelValue:o(a).transporter,"onUpdate:modelValue":e[18]||(e[18]=l=>o(a).transporter=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(p,{span:4},{default:t(()=>[u(d,{label:"\u95E8\u5E97\u5458",prop:"system_store_name"},{default:t(()=>[u(m,{modelValue:o(a).system_store_name,"onUpdate:modelValue":e[19]||(e[19]=l=>o(a).system_store_name=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(p,{span:4},{default:t(()=>[u(d,{label:"\u533A\u57DF\u7ECF\u7406",prop:"regional_manager"},{default:t(()=>[u(m,{modelValue:o(a).regional_manager,"onUpdate:modelValue":e[20]||(e[20]=l=>o(a).regional_manager=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),u(d,{label:"\u5546\u54C1",prop:"product_id",class:"w-full"},{default:t(()=>[c("div",Re,[c("div",Te,[u(q,{type:"primary",onClick:e[21]||(e[21]=l=>ne())},{default:t(()=>e[33]||(e[33]=[b("\u6DFB\u52A0\u5546\u54C1")])),_:1})]),u(Y,{data:o(V)},{default:t(()=>[u(_,{label:"\u5546\u54C1ID",prop:"id","show-overflow-tooltip":""},{default:t(({row:l,$index:i})=>[u(m,{modelValue:l.id,"onUpdate:modelValue":s=>l.id=s,onKeydown:j(s=>Z(l),["enter"]),ref:s=>o(g)[i+"id"]=s,onKeyup:s=>D(s,i,"id")},null,8,["modelValue","onUpdate:modelValue","onKeydown","onKeyup"])]),_:1}),u(_,{label:"\u5546\u54C1\u56FE\u7247",prop:"image","min-width":"80"},{default:t(({row:l})=>[u($,{style:{width:"50px",height:"50px"},src:l.image,"preview-teleported":!0},null,8,["src"])]),_:1}),u(_,{label:"\u5546\u54C1\u540D\u79F0",prop:"store_name","show-overflow-tooltip":""},{default:t(({row:l,$index:i})=>[u(m,{modelValue:l.store_name,"onUpdate:modelValue":s=>l.store_name=s,onKeydown:j(s=>te(l),["enter"]),ref:s=>o(g)[i+"store_name"]=s,onKeyup:s=>D(s,i,"store_name")},null,8,["modelValue","onUpdate:modelValue","onKeydown","onKeyup"])]),_:1}),u(_,{label:"\u5355\u4F4D","min-width":"80","show-overflow-tooltip":""},{default:t(({row:l})=>[c("div",null,L(l.unit_name)+"-"+L(l.status_msg),1)]),_:1}),u(_,{label:"\u4ED3\u5E93\u6570\u91CF","min-width":"80","show-overflow-tooltip":"",prop:"stock"}),u(_,{label:"\u6570\u91CF"},{default:t(({row:l,$index:i})=>[u(m,{modelValue:l.nums,"onUpdate:modelValue":s=>l.nums=s,onChange:s=>X(l),ref:s=>o(g)[i+"nums"]=s,onKeyup:s=>D(s,i,"nums")},null,8,["modelValue","onUpdate:modelValue","onChange","onKeyup"])]),_:1}),u(_,{label:"\u4EF7\u683C"},{default:t(({row:l})=>[u(m,{modelValue:l.price,"onUpdate:modelValue":i=>l.price=i,disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),u(_,{label:"\u603B\u4EF7"},{default:t(({row:l})=>[u(m,{modelValue:l.total_price,"onUpdate:modelValue":i=>l.total_price=i,disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),u(_,{label:"\u578B\u53F7"},{default:t(({row:l,$index:i})=>[u(m,{modelValue:l.marques,"onUpdate:modelValue":s=>l.marques=s,ref:s=>o(g)[i+"marques"]=s,onKeyup:s=>D(s,i,"marques")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),u(_,{label:"\u5305\u88C5"},{default:t(({row:l,$index:i})=>[u(m,{modelValue:l.package,"onUpdate:modelValue":s=>l.package=s,ref:s=>o(g)[i+"package"]=s,onKeyup:s=>D(s,i,"package")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),u(_,{label:"\u5907\u6CE8"},{default:t(({row:l,$index:i})=>[u(m,{modelValue:l.mark,"onUpdate:modelValue":s=>l.mark=s,ref:s=>o(g)[i+"mark"]=s,onKeyup:s=>D(s,i,"mark")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),u(_,{label:"\u64CD\u4F5C",width:"120",fixed:"right"},{default:t(({row:l})=>[u(q,{type:"danger",link:"",onClick:i=>J(l.id)},{default:t(()=>e[34]||(e[34]=[b(" \u5220\u9664 ")])),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])])]),_:1}),u(E,null,{default:t(()=>[u(q,{onClick:e[22]||(e[22]=l=>le(o(R))),type:"primary",class:"w-40 ml-20"},{default:t(()=>e[35]||(e[35]=[b("\u63D0\u4EA4")])),_:1}),u(d,{label:"\u603B\u4EF7",prop:"total_price"},{default:t(()=>[c("div",null,[b(L(o(a).total_price)+" ",1),e[36]||(e[36]=c("span",{class:"ml-4"},"\u8BE5\u91D1\u989D\u53EA\u505A\u524D\u53F0\u5C55\u793A,\u540E\u53F0\u4F1A\u4ECE\u65B0\u8BA1\u7B97",-1))])]),_:1})]),_:1})]),_:1},8,["model","rules"])]),u(z,{modelValue:o(C),"onUpdate:modelValue":e[23]||(e[23]=l=>G(C)?C.value=l:null),title:"\u9009\u62E9\u5546\u54C1",width:"70%"},{default:t(()=>[(v(),S(ie,{key:o(N),userId:o(a).uid,order_type:o(a).order_type,onOnBindStore:W},null,8,["userId","order_type"]))]),_:1},8,["modelValue"])]),_:1}),u(z,{modelValue:o(w),"onUpdate:modelValue":e[24]||(e[24]=l=>G(w)?w.value=l:null),title:"\u9009\u62E9\u5546\u54C1",width:"1200"},{default:t(()=>[u(Y,{data:o(k),onCurrentChange:oe,height:300},{default:t(()=>[u(_,{label:"\u5546\u54C1ID",prop:"id","show-overflow-tooltip":""}),u(_,{label:"\u5546\u54C1\u56FE\u7247",prop:"image","min-width":"80"},{default:t(({row:l})=>[u($,{style:{width:"50px",height:"50px"},src:l.image,"preview-teleported":!0},null,8,["src"])]),_:1}),u(_,{label:"\u5546\u54C1\u540D\u79F0",prop:"store_name","min-width":"200","show-overflow-tooltip":""}),u(_,{label:"\u5206\u7C7B",prop:"cate_name","min-width":"120","show-overflow-tooltip":""}),u(_,{label:"\u5355\u4F4D",prop:"unit_name","min-width":"80","show-overflow-tooltip":""}),u(_,{label:"\u5546\u54C1\u4EF7\u683C",prop:"price","min-width":"100","show-overflow-tooltip":""}),u(_,{label:"\u4ED3\u5E93\u5E93\u5B58",prop:"stock","min-width":"100","show-overflow-tooltip":""})]),_:1},8,["data"])]),_:1},8,["modelValue"])],64)}}});export{ku as default};