sf_web_dist/js/pay-order-workinig.CQ6jbe4U.js

2 lines
13 KiB
JavaScript
Raw Normal View History

2025-08-06 17:52:35 +08:00
import{b2 as e,bs as l,ag as a,bS as t,bm as i,aZ as n,c as s,e as d,N as o,w as r,l as u,O as c,E as v,t as p,g as m,n as _,al as f,R as b,bN as y,bQ as h,aO as g}from"./index.CcfFPdCK.js";import{E as I}from"./el-drawer.BmE5Ccmg.js";import{E as w}from"./el-popover.Ub9i4nnY.js";import{_ as k}from"./index.CYCFCxoG.js";import{b as $,f as P,i as C,e as L}from"./order.DCnEBD2j.js";import"./dropdown.cVyxz3Zi.js";/* empty css */import"./el-col.eZKfrsN2.js";const F={key:0},j={key:0},S={key:0},O={class:"cell-btn cl-3"},T={class:"cell-btn cl-3"},x={class:"check"},D=["src"],E={class:"operate"},N=["onClick"],z={class:"tab-content","element-loading-background":"rgba(122, 122, 122, 0.8)"},U={class:"item"},V={class:"item"},R={class:"item"},q={class:"item"},G={class:"item"},J={class:"btn"},M={key:0,class:"red"},Q={class:"item"},Y={key:0},Z={class:"item"},A={class:"item"},B={class:"btn"},H={class:"green"},K={class:"item"},W={class:"btn"},X={class:"item"},ee={class:"btn"},le={class:"item"},ae={class:"btn"},te={class:"item"},ie={class:"blue"},ne={class:"item"},se={key:0,class:"red"},de={key:0,class:"item"},oe={class:"blue"},re={key:1,class:"item"},ue={class:"blue"},ce={class:"item"},ve={key:0,class:"blue"},pe={class:"item"},me={class:"item"},_e={class:"item"},fe={class:"item"},be={class:"item"},ye={class:"item"},he={class:"item"},ge={class:"item"},Ie=e({__name:"pay-order-workinig",setup(e){const{copy:Ie}=l({legacy:!0}),we=e=>{Ie(e).then(()=>{g.success("复制成功")})};function ke(e){return h(1e3*e)}const $e=e=>`${Number(e).toFixed(2)}`,Pe=(e,l)=>{let a="";return e.forEach(e=>{e.value==l&&(a=e.label)}),a},Ce=a({columns:[{prop:"id",label:"编号",width:60,align:"center"},{prop:"order_sn",label:"系统订单号",width:160,slot:"order_sn"},{prop:"mer_order_sn",label:"商户订单号",slot:"mer_order_sn",width:160},{prop:"mer_name",label:"商户账号",width:120,align:"center",slot:"mer_name"},{prop:"ms_name",label:"代理账号",width:120,align:"center",slot:"ms_name"},{prop:"pay_channel_id",label:"通道",width:120,align:"center",slot:"pay_channel_id"},{prop:"payment_info",label:"付款信息",width:180,align:"center"},{prop:"pass",label:"验证码",width:120,align:"center"},{prop:"sk_info",label:"收款信息",width:180,align:"center"},{prop:"amount",label:"订单金额",width:100,align:"center",formatter:$e},{prop:"real_pay_amount",label:"实到金额",width:100,align:"center",formatter:$e},{prop:"rate",label:"分佣费率",width:100,align:"center"},{prop:"ms_profit",label:"代理分佣",width:100,align:"center",formatter:$e},{prop:"return_status",label:"通知状态",width:120,align:"center",slot:"return_status"},{prop:"ip",label:"访问IP",width:160,align:"center"},{prop:"create_time",label:"创建时间",width:180,align:"center",formatter:ke},{prop:"viewing_time",label:"查看时间",width:180,align:"center",formatter:ke},{prop:"operate",label:"操作",width:80,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:"real_pay_amount",label:"实付金额",type:"input",value:""},{prop:"pay_channel_id",label:"通道",type:"select",value:"",options:[]},{prop:"pass",label:"验证码",type:"input",value:""},{prop:"payee_info_name",label:"收款码名称",type:"input",value:""},{prop:"return_status",label:"通知回调状态",type:"select",value:"",options:[]},{prop:"ip",label:"访问IP",type:"input",value:""},{prop:"create_time",label:"创建时间",type:"date",dateType:"datetimerange",value:t()}],total:0,page:1,limit:10,amount:0,loading:!1,channelList:[],orderStatusList:[],orderCallbackStatusList:[],drawer:!1,detailInfo:{},detailLoading:!1}),Le=()=>{Ce.searchFields.forEach(e=>{"datetimerange"==e.dateType?e.value=t():e.value=""}),Se()};