TmallWeb-dist/js/taobao-order-operate-template.Ck8Q3Uit.js
2025-07-31 15:25:07 +08:00

2 lines
29 KiB
JavaScript

import{H as e,b as l,a3 as t,b$ as a,_ as s,d as o,F as i,a as r,r as n,g as d,X as p,m as c,e as u,w as _,f as m,al as b,c as v,n as g,t as h,O as f,J as w,ap as y,v as D,cj as x,aG as k,p as T,i as S,l as V,$ as R,q as C,E as q,s as N,b4 as U,aQ as L,ag as O,D as j,bV as $,N as z,an as A,bY as B,bZ as F,a_ as I,bv as E,a7 as H,a8 as J,bw as K,am as P,R as W,b0 as G,bu as Q}from"./index.CR4_6n_-.js";import{E as X}from"./el-card.Ul4TViha.js";import{_ as Y}from"./index.DznrRYNI.js";import{E as Z,a as M}from"./el-tab-pane.BSODLSwn.js";import{o as ee,n as le}from"./account.DJ0xDQZV.js";import{o as te,s as ae}from"./service.s_GtkORE.js";import{d as se}from"./dropdown.yAZUzKPN.js";import"./el-col.SmQn_i_C.js";const oe=l({trigger:a.trigger,triggerKeys:a.triggerKeys,placement:se.placement,disabled:a.disabled,visible:t.visible,transition:t.transition,popperOptions:se.popperOptions,tabindex:se.tabindex,content:t.content,popperStyle:t.popperStyle,popperClass:t.popperClass,enterable:{...t.enterable,default:!0},effect:{...t.effect,default:"light"},teleported:t.teleported,appendTo:t.appendTo,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),ie={"update:visible":l=>e(l),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},re=o({name:"ElPopover"}),ne=o({...re,props:oe,emits:ie,setup(e,{expose:l,emit:t}){const a=e,s=i(()=>a["onUpdate:visible"]),o=r("popover"),D=n(),x=i(()=>{var e;return null==(e=d(D))?void 0:e.popperRef}),k=i(()=>[{width:p(a.width)},a.popperStyle]),T=i(()=>[o.b(),a.popperClass,{[o.m("plain")]:!!a.content}]),S=i(()=>a.transition===`${o.namespace.value}-fade-in-linear`),V=()=>{t("before-enter")},R=()=>{t("before-leave")},C=()=>{t("after-enter")},q=()=>{t("update:visible",!1),t("after-leave")};return l({popperRef:x,hide:()=>{var e;null==(e=D.value)||e.hide()}}),(e,l)=>(u(),c(d(y),w({ref_key:"tooltipRef",ref:D},e.$attrs,{trigger:e.trigger,"trigger-keys":e.triggerKeys,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,content:e.content,offset:e.offset,"show-after":e.showAfter,"hide-after":e.hideAfter,"auto-close":e.autoClose,"show-arrow":e.showArrow,"aria-label":e.title,effect:e.effect,enterable:e.enterable,"popper-class":d(T),"popper-style":d(k),teleported:e.teleported,"append-to":e.appendTo,persistent:e.persistent,"gpu-acceleration":d(S),"onUpdate:visible":d(s),onBeforeShow:V,onBeforeHide:R,onShow:C,onHide:q}),{content:_(()=>[e.title?(u(),v("div",{key:0,class:g(d(o).e("title")),role:"title"},h(e.title),3)):b("v-if",!0),m(e.$slots,"default",{},()=>[f(h(e.content),1)])]),default:_(()=>[e.$slots.reference?m(e.$slots,"reference",{key:0}):b("v-if",!0)]),_:3},16,["trigger","trigger-keys","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","append-to","persistent","gpu-acceleration","onUpdate:visible"]))}});const de=(e,l)=>{const t=l.arg||l.value,a=null==t?void 0:t.popperRef;a&&(a.triggerRef=e)};const pe=D(s(ne,[["__file","popover.vue"]]),{directive:x({mounted(e,l){de(e,l)},updated(e,l){de(e,l)}},"popover")}),ce=o({name:"ElTimeline",setup(e,{slots:l}){const t=r("timeline");return T("timeline",l),()=>k("ul",{class:[t.b()]},[m(l,"default")])}}),ue=l({timestamp:{type:String,default:""},hideTimestamp:Boolean,center:Boolean,placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:S},hollow:Boolean}),_e=o({name:"ElTimelineItem"});var me=s(o({..._e,props:ue,setup(e){const l=e,t=r("timeline-item"),a=i(()=>[t.e("node"),t.em("node",l.size||""),t.em("node",l.type||""),t.is("hollow",l.hollow)]);return(e,l)=>(u(),v("li",{class:g([d(t).b(),{[d(t).e("center")]:e.center}])},[V("div",{class:g(d(t).e("tail"))},null,2),e.$slots.dot?b("v-if",!0):(u(),v("div",{key:0,class:g(d(a)),style:R({backgroundColor:e.color})},[e.icon?(u(),c(d(q),{key:0,class:g(d(t).e("icon"))},{default:_(()=>[(u(),c(C(e.icon)))]),_:1},8,["class"])):b("v-if",!0)],6)),e.$slots.dot?(u(),v("div",{key:1,class:g(d(t).e("dot"))},[m(e.$slots,"dot")],2)):b("v-if",!0),V("div",{class:g(d(t).e("wrapper"))},[e.hideTimestamp||"top"!==e.placement?b("v-if",!0):(u(),v("div",{key:0,class:g([d(t).e("timestamp"),d(t).is("top")])},h(e.timestamp),3)),V("div",{class:g(d(t).e("content"))},[m(e.$slots,"default")],2),e.hideTimestamp||"bottom"!==e.placement?b("v-if",!0):(u(),v("div",{key:1,class:g([d(t).e("timestamp"),d(t).is("bottom")])},h(e.timestamp),3))],2)],2))}}),[["__file","timeline-item.vue"]]);const be=D(ce,{TimelineItem:me}),ve=N(me),ge={class:"operate"},he={class:"rate-detail-dialog-content"},fe={key:0},we={key:0},ye={class:"dialog-footer"},De={class:"recharge-voucher-dialog-content"},xe={id:"header2"},ke={class:"s1"},Te={href:"http://esales.163.com/intro/index.html",style:{color:"orange"}},Se={class:"container"},Ve={class:"content"},Re={class:"el-descriptions"},Ce={class:"el-descriptions__body"},qe={class:"el-descriptions__table is-bordered el-descriptions--mini"},Ne={class:"el-descriptions-row"},Ue={colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},Le={class:"el-descriptions-row"},Oe={colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},je={class:"el-descriptions"},$e={class:"el-descriptions__body"},ze={class:"el-descriptions__table is-bordered el-descriptions--mini"},Ae={class:"el-descriptions-row"},Be={colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},Fe={colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},Ie={colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},Ee={class:"el-descriptions-row"},He={colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},Je={class:"el-descriptions-row"},Ke={colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},Pe={colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},We={class:"el-descriptions"},Ge={class:"el-descriptions__body"},Qe={class:"el-descriptions__table is-bordered el-descriptions--mini"},Xe={class:"el-descriptions-row"},Ye={colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},Ze={class:"el-descriptions-row"},Me={colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},el={class:"dialog-footer"},ll={class:"log-detail-dialog-content"},tl={style:{"text-decoration":"underline",cursor:"pointer",width:"100%",overflow:"hidden"}},al={class:"demo-rich-conent"},sl={style:{"text-decoration":"underline",cursor:"pointer",width:"100%",overflow:"hidden"}},ol={class:"demo-rich-conent"},il={key:0,style:{"text-decoration":"underline",cursor:"pointer"}},rl={class:"demo-rich-conent"},nl={style:{"white-space":"pre-wrap","word-wrap":"break-word"}},dl={key:0,style:{"text-decoration":"underline",cursor:"pointer"}},pl={class:"demo-rich-conent"},cl={style:{"white-space":"pre-wrap","word-wrap":"break-word"}},ul={class:"dialog-footer"},_l=U({__name:"taobao-order-operate-template",props:{rows:{type:Object,required:!0},showNotifyStatusTxt:Function},emits:["getTableData"],setup(e,{emit:l}){var t,a,s,o,i,r,p,m,g,w,y,D,x,k,T,S,R,C,q,N;const U=e,se=l,oe=L().getLoginType(),ie=O({transferFrom:{},btnLoading:!1,showTransferDialog:!1,activeName:"first",showLogDetailDialog:!1,showOrderDetailDialog:!1,showRateDetailDialog:!1,rateDetailData:{},detailDialogData:{},showRechargeVoucherDialog:!1}),re=O([{prop:"type",label:"状态",align:"center",slot:"status_slot",width:100},{prop:"created_at",label:"返回时间",align:"center"},{prop:"request_url",label:"请求地址",align:"center",slot:"request_url_slot",width:180},{prop:"request_ip",label:"请求IP",align:"center"},{prop:"remark",label:"备注",align:"center",slot:"remark_slot",width:120},{prop:"request_param",label:"请求参数",align:"center",slot:"request_param_slot",width:100},{prop:"response_param",label:"返回参数",align:"center",slot:"response_param_slot",width:100}]),ne=O({fields:[{label:"经销商",prop:"service_name",type:"input",value:"",disabled:!0},{label:"充值账号",prop:"recharge_account",type:"input",value:"",disabled:!0},{label:"充值时间",prop:"updated_at",type:"input",value:"",disabled:!0},{label:"商品标题",prop:"product_name",type:"input",value:"",disabled:!0},{label:"订单编号",prop:"order_no",type:"input",value:"",disabled:!0},{label:"充值平台",prop:"platform_name",type:"input",value:"",disabled:!0},{label:"充值金额",prop:"order_amount",type:"input",value:"",disabled:!0},{label:"库存类型",prop:"stock_type",type:"input",value:"",disabled:!0}],values:{service_name:null==(a=null==(t=U.rows)?void 0:t.service)?void 0:a.name,recharge_account:null==(s=U.rows)?void 0:s.recharge_account,updated_at:null==(o=U.rows)?void 0:o.updated_at,product_name:(null==(i=U.rows)?void 0:i.product_name)||"",order_no:null==(r=U.rows)?void 0:r.order_no,platform_name:(null==(p=U.rows)?void 0:p.platform_name)||"天猫",order_amount:null==(m=U.rows)?void 0:m.order_amount,stock_type:(null==(g=U.rows)?void 0:g.stock_type)||"93折直充"}}),de=O({fields:[{label:"订单编号",prop:"order_no",type:"input",value:"",disabled:!0},{label:"充值账号",prop:"recharge_account",type:"input",value:"",disabled:!0},{label:"充值时间",prop:"updated_at",type:"input",value:"",disabled:!0},{label:"商品ID",prop:"product_id",type:"input",value:"",disabled:!0},{label:"商品标题",prop:"product_name",type:"input",value:"",disabled:!0},{label:"店铺标识",prop:"shop_name",type:"input",value:"",disabled:!0},{label:"店铺ID",prop:"shop_id",type:"input",value:"",disabled:!0},{label:"充值金额",prop:"order_amount",type:"input",value:"",disabled:!0},{label:"淘宝订单号",prop:"taobao_id",type:"input",value:"",disabled:!0}],values:{order_no:null==(w=U.rows)?void 0:w.order_no,recharge_account:null==(y=U.rows)?void 0:y.recharge_account,updated_at:null==(D=U.rows)?void 0:D.updated_at,shop_id:null==(k=null==(x=U.rows)?void 0:x.shop)?void 0:k.id,product_name:null==(T=U.rows)?void 0:T.product_name,product_id:null==(S=U.rows)?void 0:S.product_id,taobao_id:null==(R=U.rows)?void 0:R.taobao_id,order_amount:null==(C=U.rows)?void 0:C.order_amount,shop_name:null==(N=null==(q=U.rows)?void 0:q.shop)?void 0:N.name}});j(()=>U.rows,e=>{var l,t,a;e&&(ne.values={service_name:null==(l=null==e?void 0:e.service)?void 0:l.name,recharge_account:null==e?void 0:e.recharge_account,updated_at:null==e?void 0:e.updated_at,product_name:(null==e?void 0:e.product_name)||"",order_no:null==e?void 0:e.order_no,platform_name:(null==e?void 0:e.platform_name)||"天猫",order_amount:null==e?void 0:e.order_amount,stock_type:(null==e?void 0:e.stock_type)||"93折直充"},de.values={order_no:e.order_no,recharge_account:e.recharge_account,updated_at:e.updated_at,shop_id:null==(t=e.shop)?void 0:t.id,product_name:e.product_name,product_id:e.product_id,taobao_id:e.taobao_id,order_amount:e.order_amount,shop_name:null==(a=e.shop)?void 0:a.name})},{deep:!0,immediate:!1});const ce=e=>{let l="";switch(e){case 1:l="商户下单";break;case 2:l="订单确认";break;case 3:l="回调下游"}return l},ue=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch(l){return e}},_e=(e,l)=>e&&(null==e?void 0:e.length)>l?e.slice(0,l)+"...":"",me=()=>{ie.showLogDetailDialog=!0},_l=()=>{ie.showRechargeVoucherDialog=!0},ml=e=>{},bl=()=>{ie.showOrderDetailDialog=!0,ie.detailDialogData={title:"订单详情",fields:[{label:"支付宝商户单号",prop:"taobao_id",type:"input",value:"",disabled:!0},{label:"支付状态",prop:"status",type:"input",value:"",disabled:!0},{label:"支付金额",prop:"order_amount",type:"input",value:"",disabled:!0}],values:{taobao_id:U.rows.taobao_id,status:U.showNotifyStatusTxt(U.rows.status,1),order_amount:U.rows.order_amount}}},vl=()=>{ie.rateDetailData={...U.rows},ie.showRateDetailDialog=!0},gl=B(()=>{G.confirm("确认要补发通知吗","系统提示",{confirmButtonText:"确认",cancelButtonText:"取消",type:"warning"}).then(()=>{ie.btnLoading=!0,("other"===oe?ee:te)(U.rows.id).then(()=>{Q.success("通知补发成功"),se("getTableData")}).finally(()=>{ie.btnLoading=!1})})}),hl=B(()=>{ie.transferFrom={title:"补单",fields:[{label:"订单号",prop:"order_no",type:"input",value:"",disabled:!0},{label:"订单金额",prop:"order_amount",type:"input",value:"",disabled:!0},{label:"充值账号",prop:"recharge_account",type:"input",value:"",disabled:!0},{label:"谷歌验证码",prop:"google_code",type:"input",value:""}],rules:{google_code:[{required:!0,message:"请输入谷歌验证码",trigger:"change"}]},values:{order_no:U.rows.order_no,order_amount:U.rows.order_amount,recharge_account:U.rows.recharge_account,google_code:""}},ie.showTransferDialog=!0}),fl=n(null),wl=B(()=>{fl.value&&fl.value.hasValid&&fl.value.hasValid().validate(e=>{if(e){ie.btnLoading=!0,("other"===oe?le:ae)(U.rows.id,{google_code:ie.transferFrom.values.google_code}).then(()=>{ie.showTransferDialog=!1,Q.success("补单成功"),se("getTableData")}).finally(()=>{ie.btnLoading=!1})}})});return(l,t)=>{const a=A,s=F,o=I,i=M,r=P,n=K,p=E,m=Z,g=pe,w=Y,y=X,D=ve,x=be,k=$("click-debounce");return u(),v("div",null,[V("div",ge,[3==e.rows.status?(u(),c(a,{key:0,size:"small",type:"success",onClick:bl},{default:_(()=>t[8]||(t[8]=[f("查单")])),_:1,__:[8]})):b("",!0),3==e.rows.status?(u(),c(a,{key:1,size:"small",type:"danger",onClick:_l},{default:_(()=>t[9]||(t[9]=[f("充值凭证")])),_:1,__:[9]})):b("",!0),z(a,{size:"small",type:"primary",onClick:vl},{default:_(()=>t[10]||(t[10]=[f("费率明细")])),_:1,__:[10]}),z(a,{size:"small",type:"info",onClick:me},{default:_(()=>t[11]||(t[11]=[f("日志")])),_:1,__:[11]}),3==e.rows.status&&["other","payee"].includes(d(oe))?(u(),c(a,{key:2,size:"small",type:"warning",onClick:d(gl)},{default:_(()=>t[12]||(t[12]=[f(" 通知补发 ")])),_:1,__:[12]},8,["onClick"])):b("",!0),4==e.rows.status&&["other","payee"].includes(d(oe))?(u(),c(a,{key:3,size:"small",type:"warning",onClick:d(hl)},{default:_(()=>t[13]||(t[13]=[f(" 补单 ")])),_:1,__:[13]},8,["onClick"])):b("",!0)]),d(ie).showOrderDetailDialog?(u(),c(s,{key:0,showDialog:d(ie).showOrderDetailDialog,"onUpdate:showDialog":t[0]||(t[0]=e=>d(ie).showOrderDetailDialog=e),labelWidth:"120px",formData:d(ie).detailDialogData,"onUpdate:formData":t[1]||(t[1]=e=>d(ie).detailDialogData=e)},null,8,["showDialog","formData"])):b("",!0),d(ie).showRateDetailDialog?(u(),c(o,{key:1,title:"费率明细","model-value":d(ie).showRateDetailDialog,"destroy-on-close":!0,"close-on-click-modal":!1,center:"","append-to-body":!0,class:"rate-detail-dialog"},{footer:_(()=>[V("span",ye,[z(a,{onClick:t[2]||(t[2]=e=>d(ie).showRateDetailDialog=!1),type:"danger"},{default:_(()=>t[19]||(t[19]=[f("关闭")])),_:1,__:[19]})])]),default:_(()=>[V("div",he,[V("p",null,[t[14]||(t[14]=V("b",{class:"title"},"订单金额 ",-1)),V("span",null,h(d(ie).rateDetailData.order_amount),1)]),V("p",null,[t[16]||(t[16]=V("b",{class:"title"},"商户费率 ",-1)),V("span",null,[t[15]||(t[15]=f(" => 费率:")),d(ie).rateDetailData.merchant_rates?(u(),v("span",fe,h(d(ie).rateDetailData.merchant_rates)+"% ",1)):b("",!0),f(" -> 手续费 "+h(d(ie).rateDetailData.merchant_fee),1)])]),V("p",null,[t[18]||(t[18]=V("b",{class:"title"},"V8TA ",-1)),V("span",null,[t[17]||(t[17]=f(" => 费率:")),d(ie).rateDetailData.service_rates?(u(),v("span",we,h(d(ie).rateDetailData.service_rates)+"%",1)):b("",!0),f(" -> 手续费 "+h(d(ie).rateDetailData.service_fee),1)])])])]),_:1},8,["model-value"])):b("",!0),d(ie).showRechargeVoucherDialog?(u(),c(o,{key:2,title:"充值凭证","model-value":d(ie).showRechargeVoucherDialog,"destroy-on-close":!0,"close-on-click-modal":!1,center:"","append-to-body":!0,class:"recharge-voucher-dialog",style:{"margin-top":"10vh !important",width:"1200px"}},{footer:_(()=>[V("span",el,[z(a,{onClick:t[4]||(t[4]=e=>d(ie).showRechargeVoucherDialog=!1),type:"danger"},{default:_(()=>t[66]||(t[66]=[f("关闭")])),_:1,__:[66]})])]),default:_(()=>[V("div",De,[z(m,{modelValue:d(ie).activeName,"onUpdate:modelValue":t[3]||(t[3]=e=>d(ie).activeName=e),class:"demo-tabs",onTabClick:ml},{default:_(()=>[z(i,{label:"页面1",name:"first"},{default:_(()=>{var l,a;return[V("div",null,[V("div",xe,[t[22]||(t[22]=V("div",{class:"logo"},[V("a",{title:"系统首页"},"经销商销售专区")],-1)),V("p",ke,[V("a",Te,"您好,经销商-"+h(null==(a=null==(l=e.rows)?void 0:l.shop)?void 0:a.name),1),t[20]||(t[20]=V("span",null,"|",-1)),t[21]||(t[21]=V("a",{href:"http://esales.163.com/faq/index.html"},"退出登录",-1))])]),t[35]||(t[35]=V("div",{class:"gradient-bar"},[V("p",{class:"title"},"充值一卡通销售"),V("p",{class:"title2"},"网易游戏一卡通销售 | 将军令销售 | 账号")],-1)),V("div",Se,[t[34]||(t[34]=V("div",{class:"menu"},[V("ul",null,[V("h2",null,[V("a",null,"系统首页")]),V("h2",null,[V("a",null,"订货管理")]),V("li",null,[V("a",null,"在线提交订单")]),V("li",null,[V("a",null,"订货记录")]),V("h2",null,[V("a",null,"销售管理")]),V("li",null,[V("a",null,"点数转账")]),V("li",null,[V("a",null,"转账记录")]),V("p",{style:{color:"rgb(128, 128, 128)"}},"..........................."),V("li",null,[V("a",null,"直充点数")]),V("li",null,[V("a",null,"直充记录")]),V("p",{style:{color:"rgb(128, 128, 128)"}},"..........................."),V("li",null,[V("a",null,"销售报表")]),V("h2",null,[V("a",null,"售后管理")])])],-1)),V("div",Ve,[t[30]||(t[30]=V("h1",{style:{"font-size":"20px",color:"red","font-weight":"bold","font-family":"黑体"}}," 直充记录明细 ",-1)),t[31]||(t[31]=V("hr",null,null,-1)),t[32]||(t[32]=V("p",{class:"yellow-bold",style:{"font-family":"黑体"}}," 提示:点数充值完成后,请转告玩家于五分钟后查看点数到账情况 ",-1)),t[33]||(t[33]=V("br",null,null,-1)),V("table",null,[V("tbody",null,[V("tr",null,[t[23]||(t[23]=V("td",{style:{"text-align":"right",color:"rgb(128, 128, 128)"}},"充值流水号",-1)),V("td",null,h(e.rows.taobao_id),1)]),V("tr",null,[t[24]||(t[24]=V("td",{style:{"text-align":"right",color:"rgb(128, 128, 128)"}},"充值时间",-1)),V("td",null,h(e.rows.updated_at),1)]),V("tr",null,[t[25]||(t[25]=V("td",{style:{"text-align":"right",color:"rgb(128, 128, 128)"}},"账号",-1)),V("td",null,h(e.rows.recharge_account),1)]),t[26]||(t[26]=V("tr",null,[V("td",{style:{"text-align":"right",color:"rgb(128, 128, 128)"}},"充值用途"),V("td",null,"寄售")],-1)),t[27]||(t[27]=V("tr",null,[V("td",{style:{"text-align":"right",color:"rgb(128, 128, 128)"}},"充值数量"),V("td",null,"1")],-1)),t[28]||(t[28]=V("tr",null,[V("td",{style:{"text-align":"right",color:"rgb(128, 128, 128)"}},"充值方式"),V("td",null,"官网充值")],-1)),t[29]||(t[29]=V("tr",null,[V("td",{style:{"text-align":"right",color:"rgb(128, 128, 128)"}},"状态"),V("td",null,"成功")],-1))])])])])])]}),_:1}),z(i,{label:"页面2",name:"second"},{default:_(()=>[V("div",null,[V("div",Re,[t[42]||(t[42]=V("div",{class:"el-descriptions__header"},[V("div",{class:"el-descriptions__title"},[V("div",null,"商品详情")]),V("div",{class:"el-descriptions__extra"})],-1)),V("div",Ce,[V("table",qe,[V("tbody",null,[V("tr",Ne,[t[36]||(t[36]=V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 商品名称",-1)),V("td",Ue,[V("div",null,h(e.rows.product_name),1)]),t[37]||(t[37]=V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 商品类型",-1)),t[38]||(t[38]=V("td",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},[V("div",null,"官方直充")],-1))])]),V("tbody",null,[V("tr",Le,[t[39]||(t[39]=V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 商品面值",-1)),V("td",Oe,[V("div",null,h(e.rows.order_amount),1)]),t[40]||(t[40]=V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 客服方式",-1)),t[41]||(t[41]=V("td",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},[V("div",null,"在线客服")],-1))])])])])]),V("div",je,[t[55]||(t[55]=V("div",{class:"el-descriptions__header"},[V("div",{class:"el-descriptions__title"},[V("div",null,"订单详情")]),V("div",{class:"el-descriptions__extra"})],-1)),V("div",$e,[V("table",ze,[V("tbody",null,[V("tr",Ae,[t[43]||(t[43]=V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 购买数量",-1)),V("td",Be,[V("div",null,h(e.rows.order_amount)+" x 1个",1)]),t[44]||(t[44]=V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 购买金额",-1)),V("td",Fe,[V("div",null,h(e.rows.order_amount),1)]),t[45]||(t[45]=V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 销售金额",-1)),V("td",Ie,[V("div",null,h(e.rows.order_amount),1)])])]),V("tbody",null,[V("tr",Ee,[t[46]||(t[46]=V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 销售利润",-1)),t[47]||(t[47]=V("td",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},[V("div",null,"***")],-1)),t[48]||(t[48]=V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 购买用户",-1)),t[49]||(t[49]=V("td",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},[V("div",null,"主账号")],-1)),t[50]||(t[50]=V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," IP地址",-1)),V("td",He,[V("div",null,"数据中心("+h(e.rows.user_ip)+")",1)])])]),V("tbody",null,[V("tr",Je,[t[51]||(t[51]=V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 购买时间",-1)),V("td",Ke,[V("div",null,h(e.rows.created_at),1)]),t[52]||(t[52]=V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 订单状态",-1)),t[53]||(t[53]=V("td",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},[V("span",{class:"el-tag el-tag--success el-tag--small el-tag--light"},"成功")],-1)),t[54]||(t[54]=V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 订单号",-1)),V("td",Pe,[V("div",null,h(e.rows.taobao_id),1)])])])])])]),V("div",We,[t[64]||(t[64]=V("div",{class:"el-descriptions__header"},[V("div",{class:"el-descriptions__title"},[V("div",null,"购买内容")]),V("div",{class:"el-descriptions__extra"})],-1)),V("div",Ge,[V("table",Qe,[V("tbody",null,[V("tr",Xe,[t[56]||(t[56]=V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 充值用户",-1)),V("td",Ye,[V("div",null,h(e.rows.recharge_account),1)]),t[57]||(t[57]=V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 游戏名称",-1)),t[58]||(t[58]=V("td",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},[V("div",null,"点券")],-1))])]),t[62]||(t[62]=V("tbody",null,[V("tr",{class:"el-descriptions-row"},[V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 账号类型"),V("td",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},[V("div",null,"盛趣通行证")]),V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 计费方式"),V("td",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},[V("div",null,"点券")])])],-1)),V("tbody",null,[V("tr",Ze,[t[59]||(t[59]=V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 充值状态",-1)),t[60]||(t[60]=V("td",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},[V("span",{class:"el-tag el-tag--success el-tag--small el-tag--light"},"充值成功")],-1)),t[61]||(t[61]=V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 充值时间",-1)),V("td",Me,[V("div",null,h(e.rows.updated_at),1)])])]),t[63]||(t[63]=V("tbody",null,[V("tr",{class:"el-descriptions-row"},[V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 返回信息"),V("td",{colspan:"3",class:"el-descriptions-item__cell el-descriptions-item__content"},[V("div",null,"交易成功")])])],-1))])])]),t[65]||(t[65]=V("div",{class:"el-descriptions"},[V("div",{class:"el-descriptions__header"},[V("div",{class:"el-descriptions__title"},[V("div",null,"订单管理")]),V("div",{class:"el-descriptions__extra"})]),V("div",{class:"el-descriptions__body"},[V("table",{class:"el-descriptions__table is-bordered el-descriptions--mini"},[V("tbody",null,[V("tr",{class:"el-descriptions-row"},[V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 打印订单"),V("td",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},[V("button",{type:"button",class:"el-button el-button--info el-button--small"},[V("span",null,"打印订单")])])])]),V("tbody",null,[V("tr",{class:"el-descriptions-row"},[V("th",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__label is-bordered-label"}," 订单投诉"),V("td",{colspan:"1",class:"el-descriptions-item__cell el-descriptions-item__content"},[V("button",{type:"button",class:"el-button el-button--info el-button--small"},[V("span",null,"订单投诉")])])])])])])],-1))])]),_:1}),z(i,{label:"页面3",name:"third"},{default:_(()=>[z(p,{model:d(ne).values,"label-width":"100px","label-position":"right"},{default:_(()=>{var e;return[(u(!0),v(H,null,J(null==(e=d(ne))?void 0:e.fields,(e,l)=>(u(),c(n,{key:l,label:e.label,prop:e.prop},{default:_(()=>[z(r,{modelValue:d(ne).values[e.prop],"onUpdate:modelValue":l=>d(ne).values[e.prop]=l,disabled:e.disabled,placeholder:e.placeholder,clearable:""},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])]),_:2},1032,["label","prop"]))),128))]}),_:1},8,["model"])]),_:1}),z(i,{label:"页面4",name:"fourth"},{default:_(()=>[z(p,{model:d(de).values,"label-width":"100px","label-position":"right"},{default:_(()=>{var e;return[(u(!0),v(H,null,J(null==(e=d(de))?void 0:e.fields,(e,l)=>(u(),c(n,{key:l,label:e.label,prop:e.prop},{default:_(()=>[z(r,{modelValue:d(de).values[e.prop],"onUpdate:modelValue":l=>d(de).values[e.prop]=l,disabled:e.disabled,placeholder:e.placeholder,clearable:""},null,8,["modelValue","onUpdate:modelValue","disabled","placeholder"])]),_:2},1032,["label","prop"]))),128))]}),_:1},8,["model"])]),_:1})]),_:1},8,["modelValue"])])]),_:1},8,["model-value"])):b("",!0),d(ie).showLogDetailDialog?(u(),c(o,{key:3,title:"订单日志","model-value":d(ie).showLogDetailDialog,"destroy-on-close":!0,"close-on-click-modal":!1,center:"","append-to-body":!0,class:"log-detail-dialog",style:{"margin-top":"10vh",width:"1000px"}},{footer:_(()=>[V("span",ul,[z(a,{onClick:t[5]||(t[5]=e=>d(ie).showLogDetailDialog=!1),type:"danger"},{default:_(()=>t[67]||(t[67]=[f("关闭")])),_:1,__:[67]})])]),default:_(()=>[V("div",ll,[z(x,null,{default:_(()=>{var l;return[(u(!0),v(H,null,J(Array.isArray(null==(l=e.rows)?void 0:l.orderlog)?e.rows.orderlog:[],(e,l)=>(u(),c(D,{key:l,timestamp:null==e?void 0:e.created_at,placement:"top"},{default:_(()=>[z(y,null,{default:_(()=>[z(w,{type:"export",columns:d(re),data:[e],showSelection:!1,showRightRefreshSlot:!1,paginationSlot:!1,tableSize:"small"},{status_slot:_(({row:e})=>[f(h(ce(e.type)),1)]),request_url_slot:_(({row:e})=>[z(g,{width:200,"popper-style":"box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; padding: 20px;"},{reference:_(()=>[V("div",tl,h(_e(null==e?void 0:e.request_url,20)),1)]),default:_(()=>[V("div",al,h(e.request_url),1)]),_:2},1024)]),remark_slot:_(({row:e})=>[z(g,{width:200,"popper-style":"box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; padding: 20px;"},{reference:_(()=>[V("div",sl,h(_e(null==e?void 0:e.remark,10)),1)]),default:_(()=>[V("div",ol,h(e.remark),1)]),_:2},1024)]),request_param_slot:_(({row:e})=>[z(g,{width:400,"popper-style":"box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; padding: 20px;"},{reference:_(()=>[e.request_param?(u(),v("div",il,"查看")):b("",!0)]),default:_(()=>[V("div",rl,[V("pre",nl,h(ue(e.request_param)),1)])]),_:2},1024)]),response_param_slot:_(({row:e})=>[z(g,{width:400,"popper-style":"box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; padding: 20px;"},{reference:_(()=>[e.response_param?(u(),v("div",dl,"查看")):b("",!0)]),default:_(()=>[V("div",pl,[V("pre",cl,h(ue(e.response_param)),1)])]),_:2},1024)]),_:2},1032,["columns","data"])]),_:2},1024)]),_:2},1032,["timestamp"]))),128))]}),_:1})])]),_:1},8,["model-value"])):b("",!0),z(s,{showDialog:d(ie).showTransferDialog,"onUpdate:showDialog":t[6]||(t[6]=e=>d(ie).showTransferDialog=e),formData:d(ie).transferFrom,"onUpdate:formData":t[7]||(t[7]=e=>d(ie).transferFrom=e),ref_key:"transferFormRef",ref:fl,labelWidth:"120px"},{submit:_(()=>[W((u(),c(a,{type:"primary",loading:d(ie).btnLoading},{default:_(()=>t[68]||(t[68]=[f("确定")])),_:1,__:[68]},8,["loading"])),[[k,d(wl)]])]),_:1},8,["showDialog","formData"])])}}},[["__scopeId","data-v-d94a6a56"]]);export{_l as default};