moreShopAdmin/dist/admin/assets/details.977c4ba1.js

2 lines
21 KiB
JavaScript

import{x as Ye,y as Me,V as Ne,k as w,w as ze,K as We,G as qe,b as Ke,C as Ge,H as He,F as Qe,L as Ze,N as Je,O as Xe,D as el}from"./element-plus.8e273e86.js";import{_ as ll}from"./index.vue_vue_type_script_setup_true_name_systemStoreLists_lang.56ad76e0.js";import{j as ol}from"./beforehand_order_cart_info.a9a30be8.js";import{l as tl,m as ul,n as rl,o as sl,p as dl,q as al,r as il,s as nl}from"./beforehand_order.078cb582.js";import{u as pl}from"./vue-router.10bd5b90.js";import{_ as ml}from"./goodsOffer.vue_vue_type_script_setup_true_name_subOrder_lang.36fa2610.js";import{_ as fl}from"./orderCartInfo.vue_vue_type_script_setup_true_name_subOrder_lang.dfbc37b4.js";import{_ as _l}from"./warehousing.vue_vue_type_script_setup_true_name_subOrder_lang.7d067a17.js";import{_ as vl}from"./outbound.vue_vue_type_script_setup_true_name_subOrder_lang.22a07ed8.js";import{_ as yl}from"./returnWarehouse.vue_vue_type_script_setup_true_name_subOrder_lang.84218f86.js";import{_ as cl}from"./returnSupplier.vue_vue_type_script_setup_true_name_subOrder_lang.2e286f81.js";import{h as Fl}from"./index.18f6ca7c.js";import{a as bl}from"./system_store.5825ac2f.js";import"./vue-plugin-hiprint.cba7baf0.js";import{e as El}from"./delivery_service.4f52ecac.js";import{f as kl}from"./purchase_product_offer.eed7106d.js";import{d as fe,r as i,Z as xl,o as p,c as I,U as u,L as s,a as l,S as n,u as o,R as m,K as f,Q as c,j as h,T,a9 as M,n as Dl}from"./@vue.76ce7aa3.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.eb797886.js";import"./store_product.4af13dd4.js";import"./index.vue_vue_type_script_setup_true_lang.b3c9fbdd.js";import"./index.2fb81a0c.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.cf0d972e.js";import"./warehouse.1adf6252.js";import"./supplier.c2201b65.js";import"./editProduct.vue_vue_type_script_setup_true_name_warehouseOrderEdit_lang.1dc1bcc5.js";import"./lodash.41b9567d.js";import"./warehouse_order.63151692.js";import"./warehouse_product.39ff928d.js";import"./warehouse_product_return.c425090c.js";import"./axios.b4cbdbc9.js";import"./jspdf.75308076.js";import"./fflate.0418c72f.js";import"./pinia.f3529286.js";import"./css-color-function.f23177ae.js";import"./color.a6ad6672.js";import"./clone.954ba32c.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";import"./jquery.da0c3ace.js";import"./jsbarcode.39151b53.js";import"./socket.io-client.d270ab31.js";import"./engine.io-client.e7b6d6c6.js";import"./engine.io-parser.4305f785.js";import"./@socket.io.2cbf6b9e.js";import"./debug.b392f131.js";import"./socket.io-parser.1db9a02a.js";import"./html2canvas.4638154c.js";import"./canvg.fd8e2fd2.js";import"./core-js.02a9a8e7.js";import"./raf.4a8e4708.js";import"./performance-now.36ef0a90.js";import"./rgbcolor.20c71161.js";import"./svg-pathdata.200d31ca.js";import"./stackblur-canvas.55865ee0.js";const gl={class:"flex items-center justify-between m-4"},Cl={class:"flex flex-col"},Vl={style:{color:"black"}},Al={class:"flex flex-col"},Bl={style:{color:"black"}},wl={class:"flex flex-col"},hl={style:{color:"black"}},Ol={class:"flex items-center justify-between m-4"},$l={class:"flex flex-col"},Ul={style:{color:"black"}},Ll={class:"flex flex-col"},Rl={style:{color:"black"}},Pl={class:"flex flex-col"},Sl={style:{color:"black"}},Il={class:"flex items-center justify-between m-4"},Tl={class:"flex flex-col"},jl={style:{color:"black"}},Yl={class:"flex flex-col"},Ml={style:{color:"black"}},Nl={class:"flex flex-col"},zl={style:{color:"black"}},Wl={class:"flex flex-col"},ql={style:{color:"black"}},Kl={class:"flex flex-col"},Gl={style:{color:"black"}},Hl={class:"flex items-center justify-between m-4"},Ql={class:"flex flex-col"},Zl={style:{color:"black"}},Jl={class:"flex flex-col"},Xl={style:{color:"black"}},eo={class:"flex flex-col"},lo={style:{color:"black"}},oo={class:"flex flex-col"},to={style:{color:"black"}},uo={class:"flex flex-col"},ro={style:{color:"black"}},so={class:"flex flex-col"},ao={style:{color:"black"}},io={class:"flex flex-col"},no={style:{color:"black"}},po={class:"flex flex-col"},mo={style:{color:"black"}},fo={class:"flex flex-col"},_o={style:{color:"black"}},vo={class:"flex items-center justify-between m-4"},yo={class:"flex flex-col"},co={style:{color:"black"}},Fo={class:"flex flex-col"},bo={style:{color:"black"}},Eo={class:"flex flex-col flex-2"},ko={style:{color:"black"}},xo={class:"justify-between m-4"},Do={class:"mb-2"},go={class:"dialog-footer"},Co={class:"dialog-footer"},Vo={class:"dialog-footer"},Ao=fe({name:"storeOrderDETAILS"}),Xt=fe({...Ao,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(Bo,{expose:_e,emit:wo}){const x=i(!1),O=i(null),N=i(null),z=i(null),W=i(null),q=i(null),K=i(null),ve=pl(),C=i(!1),ye=d=>{var e,a,b,L,R,v;d=="second"&&((e=W.value)==null||e.getList(t.value)),d=="offer"&&((a=O.value)==null||a.getList(t.value.id)),d=="warehousing"&&((b=N.value)==null||b.getList(t.value.id,t.value.warehousing_id)),d=="outbound"&&((L=z.value)==null||L.getList(t.value.id,t.value)),d=="returnWarehouse"&&((R=q.value)==null||R.getList(t.value)),d=="returnSupplier"&&((v=K.value)==null||v.getList(t.value))},ce=i(!1),D=i(!1),$=i("second"),Fe=i(0),be=i(0),Ee=i(0),t=i({id:"",code:"",total_price:"",supplier_name:"",warehouse_name:"",system_store:"",financial_pm:"",order_sn:"",warehousing_id:"",top_cate:[],uid:"",store_id:"",order_type:"",store_staff_id:"",is_confirm:0}),_=i({id:"",user_id:"",order_type:"",pay_type:"",store_id:"",deduction_price:"0.00",mark:""}),ke=()=>{var e;const d=E.value.map(a=>({id:a.id,nums:a.num||0,unit:a.unit||0,purchase:a.price||0,prices:a.purchase||0,total_price:a.total_price||0,manufacture:a.manufacture,expiration_date:a.expiration_date}));ol({id:G.bhoid,product_arr:d}).then(a=>{D.value=!1}),t.value.order_type==7&&((e=O.value)==null||e.getList(t.value.id))},G=xl({bhoid:ve.query.id,pay_type:"",top_cate:"",top_cate_value:""});(()=>{tl({id:G.bhoid}).then(d=>{t.value={...d},Fe.value=d.warehouse_id,_.value.id=d.id,_.value.store_id=d.store_id,_.value.user_id=d.uid,_.value.order_type=d.order_type,d.financial_pm==0?be.value=1:Ee.value=1,E.value=[],[7,9].includes(t.value.order_type)&&($.value="offer",Dl(()=>{O.value.getList(t.value.id)}))})})();const xe=d=>{ul({id:d}).then(e=>{window.open(e.url,"_blank"),w.success("\u5BFC\u51FA\u6210\u529F")})},De=d=>{rl({id:d}).then(e=>{window.open(e.url,"_blank"),w.success("\u5BFC\u51FA\u6210\u529F")})},ge=d=>{sl({id:d}).then(e=>{window.open(e.url,"_blank"),w.success("\u5BFC\u51FA\u6210\u529F")})},Ce=d=>{dl({id:d,print:1}).then(e=>{window.open(e.url,"_blank"),w.success("\u5BFC\u51FA\u6210\u529F")})},j=(d,e=1)=>{al({id:d,type:e}).then(a=>{window.open(a.url,"_blank"),w.success("\u5BFC\u51FA\u6210\u529F")})},V=i(!1),E=i([]),Ve=d=>{E.value=E.value.filter(e=>e.id!==d)},Ae=d=>{d.forEach(e=>{E.value.find(a=>a.id==e.id)||E.value.push(e)}),V.value=!1};function Be(d){d.total_price=d.num*d.price}const we=()=>{ce.value=!0},U=i(!1),H=i([]),he=(d="")=>{U.value=!0,Fl({nickname:d,page_size:10}).then(e=>{H.value=e.lists,setTimeout(()=>{U.value=!1},300)}).catch(e=>{setTimeout(()=>{U.value=!1},300)})},Q=i([]),Oe=()=>{x.value=!0,bl({page_no:1,page_size:100}).then(d=>{Q.value=d.lists})},A=i({order_id:"",buyer_id:""}),$e=()=>{kl(A.value).then(d=>{})},Ue=()=>{il(_.value).then(d=>{x.value=!1})},Le=d=>{nl({id:d}).then(e=>{t.value.is_confirm=1})},Z=i([]),Re=()=>{El({type:3}).then(d=>{Z.value=d.lists})},Pe=()=>{A.value.order_id=t.value.id,Re(),C.value=!0},Se=i(0);return _e({open:we}),(d,e)=>{const a=ze,b=Ye,L=Me,R=We,v=qe,Ie=Ke,B=Ge,J=Ne,Te=He,Y=Qe,P=Ze,je=ll,k=Je,S=Xe,g=el;return p(),I(T,null,[u(R,null,{default:s(()=>{var r,y,X,ee,le,oe,te,ue,re,se,de,ae,ie,ne,pe,me;return[l("div",gl,[l("div",Cl,[e[25]||(e[25]=l("div",{style:{color:"gray"}},"\u59D3\u540D\uFF1A",-1)),l("div",Vl,n((r=o(t).other_data)==null?void 0:r.nickname),1)]),l("div",Al,[e[26]||(e[26]=l("div",{style:{color:"gray"}},"\u624B\u673A\uFF1A",-1)),l("div",Bl,n((y=o(t).other_data)==null?void 0:y.phone),1)]),l("div",wl,[e[27]||(e[27]=l("div",{style:{color:"gray"}},"\u9001\u8D27\u5730\u5740\uFF1A",-1)),l("div",hl,n((X=o(t).other_data)==null?void 0:X.address),1)])]),l("div",Ol,[l("div",$l,[e[28]||(e[28]=l("div",{style:{color:"gray"}},"\u5355\u53F7\uFF1A",-1)),l("div",Ul,n(o(t).order_id),1)]),l("div",Ll,[e[29]||(e[29]=l("div",{style:{color:"gray"}},"\u652F\u4ED8\u5355\u53F7\uFF1A",-1)),l("div",Rl,n(o(t).order_sn),1)]),l("div",Pl,[e[30]||(e[30]=l("div",{style:{color:"gray"}},"\u95E8\u5E97\uFF1A",-1)),l("div",Sl,n(o(t).system_store),1)])]),l("div",Il,[l("div",Tl,[e[31]||(e[31]=l("div",{style:{color:"gray"}},"\u5230\u8D27\u65F6\u95F4\uFF1A",-1)),l("div",jl,n((ee=o(t).other_data)==null?void 0:ee.arrival_time),1)]),l("div",Yl,[e[32]||(e[32]=l("div",{style:{color:"gray"}},"\u684C\u6570\uFF1A",-1)),l("div",Ml,n((le=o(t).other_data)==null?void 0:le.tables),1)]),l("div",Nl,[e[33]||(e[33]=l("div",{style:{color:"gray"}},"\u529E\u4E8B\u5929\u6570\uFF1A",-1)),l("div",zl,n((oe=o(t).other_data)==null?void 0:oe.days),1)]),l("div",Wl,[e[34]||(e[34]=l("div",{style:{color:"gray"}},"\u53A8\u5E08\uFF1A",-1)),l("div",ql,n((te=o(t).other_data)==null?void 0:te.chef),1)]),l("div",Kl,[e[35]||(e[35]=l("div",{style:{color:"gray"}},"\u7535\u8BDD\uFF1A",-1)),l("div",Gl,n((ue=o(t).other_data)==null?void 0:ue.chef_phone),1)])]),l("div",Hl,[l("div",Ql,[e[36]||(e[36]=l("div",{style:{color:"gray"}},"\u91C7\u8D2D\u4E8B\u7531\uFF1A",-1)),l("div",Zl,n((re=o(t).other_data)==null?void 0:re.purpose),1)]),l("div",Jl,[e[37]||(e[37]=l("div",{style:{color:"gray"}},"\u5907\u6CE8\uFF1A",-1)),l("div",Xl,n(o(t).mark),1)]),l("div",eo,[e[38]||(e[38]=l("div",{style:{color:"gray"}},"\u4EE3\u8D2D\u5907\u6CE8\uFF1A",-1)),l("div",lo,n((se=o(t).other_data)==null?void 0:se.store_mark),1)]),l("div",oo,[e[39]||(e[39]=l("div",{style:{color:"gray"}},"\u5206\u5355\u5458\uFF1A",-1)),l("div",to,n((de=o(t).other_data)==null?void 0:de.splitting_officer),1)]),l("div",uo,[e[40]||(e[40]=l("div",{style:{color:"gray"}},"\u8DDF\u5355\u5458\uFF1A",-1)),l("div",ro,n((ae=o(t).other_data)==null?void 0:ae.merchandiser),1)]),l("div",so,[e[41]||(e[41]=l("div",{style:{color:"gray"}},"\u4ED3\u7BA1\u5458\uFF1A",-1)),l("div",ao,n((ie=o(t).other_data)==null?void 0:ie.distribution_personnel),1)]),l("div",io,[e[42]||(e[42]=l("div",{style:{color:"gray"}},"\u8FD0\u8F93\u5458\uFF1A",-1)),l("div",no,n((ne=o(t).other_data)==null?void 0:ne.transporter),1)]),l("div",po,[e[43]||(e[43]=l("div",{style:{color:"gray"}},"\u95E8\u5E97\u5458\uFF1A",-1)),l("div",mo,n((pe=o(t).other_data)==null?void 0:pe.system_store_name),1)]),l("div",fo,[e[44]||(e[44]=l("div",{style:{color:"gray"}},"\u533A\u57DF\u7ECF\u7406\uFF1A",-1)),l("div",_o,n((me=o(t).other_data)==null?void 0:me.regional_manager),1)])]),l("div",vo,[l("div",yo,[e[45]||(e[45]=l("div",{style:{color:"gray"}},"\u603B\u4EF7",-1)),l("div",co,"\uFFE5"+n(o(t).total_price),1)]),l("div",Fo,[e[46]||(e[46]=l("div",{style:{color:"gray"}},"\u652F\u4ED8\u91D1\u989D",-1)),l("div",bo,"\uFFE5"+n(o(t).pay_price),1)]),l("div",Eo,[e[47]||(e[47]=l("div",{style:{color:"gray"}},"\u65F6\u95F4",-1)),l("div",ko,n(o(t).create_time),1)]),u(a,{onClick:e[0]||(e[0]=F=>xe(o(t).id))},{default:s(()=>e[48]||(e[48]=[m(" \u6253\u5370\u5546\u54C1\u6807\u7B7E ")])),_:1}),u(a,{onClick:Oe},{default:s(()=>e[49]||(e[49]=[m(" \u751F\u6210\u5546\u54C1\u8BA2\u5355 ")])),_:1}),[6,9].includes(o(t).order_type)?(p(),f(a,{key:0,onClick:e[1]||(e[1]=F=>Pe())},{default:s(()=>e[50]||(e[50]=[m(" \u751F\u6210\u5F80\u671F\u5165\u5E93\u5355 ")])),_:1})):c("",!0)]),l("div",xo,[o(t).order_type!=7?(p(),f(a,{key:0,onClick:e[2]||(e[2]=F=>De(o(t).id))},{default:s(()=>e[51]||(e[51]=[m(" \u6253\u5370\u4E0B\u5355\u6E05\u5355 ")])),_:1})):c("",!0),o(t).order_type!=7?(p(),f(a,{key:1,onClick:e[3]||(e[3]=F=>ge(o(t).id))},{default:s(()=>e[52]||(e[52]=[m(" \u6253\u5370\u5206\u914D\u5355 ")])),_:1})):c("",!0),o(t).order_type==7?(p(),f(a,{key:2,onClick:e[4]||(e[4]=F=>Ce(o(t).id))},{default:s(()=>e[53]||(e[53]=[m(" \u6253\u5370\u91C7\u8D2D\u5355 ")])),_:1})):c("",!0),o(t).order_type!=7?(p(),f(a,{key:3,onClick:e[5]||(e[5]=F=>j(o(t).id))},{default:s(()=>e[54]||(e[54]=[m(" \u6253\u5370\u51FA\u5E93\u5355 ")])),_:1})):c("",!0),o(t).order_type!=7?(p(),f(a,{key:4,onClick:e[6]||(e[6]=F=>j(o(t).id,2))},{default:s(()=>e[55]||(e[55]=[m(" \u6253\u5370\u4F9B\u8D27\u5355 ")])),_:1})):c("",!0),o(t).order_type!=7?(p(),f(a,{key:5,onClick:e[7]||(e[7]=F=>j(o(t).id,3))},{default:s(()=>e[56]||(e[56]=[m(" \u6253\u5370\u65E0\u4EF7\u683C\u51FA\u5E93\u5355 ")])),_:1})):c("",!0)]),u(a,{type:"primary",onClick:e[8]||(e[8]=F=>D.value=!0)},{default:s(()=>e[57]||(e[57]=[m(" \u8FFD\u52A0 ")])),_:1}),o(t).store_staff_id>0&&o(t).is_confirm==0?(p(),f(a,{key:0,type:"primary",onClick:e[9]||(e[9]=F=>Le(o(t).id))},{default:s(()=>e[58]||(e[58]=[m(" \u786E\u8BA4 ")])),_:1})):c("",!0),u(L,{modelValue:o($),"onUpdate:modelValue":e[10]||(e[10]=F=>h($)?$.value=F:null),class:"demo-tabs mt-3",type:"border-card",onTabChange:ye},{default:s(()=>[[7,9].includes(o(t).order_type)?c("",!0):(p(),f(b,{key:0,label:"\u660E\u7EC6",name:"second"},{default:s(()=>[u(fl,{ref_key:"orderCartInfoRef",ref:W,id:o(t).id},null,8,["id"])]),_:1})),[7,9].includes(o(t).order_type)?(p(),f(b,{key:1,label:"\u91C7\u8D2D",name:"offer"},{default:s(()=>[u(ml,{ref_key:"goodsOfferRef",ref:O,order_id:o(t).id},null,8,["order_id"])]),_:1})):c("",!0),[7,9].includes(o(t).order_type)?(p(),f(b,{key:2,label:"\u5165\u5E93",name:"warehousing"},{default:s(()=>[u(_l,{ref_key:"warehousingRef",ref:N,order_id:o(t).id},null,8,["order_id"])]),_:1})):c("",!0),[7,9].includes(o(t).order_type)?c("",!0):(p(),f(b,{key:3,label:"\u51FA\u5E93",name:"outbound"},{default:s(()=>[u(vl,{ref_key:"outboundRef",ref:z,order_id:o(t).id},null,8,["order_id"])]),_:1})),[7,9].includes(o(t).order_type)?c("",!0):(p(),f(b,{key:4,label:"\u9000\u5E93\u623F",name:"returnWarehouse"},{default:s(()=>[u(yl,{ref_key:"returnWarehouseRef",ref:q},null,512)]),_:1})),[7,9].includes(o(t).order_type)?c("",!0):(p(),f(b,{key:5,label:"\u9000\u4F9B\u5E94\u5546",name:"returnSupplier"},{default:s(()=>[u(cl,{ref_key:"returnSupplierRef",ref:K},null,512)]),_:1}))]),_:1},8,["modelValue"])]}),_:1}),u(P,{modelValue:o(D),"onUpdate:modelValue":e[13]||(e[13]=r=>h(D)?D.value=r:null),title:"\u8FFD\u52A0\u5546\u54C1",width:"1200"},{footer:s(()=>[l("div",go,[u(a,{onClick:e[12]||(e[12]=r=>D.value=!1)},{default:s(()=>e[61]||(e[61]=[m("\u53D6\u6D88")])),_:1}),u(a,{type:"primary",onClick:ke},{default:s(()=>e[62]||(e[62]=[m(" \u786E\u8BA4 ")])),_:1})])]),default:s(()=>[u(Y,{ref:"formRef","label-width":"90px"},{default:s(()=>[l("div",Do,[u(a,{type:"primary",onClick:e[11]||(e[11]=r=>V.value=!0)},{default:s(()=>e[59]||(e[59]=[m("\u6DFB\u52A0\u5546\u54C1")])),_:1})]),u(Te,{data:o(E)},{default:s(()=>[u(v,{label:"\u5546\u54C1ID",prop:"id","show-overflow-tooltip":""}),u(v,{label:"\u5546\u54C1\u56FE\u7247",prop:"image","min-width":"80"},{default:s(({row:r})=>[u(Ie,{style:{width:"50px",height:"50px"},src:r.image,"preview-teleported":!0},null,8,["src"])]),_:1}),u(v,{label:"\u5546\u54C1\u540D\u79F0",prop:"store_name","min-width":"180","show-overflow-tooltip":""}),u(v,{label:"\u5206\u7C7B",prop:"cate_name","min-width":"80","show-overflow-tooltip":""}),u(v,{label:"\u5355\u4F4D",prop:"unit_name","min-width":"80","show-overflow-tooltip":""}),u(v,{label:"\u6570\u91CF","min-width":"150"},{default:s(({row:r})=>[u(B,{modelValue:r.num,"onUpdate:modelValue":y=>r.num=y,onChange:y=>Be(r)},null,8,["modelValue","onUpdate:modelValue","onChange"])]),_:1}),u(v,{label:"\u4EF7\u683C","min-width":"150"},{default:s(({row:r})=>[u(B,{modelValue:r.price,"onUpdate:modelValue":y=>r.price=y,disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),u(v,{label:"\u603B\u4EF7","min-width":"150"},{default:s(({row:r})=>[u(B,{modelValue:r.total_price,"onUpdate:modelValue":y=>r.total_price=y,disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),u(v,{label:"\u751F\u4EA7\u65E5\u671F","min-width":"140"},{default:s(({row:r})=>[u(J,{readonly:!1,class:"flex-1 !flex",modelValue:r.manufacture,"onUpdate:modelValue":y=>r.manufacture=y,clearable:"",type:"date","value-format":"YYYY-MM-DD",placeholder:"\u9009\u62E9\u751F\u4EA7\u65E5\u671F"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),u(v,{label:"\u4FDD\u8D28\u671F","min-width":"140"},{default:s(({row:r})=>[u(J,{readonly:!1,class:"flex-1 !flex",modelValue:r.expiration_date,"onUpdate:modelValue":y=>r.expiration_date=y,clearable:"",type:"date","value-format":"YYYY-MM-DD",placeholder:"\u9009\u62E9\u4FDD\u8D28\u671F"},null,8,["modelValue","onUpdate:modelValue"])]),_:1}),u(v,{label:"\u64CD\u4F5C",width:"120",fixed:"right"},{default:s(({row:r})=>[u(a,{type:"danger",link:"",onClick:y=>Ve(r.id)},{default:s(()=>e[60]||(e[60]=[m(" \u5220\u9664 ")])),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])]),_:1},512)]),_:1},8,["modelValue"]),u(P,{modelValue:o(V),"onUpdate:modelValue":e[14]||(e[14]=r=>h(V)?V.value=r:null),title:"\u9009\u62E9\u5546\u54C1",width:"70%"},{default:s(()=>[(p(),f(je,{key:o(Se),userId:o(t).uid,order_type:o(t).order_type,onOnBindStore:Ae},null,8,["userId","order_type"]))]),_:1},8,["modelValue"]),u(P,{modelValue:o(x),"onUpdate:modelValue":e[21]||(e[21]=r=>h(x)?x.value=r:null),title:"\u751F\u6210\u652F\u4ED8\u8BA2\u5355\u8BBE\u7F6E",width:"600"},{footer:s(()=>[l("div",Co,[u(a,{onClick:e[20]||(e[20]=r=>x.value=!1)},{default:s(()=>e[63]||(e[63]=[m("\u53D6\u6D88")])),_:1}),u(a,{type:"primary",onClick:Ue},{default:s(()=>e[64]||(e[64]=[m(" \u786E\u8BA4 ")])),_:1})])]),default:s(()=>[u(Y,{model:o(_),"label-width":"90px"},{default:s(()=>[u(g,{label:"\u7528\u6237"},{default:s(()=>[u(S,{modelValue:o(_).user_id,"onUpdate:modelValue":e[15]||(e[15]=r=>o(_).user_id=r),filterable:"",remote:"","reserve-keyword":"",placeholder:"\u8F93\u5165\u7528\u6237\u540D\u79F0\u641C\u7D22","remote-show-suffix":"","remote-method":he,loading:o(U),style:{width:"240px"}},{default:s(()=>[(p(!0),I(T,null,M(o(H),r=>(p(),f(k,{key:r.id,label:`${r.real_name}|${r.mobile} (ID:${r.id})`,value:r.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","loading"])]),_:1}),u(g,{label:"\u95E8\u5E97",prop:"store_id"},{default:s(()=>[u(S,{modelValue:o(_).store_id,"onUpdate:modelValue":e[16]||(e[16]=r=>o(_).store_id=r),placeholder:"\u8BF7\u9009\u62E9\u95E8\u5E97",size:"large",style:{width:"240px"}},{default:s(()=>[(p(!0),I(T,null,M(o(Q),r=>(p(),f(k,{key:r.id,label:r.name,value:r.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),u(g,{label:"\u652F\u4ED8\u65B9\u5F0F",prop:"pay_type"},{default:s(()=>[u(S,{modelValue:o(_).pay_type,"onUpdate:modelValue":e[17]||(e[17]=r=>o(_).pay_type=r),placeholder:"\u8BF7\u9009\u62E9\u652F\u4ED8\u65B9\u5F0F",size:"large",style:{width:"240px"}},{default:s(()=>[u(k,{label:"\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u652F\u4ED8",value:"7"}),u(k,{label:"\u91C7\u8D2D\u6B3E\u652F\u4ED8",value:"18"}),u(k,{label:"\u4F59\u989D\u652F\u4ED8",value:"3"}),u(k,{label:"\u73B0\u91D1\u652F\u4ED8",value:"17"})]),_:1},8,["modelValue"])]),_:1}),u(g,{label:"\u4F18\u60E0\u91D1\u989D",prop:"deduction_price"},{default:s(()=>[u(B,{modelValue:o(_).deduction_price,"onUpdate:modelValue":e[18]||(e[18]=r=>o(_).deduction_price=r),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4F18\u60E0\u91D1\u989D",readonly:!1},null,8,["modelValue"])]),_:1}),u(g,{label:"\u5907\u6CE8",prop:"mark"},{default:s(()=>[u(B,{modelValue:o(_).mark,"onUpdate:modelValue":e[19]||(e[19]=r=>o(_).mark=r),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8BA2\u5355\u5907\u6CE8",readonly:!1},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),u(P,{modelValue:o(C),"onUpdate:modelValue":e[24]||(e[24]=r=>h(C)?C.value=r:null),title:"\u8BBE\u7F6E\u91C7\u8D2D",width:"600"},{footer:s(()=>[l("div",Vo,[u(a,{onClick:e[23]||(e[23]=r=>C.value=!1)},{default:s(()=>e[65]||(e[65]=[m("\u53D6\u6D88")])),_:1}),u(a,{type:"primary",onClick:$e},{default:s(()=>e[66]||(e[66]=[m(" \u786E\u8BA4 ")])),_:1})])]),default:s(()=>[u(Y,{ref:"formRef",model:o(A),"label-width":"90px"},{default:s(()=>[u(g,{label:"\u91C7\u8D2D\u4EBA\u5458"},{default:s(()=>[u(S,{modelValue:o(A).buyer_id,"onUpdate:modelValue":e[22]||(e[22]=r=>o(A).buyer_id=r),placeholder:"\u8BF7\u9009\u62E9\u91C7\u8D2D\u4EBA\u5458",size:"large",style:{width:"240px"}},{default:s(()=>[(p(!0),I(T,null,M(o(Z),r=>(p(),f(k,{label:r.nickname,value:r.uid},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])],64)}}});export{Xt as default};