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

2 lines
18 KiB
JavaScript

import{S as me,T as fe,G as _e,H as ge,U as Ve,J as be,K as ye,D as Fe,C as Ee,v as De,w as ce,M as Ce,b as we,N as he,F as ve,I as Be,L as Ue}from"./element-plus.91c68cc0.js";import{_ as ke}from"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.db9144b4.js";import{d as G,s as Ke,Z as q,r as F,o as c,c as I,U as u,L as o,a as C,u as a,T as P,a9 as H,K as S,R as V,aa as j,S as Ae,j as x,n as B}from"./@vue.76ce7aa3.js";import{a as qe}from"./vue-router.10bd5b90.js";import{a as Ie}from"./beforehand_order.a2f89821.js";import{a as Pe}from"./system_store.b07853da.js";import{b as Se,a as Re}from"./store_product.7b6bf041.js";import{h as Le}from"./index.fed11296.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.863ae816.js";import"./usePaging.f8c888e4.js";import"./useDictOptions.45f415a8.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 Te={class:"flex-1 w-full"},Me={class:"mb-2"},Ne=G({name:"storeProductEdit"}),Ku=G({...Ne,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(Oe,{emit:Ye}){const J=Ke(),r=q({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 n=>{const e=await Se({id:n.id,is_show:1,user_id:r.uid});U(n,e)},U=(n,e)=>{n.id=e.id,n.image=e.image,n.marques=e.marques,n.store_info=e.store_info,n.price=e.price,n.purchase=e.purchase,n.after_sales=e.after_sales,n.loss=e.loss,n.unit=e.unit,n.store_name=e.store_name,n.unit_name=e.unit_name,n.gross_weight=e.gross_weight,n.net_weight=e.net_weight,n.package=e.package;const f=[];y.value.forEach(g=>{f.push(g.id)}),f.includes(0)==!1&&y.value.push({id:0})},w=F(!1),y=F([{id:0}]),Q=n=>{y.value=y.value.filter(e=>e.id!==n)},W=n=>{n.forEach(e=>{y.value.find(f=>f.id==e.id)||y.value.push(e)}),w.value=!1};function X(n){n.total_price=(n.nums*n.price).toFixed(2),n.total_price>0&&(r.total_price=(parseFloat(r.total_price)+parseFloat(n.total_price)).toFixed(2))}function $(n){r.order_type==7||r.order_type==5?r.is_buyer=1:r.is_buyer=-1}const ee=qe(),ue=async()=>{const n=y.value.map(e=>({product_id:e.id,nums:e.nums,price:e.price||0,purchase:e.purchase||0,total_price:e.total_price||0,marques:e.marques,store_info:e.store_info,after_sales:e.after_sales,loss:e.loss,unit:e.unit,gross_weight:e.gross_weight,net_weight:e.net_weight,package:e.package,mark:e.mark}));Ie({product_arr:n,...r}).then(e=>{setTimeout(()=>{ee.push({path:"/order/beforehand_order"})},2e3)})},R=F([]);Pe({page_no:1,page_size:100}).then(n=>{R.value=n.lists});const k=F([]),h=F(!1),K=F(),le=n=>{Re({store_name:n.store_name,product_type:0,is_warehouse:1,user_id:r.uid,is_show:1}).then(e=>{if(e.count==1){const f=e.lists[0];U(n,f)}e.count>1&&(k.value=e.lists,h.value=!0,K.value=n)})},oe=n=>{n!=null&&(U(K.value,n),h.value=!1,k.value=[],K.value=[])},_=q({}),b=(n,e,f)=>{const g=["id","store_name","nums","marques","gross_weight","net_weight","store_info","after_sales","loss","package","mark"];if(n.keyCode===38){if(e===0)return;_[e+f].blur(),B(()=>{_[e-1+f].focus()})}if(n.keyCode===40){if(e===y.value.length-1)return;_[e+f].blur(),B(()=>{_[e+1+f].focus()})}if(n.keyCode===37){if(e===0&&f===g[0])return;if(_[e+f].blur(),f===g[0])_[e-1+g[g.length-1]].focus();else{const d=g.findIndex(i=>i===f)-1;B(()=>{_[e+g[d]].focus()})}}if(n.keyCode===39){if(e===y.value.length-1&&f===g[g.length-1])return;if(_[e+f].blur(),f===g[g.length-1])_[e+1+g[0]].focus();else{const d=g.findIndex(i=>i===f)+1;B(()=>{_[e+g[d]].focus()})}}},te=q({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"]}]}),v=F(!1),L=F([]),ae=(n="")=>{v.value=!0,Le({nickname:n,page_size:10}).then(e=>{L.value=e.lists,setTimeout(()=>{v.value=!1},300)}).catch(e=>{setTimeout(()=>{v.value=!1},300)})},re=()=>{w.value=!0},T=F(0),ne=n=>{T.value++};return(n,e)=>{const f=be,g=ye,d=Fe,i=me,p=Ee,D=fe,E=_e,M=ge,se=Ve,N=De,A=ce,m=Ce,O=we,Y=he,de=ve,pe=ke,z=Be,ie=Ue;return c(),I(P,null,[u(ie,null,{default:o(()=>[e[36]||(e[36]=C("div",{class:"mb-4 text-lg font-bold"},"\u9884\u5B9A\u5355\u6DFB\u52A0",-1)),C("div",null,[u(de,{ref_key:"formRef",ref:J,model:a(r),"label-width":"90px",inline:!0,rules:a(te)},{default:o(()=>[u(D,null,{default:o(()=>[u(i,{span:5},{default:o(()=>[u(d,{label:"\u7528\u6237",prop:"nickname"},{default:o(()=>[u(g,{modelValue:a(r).uid,"onUpdate:modelValue":e[0]||(e[0]=l=>a(r).uid=l),filterable:"",remote:"","reserve-keyword":"",placeholder:"\u8F93\u5165\u7528\u6237\u540D\u79F0\u641C\u7D22","remote-show-suffix":"","remote-method":ae,loading:a(v),style:{width:"220px"},onChange:ne},{default:o(()=>[(c(!0),I(P,null,H(a(L),l=>(c(),S(f,{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(i,{span:4},{default:o(()=>[u(d,{label:"\u59D3\u540D",prop:"nickname"},{default:o(()=>[u(p,{modelValue:a(r).nickname,"onUpdate:modelValue":e[1]||(e[1]=l=>a(r).nickname=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(i,{span:4},{default:o(()=>[u(d,{label:"\u624B\u673A\u53F7",prop:"phone"},{default:o(()=>[u(p,{modelValue:a(r).phone,"onUpdate:modelValue":e[2]||(e[2]=l=>a(r).phone=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(i,{span:6},{default:o(()=>[u(d,{label:"\u5730\u5740",prop:"address"},{default:o(()=>[u(p,{modelValue:a(r).address,"onUpdate:modelValue":e[3]||(e[3]=l=>a(r).address=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),u(D,null,{default:o(()=>[u(i,{span:12},{default:o(()=>[u(d,{label:"\u8BA2\u5355\u7C7B\u578B",prop:"order_type"},{default:o(()=>[u(M,{modelValue:a(r).order_type,"onUpdate:modelValue":e[4]||(e[4]=l=>a(r).order_type=l),onChange:e[5]||(e[5]=l=>$())},{default:o(()=>[u(E,{label:1},{default:o(()=>e[24]||(e[24]=[V("\u94FA\u8D27\u8BA2\u5355")])),_:1}),u(E,{label:2},{default:o(()=>e[25]||(e[25]=[V("\u644A\u8D29\u8BA2\u5355")])),_:1}),u(E,{label:3},{default:o(()=>e[26]||(e[26]=[V("\u4E00\u6761\u9F99\u8BA2\u5355")])),_:1}),u(E,{label:5},{default:o(()=>e[27]||(e[27]=[V("\u4ED3\u5E93\u8865\u8D27")])),_:1}),u(E,{label:6},{default:o(()=>e[28]||(e[28]=[V("\u5F80\u671F\u8865\u5355")])),_:1}),u(E,{label:7},{default:o(()=>e[29]||(e[29]=[V("\u91C7\u8D2D\u5355")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),u(i,{span:12},{default:o(()=>[u(d,{label:"\u95E8\u5E97",prop:"store_id",style:{width:"300px"}},{default:o(()=>[u(g,{modelValue:a(r).store_id,"onUpdate:modelValue":e[6]||(e[6]=l=>a(r).store_id=l),placeholder:"\u8BF7\u9009\u62E9\u95E8\u5E97",size:"large"},{default:o(()=>[(c(!0),I(P,null,H(a(R),l=>(c(),S(f,{key:l.id,label:l.name,value:l.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),u(D,null,{default:o(()=>[u(i,{span:12},{default:o(()=>[u(d,{label:"\u4E00\u952E\u4E0D\u91C7\u8D2D",prop:"is_buyer"},{default:o(()=>[u(M,{modelValue:a(r).is_buyer,"onUpdate:modelValue":e[7]||(e[7]=l=>a(r).is_buyer=l)},{default:o(()=>[u(E,{label:1},{default:o(()=>e[30]||(e[30]=[V("\u91C7\u8D2D")])),_:1}),u(E,{label:-1},{default:o(()=>e[31]||(e[31]=[V("\u4E0D\u91C7\u8D2D")])),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),u(D,null,{default:o(()=>[u(i,{span:4},{default:o(()=>[u(d,{label:"\u5230\u8D27\u65F6\u95F4",prop:"arrival_time"},{default:o(()=>[u(se,{modelValue:a(r).arrival_time,"onUpdate:modelValue":e[8]||(e[8]=l=>a(r).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(i,{span:4},{default:o(()=>[u(d,{label:"\u684C\u6570",prop:"tables"},{default:o(()=>[u(N,{modelValue:a(r).tables,"onUpdate:modelValue":e[9]||(e[9]=l=>a(r).tables=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(i,{span:4},{default:o(()=>[u(d,{label:"\u529E\u4E8B\u5929\u6570",prop:"days"},{default:o(()=>[u(N,{modelValue:a(r).days,"onUpdate:modelValue":e[10]||(e[10]=l=>a(r).days=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(i,{span:4},{default:o(()=>[u(d,{label:"\u53A8\u5E08",prop:"chef"},{default:o(()=>[u(p,{modelValue:a(r).chef,"onUpdate:modelValue":e[11]||(e[11]=l=>a(r).chef=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(i,{span:4},{default:o(()=>[u(d,{label:"\u7535\u8BDD",prop:"chef_phone"},{default:o(()=>[u(p,{modelValue:a(r).chef_phone,"onUpdate:modelValue":e[12]||(e[12]=l=>a(r).chef_phone=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),u(D,null,{default:o(()=>[u(i,{span:12},{default:o(()=>[u(d,{label:"\u5907\u6CE8",prop:"purpose"},{default:o(()=>[u(p,{modelValue:a(r).purpose,"onUpdate:modelValue":e[13]||(e[13]=l=>a(r).purpose=l),type:"input",style:{width:"480px"}},null,8,["modelValue"])]),_:1})]),_:1}),u(i,{span:12},{default:o(()=>[u(d,{label:"\u5185\u90E8\u5907\u6CE8",prop:"mark"},{default:o(()=>[u(p,{modelValue:a(r).mark,"onUpdate:modelValue":e[14]||(e[14]=l=>a(r).mark=l),type:"input",style:{width:"480px"}},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),u(D,null,{default:o(()=>[u(i,{span:4},{default:o(()=>[u(d,{label:"\u5206\u5355\u5458",prop:"splitting_officer"},{default:o(()=>[u(p,{modelValue:a(r).splitting_officer,"onUpdate:modelValue":e[15]||(e[15]=l=>a(r).splitting_officer=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(i,{span:4},{default:o(()=>[u(d,{label:"\u8DDF\u5355\u5458",prop:"merchandiser"},{default:o(()=>[u(p,{modelValue:a(r).merchandiser,"onUpdate:modelValue":e[16]||(e[16]=l=>a(r).merchandiser=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(i,{span:4},{default:o(()=>[u(d,{label:"\u4ED3\u7BA1\u5458",prop:"distribution_personnel"},{default:o(()=>[u(p,{modelValue:a(r).distribution_personnel,"onUpdate:modelValue":e[17]||(e[17]=l=>a(r).distribution_personnel=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(i,{span:4},{default:o(()=>[u(d,{label:"\u8FD0\u8F93\u5458",prop:"transporter"},{default:o(()=>[u(p,{modelValue:a(r).transporter,"onUpdate:modelValue":e[18]||(e[18]=l=>a(r).transporter=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(i,{span:4},{default:o(()=>[u(d,{label:"\u95E8\u5E97\u5458",prop:"system_store_name"},{default:o(()=>[u(p,{modelValue:a(r).system_store_name,"onUpdate:modelValue":e[19]||(e[19]=l=>a(r).system_store_name=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1}),u(i,{span:4},{default:o(()=>[u(d,{label:"\u533A\u57DF\u7ECF\u7406",prop:"regional_manager"},{default:o(()=>[u(p,{modelValue:a(r).regional_manager,"onUpdate:modelValue":e[20]||(e[20]=l=>a(r).regional_manager=l),type:"input"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),u(d,{label:"\u5546\u54C1",prop:"product_id",class:"w-full"},{default:o(()=>[C("div",Te,[C("div",Me,[u(A,{type:"primary",onClick:e[21]||(e[21]=l=>re())},{default:o(()=>e[32]||(e[32]=[V("\u6DFB\u52A0\u5546\u54C1")])),_:1})]),u(Y,{data:a(y)},{default:o(()=>[u(m,{label:"\u5546\u54C1ID",prop:"id","show-overflow-tooltip":""},{default:o(({row:l,$index:s})=>[u(p,{modelValue:l.id,"onUpdate:modelValue":t=>l.id=t,onKeydown:j(t=>Z(l),["enter"]),ref:t=>a(_)[s+"id"]=t,onKeyup:t=>b(t,s,"id")},null,8,["modelValue","onUpdate:modelValue","onKeydown","onKeyup"])]),_:1}),u(m,{label:"\u5546\u54C1\u56FE\u7247",prop:"image","min-width":"80"},{default:o(({row:l})=>[u(O,{style:{width:"50px",height:"50px"},src:l.image,"preview-teleported":!0},null,8,["src"])]),_:1}),u(m,{label:"\u5546\u54C1\u540D\u79F0",prop:"store_name","show-overflow-tooltip":""},{default:o(({row:l,$index:s})=>[u(p,{modelValue:l.store_name,"onUpdate:modelValue":t=>l.store_name=t,onKeydown:j(t=>le(l),["enter"]),ref:t=>a(_)[s+"store_name"]=t,onKeyup:t=>b(t,s,"store_name")},null,8,["modelValue","onUpdate:modelValue","onKeydown","onKeyup"])]),_:1}),u(m,{label:"\u6570\u91CF"},{default:o(({row:l,$index:s})=>[u(p,{modelValue:l.nums,"onUpdate:modelValue":t=>l.nums=t,onChange:t=>X(l),ref:t=>a(_)[s+"nums"]=t,onKeyup:t=>b(t,s,"nums")},null,8,["modelValue","onUpdate:modelValue","onChange","onKeyup"])]),_:1}),u(m,{label:"\u4EF7\u683C"},{default:o(({row:l})=>[u(p,{modelValue:l.price,"onUpdate:modelValue":s=>l.price=s,disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),u(m,{label:"\u603B\u4EF7"},{default:o(({row:l})=>[u(p,{modelValue:l.total_price,"onUpdate:modelValue":s=>l.total_price=s,disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),u(m,{label:"\u578B\u53F7"},{default:o(({row:l,$index:s})=>[u(p,{modelValue:l.marques,"onUpdate:modelValue":t=>l.marques=t,ref:t=>a(_)[s+"marques"]=t,onKeyup:t=>b(t,s,"marques")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),u(m,{label:"\u5305\u88C5"},{default:o(({row:l,$index:s})=>[u(p,{modelValue:l.package,"onUpdate:modelValue":t=>l.package=t,ref:t=>a(_)[s+"package"]=t,onKeyup:t=>b(t,s,"package")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),u(m,{label:"\u5355\u4F4D",prop:"unit_name","min-width":"80","show-overflow-tooltip":""}),u(m,{label:"\u6BDB\u91CD"},{default:o(({row:l,$index:s})=>[u(p,{modelValue:l.gross_weight,"onUpdate:modelValue":t=>l.gross_weight=t,ref:t=>a(_)[s+"gross_weight"]=t,onKeyup:t=>b(t,s,"gross_weight")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),u(m,{label:"\u51C0\u91CD"},{default:o(({row:l,$index:s})=>[u(p,{modelValue:l.net_weight,"onUpdate:modelValue":t=>l.net_weight=t,ref:t=>a(_)[s+"net_weight"]=t,onKeyup:t=>b(t,s,"net_weight")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),u(m,{label:"\u89C4\u683C"},{default:o(({row:l,$index:s})=>[u(p,{modelValue:l.store_info,"onUpdate:modelValue":t=>l.store_info=t,ref:t=>a(_)[s+"store_info"]=t,onKeyup:t=>b(t,s,"store_info")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),u(m,{label:"\u552E\u540E"},{default:o(({row:l,$index:s})=>[u(p,{modelValue:l.after_sales,"onUpdate:modelValue":t=>l.after_sales=t,ref:t=>a(_)[s+"after_sales"]=t,onKeyup:t=>b(t,s,"after_sales")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),u(m,{label:"\u635F\u8017"},{default:o(({row:l,$index:s})=>[u(p,{modelValue:l.loss,"onUpdate:modelValue":t=>l.loss=t,ref:t=>a(_)[s+"loss"]=t,onKeyup:t=>b(t,s,"loss")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),u(m,{label:"\u5907\u6CE8"},{default:o(({row:l,$index:s})=>[u(p,{modelValue:l.mark,"onUpdate:modelValue":t=>l.mark=t,ref:t=>a(_)[s+"mark"]=t,onKeyup:t=>b(t,s,"mark")},null,8,["modelValue","onUpdate:modelValue","onKeyup"])]),_:1}),u(m,{label:"\u64CD\u4F5C",width:"120",fixed:"right"},{default:o(({row:l})=>[u(A,{type:"danger",link:"",onClick:s=>Q(l.id)},{default:o(()=>e[33]||(e[33]=[V(" \u5220\u9664 ")])),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])])]),_:1}),u(D,null,{default:o(()=>[u(A,{onClick:ue,type:"primary",class:"w-40 ml-20"},{default:o(()=>e[34]||(e[34]=[V("\u63D0\u4EA4")])),_:1}),u(d,{label:"\u603B\u4EF7",prop:"total_price"},{default:o(()=>[C("div",null,[V(Ae(a(r).total_price)+" ",1),e[35]||(e[35]=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:a(w),"onUpdate:modelValue":e[22]||(e[22]=l=>x(w)?w.value=l:null),title:"\u9009\u62E9\u5546\u54C1",width:"70%"},{default:o(()=>[(c(),S(pe,{key:a(T),userId:a(r).uid,onOnBindStore:W},null,8,["userId"]))]),_:1},8,["modelValue"])]),_:1}),u(z,{modelValue:a(h),"onUpdate:modelValue":e[23]||(e[23]=l=>x(h)?h.value=l:null),title:"\u9009\u62E9\u5546\u54C1",width:"1200"},{default:o(()=>[u(Y,{data:a(k),onCurrentChange:oe,height:300},{default:o(()=>[u(m,{label:"\u5546\u54C1ID",prop:"id","show-overflow-tooltip":""}),u(m,{label:"\u5546\u54C1\u56FE\u7247",prop:"image","min-width":"80"},{default:o(({row:l})=>[u(O,{style:{width:"50px",height:"50px"},src:l.image,"preview-teleported":!0},null,8,["src"])]),_:1}),u(m,{label:"\u5546\u54C1\u540D\u79F0",prop:"store_name","min-width":"200","show-overflow-tooltip":""}),u(m,{label:"\u5206\u7C7B",prop:"cate_name","min-width":"120","show-overflow-tooltip":""}),u(m,{label:"\u5355\u4F4D",prop:"unit_name","min-width":"80","show-overflow-tooltip":""}),u(m,{label:"\u5546\u54C1\u4EF7\u683C",prop:"price","min-width":"100","show-overflow-tooltip":""}),u(m,{label:"\u4ED3\u5E93\u5E93\u5B58",prop:"stock","min-width":"100","show-overflow-tooltip":""})]),_:1},8,["data"])]),_:1},8,["modelValue"])],64)}}});export{Ku as default};