2025-09-28 16:12:20 +08:00
|
|
|
import{b2 as e,bt as l,ag as t,bT as a,bm as i,cd as s,aZ as n,c as d,e as o,N as r,w as c,l as u,O as v,E as m,t as _,m as p,al as b,g as f,n as g,R as h,bO as k,bX as y,a7 as I,a8 as w,bY as L,an as T,aX as C,bR as $,a_ as D,aO as F}from"./index.1759047074685BJRc_drO.js";import{E as x}from"./el-drawer.1759047074685Ba-Mo7bb.js";import{E as j}from"./el-popover.1759047074685Dna5V_Dp.js";import{_ as V}from"./index.1759047074685CI2OyV6t.js";import{g as E,c as U,r as q,a as O,b as S,f as R,d as z}from"./order.1759047074685Dnf1BMCA.js";import"./dropdown.1759047074685ByRTQidV.js";/* empty css */import"./el-col.1759047074685DbDBHzwv.js";const B={key:0},N={key:0},X={key:0},Z={class:"cell-btn cl-3"},G={class:"cell-btn cl-3"},P={key:0,class:"cell-btn cl-3"},W={class:"green"},Y={class:"check"},A=["src"],H={class:"operate"},J=["onClick"],K=["onClick"],M=["onClick"],Q={class:"tab-content","element-loading-background":"rgba(122, 122, 122, 0.8)"},ee={class:"item"},le={class:"item"},te={class:"item"},ae={class:"item"},ie={class:"item"},se={class:"btn"},ne={key:0,class:"red"},de={class:"item"},oe={class:"item"},re={class:"item"},ce={class:"item"},ue={class:"item"},ve={class:"item"},me={class:"item"},_e={class:"btn"},pe={key:0,class:"green"},be={class:"item"},fe={class:"btn"},ge={class:"item"},he={class:"item"},ke={class:"item"},ye={class:"item"},Ie={class:"item"},we={class:"tab-content"},Le={class:"item"},Te={class:"item"},Ce={class:"item"},$e={class:"btn"},De={class:"red"},Fe={class:"item"},xe={class:"btn"},je={key:0,class:"red"},Ve={class:"select"},Ee={class:"dialog-footer"},Ue=e({__name:"pay-order-workinig",setup(e){const{copy:Ue}=l({legacy:!0}),qe=e=>{Ue(e).then(()=>{F.success("复制成功")})},Oe="/api";function Se(e){return $(1e3*e)}const Re=e=>e?`${Number(e).toFixed(2)}`:"0.00",ze=(e,l)=>{let t="";return e.forEach(e=>{e.value==l&&(t=e.label)}),t},Be=e=>e.startsWith("http"),Ne=t({columns:[{prop:"id",label:"编号",width:60,align:"center"},{prop:"mer_order_sn",label:"商户订单号",slot:"mer_order_sn",width:262},{prop:"order_sn",label:"系统订单号",width:220,slot:"order_sn"},{prop:"mer_name",label:"商户账号",width:100,align:"center",slot:"mer_name"},{prop:"amount",label:"订单金额",width:120,align:"center",formatter:Re},{prop:"channel_name",label:"通道",width:100,align:"center"},{prop:"sk_payee",label:"收款人姓名",width:120,align:"center"},{prop:"sk_account",label:"收款账号",width:120,align:"center",slot:"sk_account"},{prop:"sk_bank",label:"收款银行",width:120,align:"center"},{prop:"status",label:"代付状态",width:120,align:"center",slot:"status"},{prop:"create_time",label:"创建时间",width:148,align:"center",fixed:"right",formatter:Se},{prop:"operate",label:"操作",width:280,slot:"operate",align:"center",fixed:"right"}],tableData:[],searchFields:[{label:"系统订单号",type:"input",prop:"order_sn",value:""},{prop:"mer_order_sn",label:"商户订单号",type:"input",value:""},{prop:"mer_id",label:"商户号",type:"input",value:""},{prop:"mer_name",label:"商户账号",type:"input",value:""},{prop:"ms_id",label:"代理ID",type:"input",value:""},{prop:"ms_name",label:"代理账号",type:"input",value:""},{prop:"sk_payee",label:"收款人姓名",type:"input",value:""},{prop:"sk_account",label:"收款账号",type:"input",value:""},{prop:"sk_bank",label:"收款银行",type:"input",value:""},{prop:"create_time",label:"创建时间",type:"date",dateType:"datetimerange",value:a()}],total:0,page:1,limit:10,amount:0,loading:!1,channelList:[],orderStatusList:[],orderCallbackStatusList:[{label:"未回调",value:1},{label:"回调成功",value:2},{label:"回调失败",value:3}],returnTypeList:[{label:"系统回调",value:1},{label:"平台补单",value:2},{label:"代理回调",value:3},{label:"上游回调",value:4},{label:"平台确认",value:5},{label:"商户确认",value:6}],drawer:!1,detailInfo:{},showDialog:!1,selectInfo:{},btnLoading:!1,detailLoading:!0,srcList:[],dialogTitle:"审核订单",dialogType:1,ms_id:null,msList:[]}),Xe=()=>{Ne.searchFields.forEach(e=>{"date
|