2025-07-30 19:02:49 +08:00
|
|
|
import{b2 as e,bs as l,ah as t,bS as a,bm as i,cc as s,aW as n,c as d,e as o,O as r,w as c,l as u,P as v,E as m,t as _,m as p,am as b,g as f,n as g,S as h,bN as k,bW as y,a8 as I,a9 as w,bX as L,ao as C,a_ as T,bQ as $,b0 as D,aO as F}from"./index.Cdx8saMp.js";import{E as x}from"./el-drawer.Dhptnn6w.js";import{E as V}from"./el-popover.BRYzu04k.js";import{_ as j}from"./index.DYqWnMij.js";import{g as E,c as S,r as U,a as q,b as O,f as W,d as z}from"./order.BooznZPw.js";import"./dropdown.Bd9I_LZi.js";/* empty css */import"./el-col.D7yv1GuC.js";const B={key:0},G={key:0},N={key:0},P={class:"cell-btn cl-3"},J={class:"cell-btn cl-3"},K={key:0,class:"cell-btn cl-3"},M={class:"green"},Q={class:"check"},R=["src"],X={class:"operate"},Y=["onClick"],A=["onClick"],H=["onClick"],Z={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"},Ce={class:"item"},Te={class:"item"},$e={class:"btn"},De={class:"red"},Fe={class:"item"},xe={class:"btn"},Ve={key:0,class:"red"},je={class:"select"},Ee={class:"dialog-footer"},Se=e({__name:"pay-order-workinig",setup(e){const{copy:Se}=l({legacy:!0}),Ue=e=>{Se(e).then(()=>{F.success("复制成功")})},qe="http://149.30.255.199/";function Oe(e){return $(1e3*e)}const We=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"),Ge=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:We},{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:Oe},{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:[]}),Ne=()=>{Ge.searchFields.forEach(e=>{"datetimerange"==e.dateType&&"success_time"!=e.prop?e.value=a():e.value=""}),Pe()};i(()=>{P
|